Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: hopalongcassidy ; Forum: C and child forums
Forum: C Oct 20th, 2007
Replies: 5
Views: 3,077
Posted By hopalongcassidy
Forum: C Oct 20th, 2007
Replies: 5
Views: 1,064
Posted By hopalongcassidy
You and me both. The second while loop is the hard way. It's much easier to do t[i]=0; and then just do a strcmp(s,t); after the first while loop!

Hoppy
Forum: C Oct 20th, 2007
Replies: 7
Views: 870
Posted By hopalongcassidy
That's probably because checkprime has unbalanced braces ({}).
Forum: C Oct 20th, 2007
Replies: 5
Views: 3,077
Posted By hopalongcassidy
I'll describe the algorithm in words. It's your job to write the code. You need a string constant that is 257 characters in length. It's value is a character string containing all of the ASCII...
Forum: C Oct 20th, 2007
Replies: 4
Views: 861
Posted By hopalongcassidy
You're skipping a bunch of characters. For example, if you encounter a "/" and the next character is neither a "/" nor an "*", you do not output it. If you encounter a "/*" and then subsequently...
Forum: C Oct 15th, 2007
Replies: 10
Views: 1,353
Posted By hopalongcassidy
On line 18. num2 is the upper limit of the loop. It's being modified within the loop. This is bound to either give the wrong result (if you're lucky) or cause an infinite loop, depending on what...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC