Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #17.3K
Ranked #4K
~2K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

8 Posted Topics

Member Avatar for arlir

Lines 8-10: Something is wrong before and after "mainmenu();". Go figure. :p [CODE] :: scanf("%c",&invite); if(invite=='c') mainmenu(); else { :: [/CODE]

Member Avatar for muktigeek
0
259
Member Avatar for vgd

Since you are in this forums, you are obviously studying C. And studying C requires that you should have a compiler to crunch your code. Why don't you run the code and see the result/output for yourself instead of asking? As for the last question, saying [CODE] p = list; …

Member Avatar for Ancient Dragon
0
134
Member Avatar for Improzigw

A quick check on your code shows extra '}' between lines 196-197. Hope that fixes it.

Member Avatar for yan0
0
301
Member Avatar for jamesbondbest

Not sure what you wanted to do at this point, but you can't do this in C (it can compile but I'll give you segmentation faults just as you reported): [CODE] char *ptr[count+1]; [/CODE] You must decide explicitly what size you wanted ptr to have. If you don't know for …

Member Avatar for Ancient Dragon
0
101
Member Avatar for leftovas17

There is indeed a problem with your parseItem() function. Check the difference: (I minimized the edits so as to remain recognizable to you) [CODE] char* parseItem (char* string) { int i, newCount = 0; /* FYI: Unrelated to your question: you need to free this up somewhere too */ char* …

Member Avatar for leftovas17
0
526
Member Avatar for sirpampos

Based on the replies above, I think they already told you whether the cat can escape or not. Uhmmm, is that the actual code you just posted? I'm pretty sure that will not compile.

Member Avatar for sirpampos
0
152
Member Avatar for virtue

I dunno about you but I tried to run your code (with minor modifications on your "include" part) and it seems to be working fine. I tried it on cygwin though (I'm too lazy to boot my linux box). Here's the output of your code for your reference: [CODE] $ …

Member Avatar for sourabh17
0
161
Member Avatar for SwethaSuresh
Member Avatar for yan0
0
109

The End.