Search:

Type: Posts; User: hiphop4reel

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,535

    sorry, forgot to put what my .txt file has: 3...

    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...
  2. Replies
    6
    Views
    1,535

    fscanf not working

    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...
  3. the code you want me to use instead of !feof(fin)...

    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.
  4. #include #include struct...

    #include <stdio.h>
    #include <string.h>

    struct pokeyman
    {
    char name[13];
    char type[9];
    char pokey_class[9];
    double weight;
    };
  5. fscanf

    Thanks.

    The program keeps crashing when the fscanf tries importing the strings from my PokeyDeck.txt file. Any one see why?
  6. sturct/pointer problem, and fscanf problem

    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...
Results 1 to 6 of 6