Search:

Type: Posts; User: Smoot

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,530

    problem with fgets

    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...
  2. Replies
    3
    Views
    3,975

    thanks a lot man, that works. can you explain...

    thanks a lot man, that works.

    can you explain what it is doing though?
  3. Replies
    4
    Views
    1,658

    try this INPUT (&x, &y, &z, &v);

    try this


    INPUT (&x, &y, &z, &v);
  4. Replies
    3
    Views
    3,975

    C Filling and Printing a 2-d array

    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,...
  5. Replies
    7
    Views
    3,173

    A guy at work explained it to me. All I had to...

    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...
  6. Replies
    7
    Views
    3,173

    This is for a class, so our handout specifically...

    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...
  7. Replies
    7
    Views
    3,173

    using a Void Function?

    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...
Results 1 to 7 of 7