Well, thanks for the input... I'll try to remember it for next time. I just opted for global variables in my situation to make things simple. I'll try what you said on my code to see if that fixes...
Type: Posts; User: FYX193
Well, thanks for the input... I'll try to remember it for next time. I just opted for global variables in my situation to make things simple. I'll try what you said on my code to see if that fixes...
Here's an update to my code with a few things fixed... but it still gives me a Memory Execution Error.
#include <stdio.h>
#include <string.h>
#define MAX 10
#define MAXN 15
int i;
I am familiar with breaking code down into smaller parts, Every thing else will compile and run fine except the " inputs" function, and I believe it has to do with what HAMMER said about allocating...
I'm well i've done what you've explained, but I'm not quite sure what you mean by:
>>char *name[MAXN][MAX]
This is a 2-d array of pointers, no memory has been allocated for you to store actual...
How would you pass a 2d string array "Pointer" which contains a list of names to a function? What would be the syntax to Define the Array in the Main module/program, and then to Declare and to Call...
Ok, Now I've compiled it and it says 0 errors, 0 warnings; however, when I Execute the Program it gives me an Error Window displaying the following...
____________________________________________...
Well I think I've solved it on my own... Trial and Error method. :rolleyes:
Here's my final code, which compiles with "Zero" errors & "Zero" warnings ... (I had to install VS6.0 & SP5 on my work...
I'm not sure, but is this the problem (I'm not near a computer that has a C programming compiler):
Code was modified and updated below...
I'm having trouble with setting up the Functions for my program. I have created the program without the use of Functions and it works perfect. However, when I added the functions it will either...