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))
{...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.