Try opening the file in textpad. Notepad wont recognize that the file was in linux, but textpad will.
Type: Posts; User: IceEagle85
Try opening the file in textpad. Notepad wont recognize that the file was in linux, but textpad will.
Yes, I have implemented all of your advice, and the only problem I have left is with the newPage.c printing to the output file. Adding #include <stdio.h> helped some of the problems but not the main...
Thanks for that, it helped, but I figured out that the newPage function is the segmentation error. And Im pretty sure it has to do with passing my output file through the function parameters. I have...
I think this is what you were asking for
iceeagle85@linux-ryaf:~/CS278/Lab2a> gcc -g -o Lab *.o
iceeagle85@linux-ryaf:~/CS278/Lab2a> gdb ./Lab
GNU gdb 6.6.50.20070726-cvs
Copyright (C) 2007...
(gdb) run
Starting program: /home/iceeagle85/CS278/Lab2a/Lab
Enter the name of input file[max 20 characters]: data.dat
Enter the name of file to hold the results[max 20 characters]:...
I have fixed, it, the program compiles, and now when I go to run the program this is what happens,
iceeagle85@linux-ryaf:~/CS278/Lab2a> make
gcc -c -o Lab2.o Lab2.c
gcc -o Lab Lab2.o...
I apologize, that was just an abbreviated version. Here is the Lab2.c(main) as it stands right now.
#include <stdio.h>
#include <stdlib.h>//exit method
#include <string.h>
#include...
Ok, all of your help has been wonderful, and I am down to one last problem, and I think I will be doing good.
As you can see I am trying to output to a file from newPage.c
heres an abbreviated...
That one simple brace was causing so much heart ache, and it would have taken ages to find with my sloppy coding. Practice makes perfect though, and I much appreciate the help. It seems this is a...
I am currently working on program for a class that is tearing me a new one. Its a gnu c program that calculates fica tax rates, gross, uses page breaks, and is compiled using make file. I have the...