Search:

Type: Posts; User: Oklaskull

Search: Search took 0.00 seconds.

  1. Thread: Array help

    by Oklaskull
    Replies
    19
    Views
    2,933

    yes you are correct. the assignment is to read...

    yes you are correct. the assignment is to read enable and on values for a set of 5 heaters, another set of 5 heaters, then a set of 3 heaters and another set of 3 heaters. Then temperature readings...
  2. Thread: Array help

    by Oklaskull
    Replies
    19
    Views
    2,933

    Here is the output as requested (that was pretty...

    Here is the output as requested (that was pretty nifty) I should also state at this point that I am only posting part of my code here, and there are more values to be read in in a similar fashion to...
  3. Thread: Array help

    by Oklaskull
    Replies
    19
    Views
    2,933

    I am under the impression that "OFF" and...

    I am under the impression that "OFF" and "DISABLED" are printed out through the use the char arrays that I declared. Is that not the case? For example, depending on the value my program reads from...
  4. Thread: Array help

    by Oklaskull
    Replies
    19
    Views
    2,933

    I have an input file to use when I run the...

    I have an input file to use when I run the program. To run the program with the input file I type:

    telem.x < ~phil4985/cs1313student/soonerglitch_telem.dat

    telem.x is the name of my program,...
  5. Thread: Array help

    by Oklaskull
    Replies
    19
    Views
    2,933

    Thank you for your help, but my problem still...

    Thank you for your help, but my problem still hasn't been solved. With those corrections the program compiles and runs, but it doesn't run properly. My program now looks like this:



    #include...
  6. Thread: Array help

    by Oklaskull
    Replies
    19
    Views
    2,933

    Honestly, I don't know what the file looks like. ...

    Honestly, I don't know what the file looks like. The instructor for the class just told us what order the values were read in, and that the scanf statements should take two values at a time.
  7. Thread: Array help

    by Oklaskull
    Replies
    19
    Views
    2,933

    Yeah, thanks, but I guess I should have stated...

    Yeah, thanks, but I guess I should have stated that this is an abridged version of my program, but I think everything relevant to my problem is there. In my actual program the quote and brace are...
  8. Thread: Array help

    by Oklaskull
    Replies
    19
    Views
    2,933

    Array help

    Hi! I'm new to these boards, and new to programming in general. I'm working on a project, and I've been stuck on this part for hours. The basics of the project are that I have to read values from...
Results 1 to 8 of 8