Search:

Type: Posts; User: 8Aus9

Search: Search took 0.00 seconds.

  1. Thread: Reading File

    by 8Aus9
    Replies
    3
    Views
    1,024

    Okay, so my code now looks like typedef...

    Okay, so my code now looks like



    typedef struct{
    char text[50];
    } line;


    int main(int argc, char *argv[]){
  2. Thread: Reading File

    by 8Aus9
    Replies
    3
    Views
    1,024

    Reading File

    I am trying to read a file and store each line in an array, but I am having a bit of trouble doing it.

    This is my attempt, I know there must be a much simpler way to do this but after a few hours...
  3. Thread: Typedef Problem

    by 8Aus9
    Replies
    3
    Views
    937

    Typedef Problem

    I have created my own structure using typedef but when I go to store values in a created one, I am going incompatible type errors



    typedef struct{
    FILE *fp;
    char name[50];
    char line[100];...
Results 1 to 3 of 3