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...
Type: Posts; User: greeziakattack
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...
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...
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...
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,...
But it wasn't in printf it was in scanf. Printf doubled its output because of something linked to scanf?
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.
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.
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,...
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.
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.
...
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...
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...
I am running the function in another program "time.c"
#include <stdio.h>
#include "checkit.h"
#include <math.h>
#include "mylib.h"
/* main */
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...