![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why not a segmentation fault?? | lagigliaivan | High Level Programming | 22 | 05-21-2008 11:07 AM |
| segmentation fault | rockgal | High Level Programming | 8 | 12-05-2006 12:16 PM |
| Segmentation Fault | compbug | UNIX for Dummies Questions & Answers | 3 | 04-21-2006 10:43 AM |
| Segmentation fault | jshaulis | AIX | 1 | 06-01-2004 04:16 PM |
| segmentation fault | omran | High Level Programming | 2 | 08-01-2003 08:19 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
segmentation fault
sometimes for this code i get a segmentation fault for codes llike this
: int main{ int * a= 0; int b; a = (int*)malloc(sizeof(int)); ///some code using these variable but no freeing of a if(a){ free(a); a = 0; } return 0; } |
|
||||
|
thank you
thanks buddy your a gr8 help but will trouble you later for more queries
.for now have this one.which is the command which asks the system to wait for some time(say millisec)before printing some statementeg something like this waiting . . . . . code is int i; for(i =0;i < 10;i++){ printf(" ."); //command i'm loooking which waits for(say 300 ms) (works in linux not windows) } printf("\n"); plz reply thanx |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|