the *.out file has to be ran in terminal and the *.nix file doesn't run properly in terminal, cannot be executed otherwise...
-michael
Type: Posts; User: iiwhitexb0iii
the *.out file has to be ran in terminal and the *.nix file doesn't run properly in terminal, cannot be executed otherwise...
-michael
gcc Assignment1.c -o Assignment1.app
doesn't work so i suppose running the *.out file in terminal will have to do...oh well
thanks for your time
very good sir...i apologize for not being clear.
The only potentially executable file is *.out which cannot be opened by double clicking on it.
Sure I can run it in Terminal but curiousity was...
Hopefully this is a simple problem...I've done alot of programming assignments in my short stint as a CS minor. Made alot of seemingly useless programs. So recently I decided to make something of...
this segment is proving to be the death of me...
i'm required to scan digits from an input file which are to long to record as int variables.
so i record them as strings and convert them to...
i've used what you all have given me and its throwing up some errors. additionally, i should've mentioned this before hand, but i don't know exactly what i am recieving after subtracting '0' from the...
thank you all very much, i never would've thought about that on my own
-Michael
I have ideas for the remainder of the program its just getting over the first hump that I need help with.
I am required to scan in long numerical values from an input file and multiply/add them...
since you don't seem to be using seconds you can create a function to convert both times to minutes then subtract the clock out time from the clock in time to get minutes worked.
ex: 0927 =...
Main Entry: con·cise
Pronunciation: k&n-'sIs
Function: adjective
Etymology: Latin concisus, from past participle of concidere to cut up, from com- + caedere to cut, strike
1 : marked by brevity...
if thats the full code which is giving you the error then the fix i gave you should remedy your problem...i'm a freshman in college taking my first c-programming class so thats all the help i can...
#include <stdio.h>
simple typo
-michael
appreciate the assistance man, thanks
-michael
jGRASP wedge2: actual command sent ["C:\cygwin\bin\gcc.exe" -g "C:\Documents and Settings\Michael\My Documents\Classes\C Programming\Program 5\payroll.c"].
I believe that was the compile message...
Notepad is just being dumb...notebad needed \r\n to print any newline
wordpad and jGrasps text viewer printed fine with \n or \r\n
-michael
wordpad works out well
notepad was being dumb
thanks for the suggestion
"\r\n" is now "\n"
-michael
i apologize for my ignorance, but what are you suggesting i do? unless of course your post was directed at Quantum1024.
-michael
thanks man, that did the trick
please help
#include <stdio.h>
#define SIZE 20
int main(void) {
haha, thats embarassing
i knew it was something silly
thank you very much
Recently in my C class we learned about functions and pass by reference and I have a question about a function in my programming assignment.
//Pre-conditions: numchips > 0.
//Post-conditions:...
haha, oh man you don't know how much i appreciate you guys
thanks so much,
michael
#include <stdio.h>
#define MINS_HR 60 //define minutes per hour
#define SECS_MIN 60 //define seconds per minute
int main(void) {
int total;
int h, m, s;
my fault i mis-understood your intentions, i will continue working at it and i appreciate your help.
sadly nothing