a better code would be
typedef struct{
char country_name[50];
int gold;
int silver;
int bronze;
} SPORTS;
Type: Posts; User: aaronljx
a better code would be
typedef struct{
char country_name[50];
int gold;
int silver;
int bronze;
} SPORTS;
Then any alternative?
Ahh thanks for the advice.. I also thought about writing my own code to format the string, I am thinking that probably after loading the big chunk of string into the memory, I'll create another...
Hey all, recently I've played around with pointers and some win32 API and I've came up with this portion of code, to basically load a set of string from a file on a secondary storage, store it in the...
int main (void)
{
int a, b, c, d;
int n;
int temp;
do
{
printf("Enter a five-digit number < -1 to end >: ");
scanf(" %d", &n); // if you are going to ask the user for input over...