sorry, forgot to put what my .txt file has:
3
1 8888888888 2222222222
2 9999999999 10000000000
2 10000000000 9999999999
I was basically just trying to make sure i remembered correctly how to...
Type: Posts; User: hiphop4reel
sorry, forgot to put what my .txt file has:
3
1 8888888888 2222222222
2 9999999999 10000000000
2 10000000000 9999999999
I was basically just trying to make sure i remembered correctly how to...
trying to simply scan a number from a text file "bigint.txt" and print it out to screen, but program keeps crashing.
#include <stdio.h>
int main(void)
{
//n will represent the number...
the code you want me to use instead of !feof(fin) is beyond the scope of what I have learned in my programming class. Hope you understand.
#include <stdio.h>
#include <string.h>
struct pokeyman
{
char name[13];
char type[9];
char pokey_class[9];
double weight;
};
Thanks.
The program keeps crashing when the fscanf tries importing the strings from my PokeyDeck.txt file. Any one see why?
I'm trying to create a database of sorts that holds the deck number, name, type, etc. into a struct array. The user can enter more pokeymen, or delete them, and when the user exits, the program...