Forum: C May 30th, 2009 |
| Replies: 2 Views: 592 Here you are allocating memory
char* str1 =(char *) malloc(80*sizeof(char));
but this memory has not been initialized to zero by malloc
The following may or may not fail because the... |
Forum: C May 26th, 2009 |
| Replies: 5 Views: 1,392 I am confused. First you say you want to write the program. Then you say you want somebody to send the code for such a program to you. |
Forum: C May 26th, 2009 |
| Replies: 5 Views: 1,392 Here is a java applet. http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/csmacd/csmacd.html |
Forum: C May 20th, 2009 |
| Replies: 12 Views: 546 The problem is with the line
path = "ragHu";
It should be replaced with the following
strcpy(path, "ragHu"); |
Forum: C Jan 2nd, 2009 |
| Replies: 1 Views: 400 You can use the strip utility to remove all the symbols from your object file.
Alternatively, declare sayHello() to be a static function. |
Forum: C Dec 17th, 2008 |
| Replies: 3 Views: 512 What type of programs are you talking about? Give an example of what you want to do. |
Forum: C Nov 21st, 2008 |
| Replies: 4 Views: 1,743 Sounds like homework. Show us what you have done so far and prehaps somebody here might help you. |