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 Westi 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. Eddy123

    Help writing a program that reads from a file & converts it to binary.

    Hello all, this is what I have so far: Using the 01 801 02 901 .. ... etc etc as my readfile #include <stdio.h> int main () { FILE *fp, *fp1; int filevar; int linenumber = 0; fp = fopen("readfile.txt","r"); fp1 = fopen("outfile.txt","w"); while(EOF != fscanf(fp,"%d",&filevar)) {...
  2. Eddy123

    Help writing a program that reads from a file & converts it to binary.

    Thanks for the link! When I get home later today I will post what I have. As it is right now I am posting on every c board I can find to see if I get a response, heh. I have absolutely no idea how to convert things into binary, and am just starting to program in C… So this program seems to be...
  3. Eddy123

    Help writing a program that reads from a file & converts it to binary.

    Hello folks. I am trying to teach myself C and am having little luck so far. I can follow the books examples fairly well but when it comes time to write my own program, I get stuck. The book has me write a little self-test program but offers no help whatsoever. The program is supposed to read...

Part and Inventory Search

Back
Top