Search:

Type: Posts; User: khoavo123

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. actually it seems that this code doesn't run on...

    actually it seems that this code doesn't run on window which is very odd. It ran fine with gcc on linux as some people i asked ran it on there. Unfortunately i dont have linux, and this code was not...
  2. trouble getting printdata function to work

    so i have this code



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

    #define MAX 21
    #define MAX_ELEM 8
    #define SCORE 12
  3. Replies
    1
    Views
    931

    help with output repeated

    /*
    This program read input from FILE of a skating competition. Then it calculate the sum
    of the baseval value and technical scores of each skater. Finally it output the sorted list
    of...
  4. Replies
    2
    Views
    1,558

    help with sscanf

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

    #define MAX 21
    #define MAX_ELEM 8
    #define SCORE 12
    #define NUM_SKATER 4
    #define BASE 3.1

    typedef struct{
  5. Replies
    6
    Views
    949

    so after i make changes to this #include...

    so after i make changes to this


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

    #define MAX 20

    typedef struct
  6. Replies
    6
    Views
    949

    well my instructor ask to dynamically allocate...

    well my instructor ask to dynamically allocate the firstname though
    so shouldn't it be pointer to char ?
  7. Replies
    6
    Views
    949

    help with reading a structure

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

    #define MAX 20

    typedef struct
    {
    int ID;
    char* firstname;
  8. Replies
    11
    Views
    45,560

    i still have a question about this though can...

    i still have a question about this though

    can any one interpret this because it kinda confusing
    Also write a main function that inputs your family name, calls this function

    what does that...
  9. Replies
    11
    Views
    45,560

    may be i need to use a system "pause"

    may be i need to use a system "pause"
  10. Replies
    11
    Views
    45,560

    yes my console disappear before i can read the...

    yes my console disappear before i can read the output
  11. Replies
    11
    Views
    45,560

    /* Dang Vo [email protected] assign 6...

    /*
    Dang Vo
    [email protected]
    assign 6
    This program remove the last character of a string by moving the NULL character
    to the left 1, finally it output the string as missing the last...
  12. Replies
    11
    Views
    45,560

    trim last character of a string

    #include <stdio.h>


    char* LastcharDel(char* name);

    int main ()
    {
    // declarations
    char name[20];
  13. Replies
    1
    Views
    869

    fix sort function!

    Make the following work by changing only the sort function and its prototype. (Work means that the elements in the original array of floats are not changed but remain in their original order. Only...
  14. Replies
    1
    Views
    1,107

    help with calc function!

    /*
    Dang Vo
    Lab 2
    [email protected]
    */

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

    #define MAX 50
  15. Replies
    6
    Views
    5,452

    while your at it can you tell me what i did wrong...

    while your at it can you tell me what i did wrong for my calctotal function also and i fixed the sort function it worked now cant really see any mistake myself now since my eyeball is rolling out. i...
  16. Replies
    6
    Views
    5,452

    like this ? /* Dang Vo Lab 2 ...

    like this ?


    /*
    Dang Vo
    Lab 2
    [email protected]
    */

    #include<stdio.h>
  17. Replies
    6
    Views
    5,452

    help with bubble sort 2D array

    /*
    Dang Vo
    Lab 2
    [email protected]
    */

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

    #define MAX 50
  18. Replies
    1
    Views
    875

    help finding mistake !

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

    #define NUM_PATIENT 100
    #define GIVEN_HR 220
    #define LEN 6

    void getdata(FILE*spData, int ID[], float AveOfAveHR[], int dayExcrsHR[], int...
  19. Replies
    1
    Views
    908

    help with output file!

    #include <stdio.h>
    #include <stdlib.h>
    #define MAX_PATIENT 100
    #define HR_GIVEN 200
    #define LEN 5

    void getData(FILE* spData, int ID[], float aveofAveCommutingHR[], int dayexcers[],...
  20. Replies
    3
    Views
    946

    can you suggest a way that i can make this valid

    can you suggest a way that i can make this valid
  21. Replies
    3
    Views
    946

    bubble sort of by 1 element help!

    #include<stdio.h>
    #include<stdlib.h>
    #define MAX 50
    #define MAX_COL 20
    #define SCORE 5
    #define TOTCALC 3
    int getData(FILE* spData, char name[][MAX_COL], float difficulty[], float...
  22. Replies
    1
    Views
    714

    help correct the sort function !

    #include<stdio.h>
    #include<stdlib.h>
    #define MAX 50
    #define MAX_COL 20
    #define SCORE 5
    int getData(FILE* spData, char name[][MAX_COL], float difficulty[], float score[][SCORE]);
    void...
  23. Replies
    3
    Views
    1,937

    well im not sorting the name array though and...

    well im not sorting the name array though and also every work fine if you take you sort function out
    also i dont know why the data is not in order when i post it on here
  24. Replies
    3
    Views
    1,937

    help with sort 2D array

    #include<stdio.h>
    #include<stdlib.h>
    #define MAX 50
    #define MAX_COL 20
    #define SCORE 5
    int getData(FILE* spData, char name[][MAX_COL], float difficulty[], float score[][SCORE]);
    void...
  25. why are you so aggressive?

    why are you so aggressive?
Results 1 to 25 of 48
Page 1 of 2 1 2