Search:

Type: Posts; User: greeziakattack

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,140

    Its really not that much code. Just ignore the...

    Its really not that much code. Just ignore the function prototypes, I'm trying to declare two structures and scan them in from two different files using fopen. I moved the structures around and I'm...
  2. Replies
    3
    Views
    1,140

    Structure Issues

    I'm trying to create two structures for managing a list of students and a list of their teachers and return certain members of each structure by using functions. Currently I can't get the program to...
  3. Replies
    1
    Views
    1,094

    Nevermind I think I have this one figured out,...

    Nevermind I think I have this one figured out, just gonna throw two more for loops on top of the other two that change their starting/end conditions and see what happens.

    Got it working, I don't...
  4. Replies
    1
    Views
    1,094

    PPM Chessboard, any bright ideas?

    So I'm making a chessboard using arrays and outputting to a ppm file. No conditionals allowed... would be too easy that way. I have the board "painted" all black and the first white space in place,...
  5. But it wasn't in printf it was in scanf. Printf...

    But it wasn't in printf it was in scanf. Printf doubled its output because of something linked to scanf?
  6. Got it working it was definitely the space before...

    Got it working it was definitely the space before the % as was mentioned... although I'm not sure the reason why exactly that was needed. Care to elaborate?

    Thanks. Appreciate the help.
  7. Thanks for the advice, haven't tested any of your...

    Thanks for the advice, haven't tested any of your guys implementations yet though. The double print I was getting was on the ready printf statement.
  8. Printf issue I've never encountered before...

    So I'm adding an extra menu to my program and one of the printf statements decides to double print its output, something I have never seen before. I tried changing around some of the variable names,...
  9. Replies
    7
    Views
    7,207

    Was creating it on a windows ssh'd into a linux...

    Was creating it on a windows ssh'd into a linux server to use diff.

    Just ran it with -w and got no output. So I'm assuming its some kind of line/spacing problem? I guess I gotta keep looking.
  10. Replies
    7
    Views
    7,207

    No actually diff hasn't done squat for me it just...

    No actually diff hasn't done squat for me it just outputs

    1,27c1,27

    and spits out both outputs again...

    thanks for noticing that difference though, it still does the same thing.
    ...
  11. Replies
    7
    Views
    7,207

    diff function

    Hey, so I'm trying to write a program and am supposed to compare its output to the output I'm supposed to be getting using the diff function.

    What appears to be EXACTLY the same output is...
  12. Replies
    4
    Views
    7,338

    Thanks I appreciate the help. I think it was the...

    Thanks I appreciate the help. I think it was the fact that my program was labeled time.c and the executable I used was "time." I'm using putty, winscp, and cygwin terminal on my windows machine. We...
  13. Replies
    4
    Views
    7,338

    I am running the function in another program...

    I am running the function in another program "time.c"


    #include <stdio.h>
    #include "checkit.h"
    #include <math.h>
    #include "mylib.h"


    /* main */
  14. Replies
    4
    Views
    7,338

    Converting Time Program

    Hi, so I am making a program that hinges on a function that takes a total amount of seconds as input and is supposed to output using printf the number of days, hours, minutes, and seconds. The...
Results 1 to 14 of 14