Forum: C Apr 21st, 2009 |
| Replies: 6 Views: 707 Not surprisingly, but your program is doing what you told it to:
// Wait here for the user to enter a message
gets (msg);
while (msg != "q")
{
/* Write out message. */
... |
Forum: C Jan 22nd, 2009 |
| Replies: 11 Views: 737 Please don't answer each post since your last with the same string, we all have to read through all of them.
I can't imagine any phone system where you can pre-order sequential 7 digit phone... |
Forum: C Jan 10th, 2009 |
| Replies: 2 Views: 366 So 'list' is an index into the virtual heap, and each entry in the virtual heap is a structure that has an elem (the value at that node) and a next (the index in the virtual heap for the entry with... |
Forum: C Jan 9th, 2009 |
| Replies: 3 Views: 484 We are not, nor have we ever been a 'here is your completed assignment because you asked for it' source of information. Our basic premise is to help you fill the 'gaps' in your knowledge. We help you... |
Forum: C Dec 28th, 2008 |
| Replies: 9 Views: 529 Not to be picky, but #define NUMBERS is a pre-processor directive and doesn't get scope.
(But it should have been outside the function anyway.) |
Forum: C Dec 19th, 2008 |
| Replies: 12 Views: 854 None of the characters ever "HAVE" to match anything.
The way it works is something like this:
Lets say we have a char * date that points to "01/12/2009" which is in memory as... |