Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. oilerscrazy

    client server communication

    I need to request a service from a server. I have written the program for both. The client sends a text request and the server tokenizez(sp??) the string into 3 tokens. I need to use the tokens now in a switch statement (or suggest some other way, want to avoid if/else) The problem is that I...
  2. oilerscrazy

    what equation would i use to write data to a wav file?

    I have already declared the structure but i am not sure how to put in the data.
  3. oilerscrazy

    Reading an entire file into an array with C

    FILE cfPtr; FileData[100][256]; int rows = 0; if ((cfPtr = fopen("a:\file.txt", "r")) == NULL) puts("ERROR"); while (!feof(cfPtr)) { fgets(FileData[rows], 256, cfPtr); rows++; } plus more code but this should get the data into the array
  4. oilerscrazy

    Reading an entire file into an array with C

    FILE cfPtr; FileData[100][256]; int rows = 0; if ((cfPtr = fopen("a:\file.txt", "r")) == NULL) puts("ERROR"); while (!feof(cfPtr)) { fgets(FileData[rows], 256, cfPtr); rows++; } plus more code but this should get the data into the array
  5. oilerscrazy

    need help reading text into a 2D Array

    I am stuck, I need to read text from a txt file line by line into a 2d array. I need suggestions

Part and Inventory Search

Back
Top