Search:

Type: Posts; User: IceEagle85

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    25,572

    Try opening the file in textpad. Notepad wont...

    Try opening the file in textpad. Notepad wont recognize that the file was in linux, but textpad will.
  2. Replies
    27
    Views
    3,099

    Yes, I have implemented all of your advice, and...

    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...
  3. Replies
    27
    Views
    3,099

    Thanks for that, it helped, but I figured out...

    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...
  4. Replies
    27
    Views
    3,099

    I think this is what you were asking for ...

    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...
  5. Replies
    27
    Views
    3,099

    (gdb) run Starting program:...

    (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]:...
  6. Replies
    27
    Views
    3,099

    I have fixed, it, the program compiles, and now...

    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...
  7. Replies
    27
    Views
    3,099

    I apologize, that was just an abbreviated...

    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...
  8. Replies
    27
    Views
    3,099

    Ok, all of your help has been wonderful, and I am...

    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...
  9. Replies
    27
    Views
    3,099

    That one simple brace was causing so much heart...

    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...
  10. Replies
    27
    Views
    3,099

    Im at my wits end, please help

    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...
Results 1 to 10 of 11