User Profile

Collapse

Profile Sidebar

Collapse
carlymb
carlymb
Last Activity: Mar 22 '11, 01:29 AM
Joined: Mar 20 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • carlymb
    replied to Why am I getting a Segmentation fault?
    in C
    how would I need to pass the array though to compute grade to actually make the change?
    See more | Go to post

    Leave a comment:


  • carlymb
    started a topic Why am I getting a Segmentation fault?
    in C

    Why am I getting a Segmentation fault?

    I Have written this code for a programming assignment in a C/C++ class and I can not find were it is having problems
    *************** ***
    Code:
    struct student
    {
    char last_name[20];
    char frist_name[20];
    float points;
    char grade;
    };
    ...
    void sort(struct student list[], int n)
    ...
    fp1=fopen(argv[1], "r");
    ...
    while(check!=EOF)
    {
    ...
    See more | Go to post
No activity results to display
Show More
Working...