Search:

Type: Posts; User: tameeyore

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    3,411

    Why won't it execute?

    Why won't it execute?
  2. Replies
    4
    Views
    3,411

    how to print a file on the screen

    I am having trouble bring information from a file into a structure and printing it out on the screen. How is that done? Here is the code I have that has the structure and the open statement. But...
  3. Replies
    3
    Views
    971

    What is a final? please advise.

    What is a final? please advise.
  4. Replies
    3
    Views
    971

    Strange error I have not gotten before.

    I am getting the following error when I compile my program on gcc. two or more data types in declaration of `main'
    Also I want to print out the structure in one of my cases but won't let me call the...
  5. Replies
    1
    Views
    2,525

    Segmentation fault in beginning or program

    I have got the program running but when I enter the filename of the txt file it gives me a segmentation fault and ends.. Could someone please help me out..




    #include <stdio.h>
    #include...
  6. Replies
    4
    Views
    1,754

    no does not support line by line debugging using...

    no does not support line by line debugging using a unix system.
  7. Replies
    4
    Views
    1,754

    Segmentation fault

    I am getting a segmentation fault when I try to run the program.. IT compiles fine but when i run it it gives me a segmentation fault.



    #include <stdio.h>

    #define START 0
    #define WALL -1...
  8. Replies
    23
    Views
    2,673

    So how do I correct it or what can I do to fix...

    So how do I correct it or what can I do to fix it.. Your statement was a little vague for me... I am still new at this so I am a little slow... sorry.... :confused:
  9. Replies
    23
    Views
    2,673

    I am not passing the structure though.. I am only...

    I am not passing the structure though.. I am only passing the things in the structure.. such as the students, grade1, grade2, grade3.... Then what do I have to do to get rid of the errors and call...
  10. Replies
    23
    Views
    2,673

    sorry misunderstood.. Here you go.. ...

    sorry misunderstood.. Here you go..





    struct grades /*Structure to put the text into.*/
    {
    char students[30];
    int grade1;
  11. Replies
    23
    Views
    2,673

    Maybe this is more help.... void...

    Maybe this is more help....






    void readfile(char students[30], int grade1,int grade2,int grade3);/*function declaration*/
  12. Replies
    23
    Views
    2,673

    yes I am passing the array for the first argument...

    yes I am passing the array for the first argument and then integers for the rest... Now it can be no more then 30 students... ..
  13. Replies
    23
    Views
    2,673

    Thank you that worked great now I have another...

    Thank you that worked great now I have another issue.. I am trying to call a function and I am getting the following errors.

    grades.c: In function `main':
    grades.c:43: incompatible type for...
  14. Replies
    23
    Views
    2,673

    If I make them both the same it gives me a new...

    If I make them both the same it gives me a new error..

    grades.c:18: warning: `struct grades' declared inside parameter list
    grades.c:18: warning: its scope is only this definition or...
  15. Replies
    23
    Views
    2,673

    Line 18: int sorting(char students[30], int...

    Line 18: int sorting(char students[30], int grade1, int grade2, int grade3);

    Line 89 int sorting(struct grades students[30], int grade1, int grade2, int grade3)



    Line 18 is the def of the...
  16. Replies
    23
    Views
    2,673

    getting this error message. Don't understand why?...

    getting this error message. Don't understand why?

    grades.c:89: conflicting types for `sorting'
    grades.c:18: previous declaration of `sorting'



    int sorting(struct grades students[30], int...
  17. Replies
    23
    Views
    2,673

    Better way maybe... but need assistance

    I have a function to determine a letter grade for each individual grades however I am not sure I have it set up the best possible way.. the errors I am getting are at the bottom.. There is three test...
  18. Replies
    2
    Views
    1,453

    Needing help please....

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>



    void readfile(char name, int grade1,int grade2,int grade3);
    int meangrade(int grade1,int grade2,int grade3);
    void...
  19. Thread: HELP plse

    by tameeyore
    Replies
    7
    Views
    1,376

    I am getting the following errors when I compile...

    I am getting the following errors when I compile my code above and I can't figure out what is the problem.



    grades.c:18: conflicting types for `qsort'...
  20. Thread: HELP plse

    by tameeyore
    Replies
    7
    Views
    1,376

    still having issues with the sort function.

    still having issues with the sort function.
  21. Thread: HELP plse

    by tameeyore
    Replies
    7
    Views
    1,376

    Hope this is better: #include ...

    Hope this is better:



    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    void readfile(char name, int grade1,int grade2,int grade3);
    int meangrade(int grade1,int...
  22. Thread: HELP plse

    by tameeyore
    Replies
    7
    Views
    1,376

    HELP plse

    Hi, I am trying to make a grade management program and I have everything but my sort function is not working and I am getting a parse error at the end of input.. Could someone please help......
  23. Replies
    7
    Views
    1,776

    Need help on structure

    Hello,

    I am writing a grade management program. I have a structure but I keep getting an error.

    struct grades
    {
    char students[30];
    int grade1;
    int grade2;
    int...
  24. Replies
    9
    Views
    5,812

    If statement hanging...

    I am trying to check for valid date.. if it is not valid then I ask them to reenter the date. Otherwise it should ask for the deposit. But when I enter a bad date and then reenter the date it...
  25. Replies
    30
    Views
    3,055

    I got case 4 to work but my calculations are...

    I got case 4 to work but my calculations are totally off... Help???
Results 1 to 25 of 40
Page 1 of 2 1 2