yeah, now I feel like an idiot....
Type: Posts; User: Ice
yeah, now I feel like an idiot....
I did this and it is now giving me yet another stack dump. Here's the updated code. What am I doing wrong?
1 //Structures
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include <string.h>
...
Every time I try to compile this, it says there's an invalid pointer. This is exactly the way my prf said to do it. Any ideas?
1 //Structures
2 #include <stdio.h>
3 #include <stdlib.h>
4...
I keep getting a stack error when I try to run this program. Could comeone figure out wy, because I'm stumped. Here's the code
1 //Structures
2 #include <stdio.h>
3 #include <stdlib.h>
4...
I wasn't asking for someone to do it for me, I just wanted some suggestions. Here's what I have so far:
#include <stdio.h>
#define SIZE 1024
int main()
{
char name[SIZE];
I need to take anything that is given at a prompt, text or numbers, and put it in a string. Then the program returns whatever was typed in exactly backwards. Example Hello World would come out dlroW...