Search:

Type: Posts; User: zbred

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    961

    Thanks guys. That really helped a lot! Solved it...

    Thanks guys. That really helped a lot! Solved it and everything worked beautifully!
  2. Replies
    5
    Views
    961

    Problem with using .txt file

    I think there is a problem with the way I am trying to assign the values in a .txt file, but I'm not exactly sure what the problem is. Whenever I go to this function, the program just ends. I think...
  3. Replies
    3
    Views
    1,836

    Help changing the values inside an array.

    Alright, so I have a function where you set up the values for the array. Now I need to find a way to change them. So far it hasn't worked right.



    void changegrades(double *grades, int count)...
  4. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    I'm thinking it's a problem with the display in...

    I'm thinking it's a problem with the display in the showgrades function. And you are right, you getgrades should have been an int. I changed that. Thank you.

    But I'm really not sure if it is the...
  5. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    THANK you SO much! I got that now. Still having...

    THANK you SO much! I got that now. Still having trouble showing the grades in the showgrades function.



    getgrades(double *grades)
    {
    double temp;
    system("cls");
    printf("Enter...
  6. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    Whoops. I'm sort of an idiot sometimes. This is...

    Whoops. I'm sort of an idiot sometimes. This is what I got now that I changed it back. but I am having trouble at getting the loop to stop once 0 in put in.



    for(count = 0; count < 100;...
  7. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    Yeah, the teacher is a HUGE idiot. This whole...

    Yeah, the teacher is a HUGE idiot. This whole assignment is so difficult.

    I'm still trying to get the showgrades funtion to work... It still isn't working. This is the code for it I have so far....
  8. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    I actually need it to be a double for the...

    I actually need it to be a double for the assignment.
  9. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    Oh yeah... Duh. Thanks for that. Now for this...

    Oh yeah... Duh. Thanks for that. Now for this next code, how would i get it so the showgrades function does these two things:
    1. Only shows the amount of grades as the user enters in.
    and 2. shows ...
  10. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    I'm a beginner at this kind of stuff, so please...

    I'm a beginner at this kind of stuff, so please bear with my heavy lack of understanding.

    Is this at least on the right track? I don't quite understand how to begin to put input into the temp...
  11. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    Ok, so now i have this, but how exactly am i...

    Ok, so now i have this, but how exactly am i supposed to get it to stop when 0 in inputted?



    for(count = 0; count < 100; count++)
    {
    printf("Enter Grade or Press 0 to Exit:");
    scanf("%lf%*c",...
  12. Thread: Need HUGE help

    by zbred
    Replies
    19
    Views
    2,487

    Need HUGE help

    I'm trying to write a program in which allows the user to input grades in one function, view the grades inputted in another, change the grade in another, and lastly view the grades based off of the...
  13. Replies
    16
    Views
    2,112

    Honestly, I don't know how to make the pointer...

    Honestly, I don't know how to make the pointer ucp work.
  14. Replies
    16
    Views
    2,112

    That thread definitely helped me. Now i have the...

    That thread definitely helped me. Now i have the very first word capitalized, but I'm messing up getting each new word capitalized



    void strcase(char description[])
    {
    int i;
    for (i...
  15. Replies
    16
    Views
    2,112

    If you're talking about this code, then wouldn't...

    If you're talking about this code, then wouldn't it just lower case every letter?

    void strcase(char description[])
    {
    int i;
    for (i = 0; i < strlen(description); i++)
    {
    ...
  16. Replies
    16
    Views
    2,112

    void strcase(char description[]) { int i;...

    void strcase(char description[])
    {
    int i;
    int len = strlen(description);
    for (i = 0; i < len; i++)
    {
    description[i] = tolower(description[i]);
    }
    }
  17. Replies
    16
    Views
    2,112

    So far, I was able to get to strcase() funtion to...

    So far, I was able to get to strcase() funtion to work by changing it from a void to a char. I just need help at this point to get the words to look like this:

    Blah Blah Blah

    (and not like)
    ...
  18. Replies
    16
    Views
    2,112

    my bad

    my bad
  19. Replies
    16
    Views
    2,112

    Need help capitalizing characters in a strong

    I'm trying to get to where the first letter of each word of the "description" is a capital letter while the rest is a lower case letter. So far, I'm not even able to successfully get every letter...
Results 1 to 19 of 19