Having problems reading info from a data file into an array of structures. The first time through, it gets the origin state and destin city correct, but all the other information is wrong. The...
Type: Posts; User: Smoot
Having problems reading info from a data file into an array of structures. The first time through, it gets the origin state and destin city correct, but all the other information is wrong. The...
thanks a lot man, that works.
can you explain what it is doing though?
try this
INPUT (&x, &y, &z, &v);
ok, I have a data file. inside the data file is an ascii picture that is 20 rows by 50 columns.
I need to open that file and read it into, another array 22x52 (added one line each for the top,...
A guy at work explained it to me. All I had to do was use this: drawRect (width, character); as the function call, and eliminate the whole printf line.
Thanks, quzah, now that I know how to do...
This is for a class, so our handout specifically says to use void....
void drawRect (int width, int height, char character)
If this isnt going to work, what are some examples of why you would...
Im new to C programming, so bear with me. I've created a couple of functions, but have never used one of the void type.
Eventually I will have it draw a rectangle that displays 1 character across...