Search:

Type: Posts; User: Rawr

Search: Search took 0.01 seconds.

  1. Trying to study for exam, need help on two questions.

    I have my final exam for intro to programming in c this sunday and upon studying found two questions that confuse me. I would appreciate if someone could help me solve them, I think my answers are...
  2. The function is void. ]: I'm so confused right...

    The function is void. ]: I'm so confused right now. I can get the file to open and close and create itself but simply don't know how to get display to write into it.




    void Display(student...
  3. See.. I'm stumped because throughout my code I am...

    See.. I'm stumped because throughout my code I am altering the list. [adding to it, deleting to it, clearing it, ect.]

    And I need to be able to save the current list, at whatever time it maybe,...
  4. Is it possible to write a function to the file?

    Is it possible to write a function to the file?
  5. I guess it is by accident. The 2nd line is...

    I guess it is by accident. The 2nd line is suppose to print the list to the file, how would I fix that?
  6. Still isn't executing though. ):

    Still isn't executing though. ):
  7. The function call is where I am stuck. I am a...

    The function call is where I am stuck.

    I am a beginner in intro to c, I know what I want to do, just trying to get it to do what I want it to do is what is not working out for me. ):

    How...
  8. Small Function problem. Would appreciate any help given.

    Hey there. I have a file function that is not working correctly and am a bit stumped by it. I'd appreciate any help.

    Function prototype:

    void SaveFile(student list[], FILE *database);
    ...
  9. Replies
    6
    Views
    1,894

    Thanks Adak, your amazing!

    Thanks Adak, your amazing!
  10. Replies
    6
    Views
    1,894

    Why won't my program run?

    I'm in intro to C, haven't been taught how to debug yet, and can't figure out whats wrong with my code or how to fix it. Help plz?
  11. Replies
    11
    Views
    1,180

    No, I don't have an automatic true. Wanted to...

    No, I don't have an automatic true. Wanted to know if I was right in what an automatic true was.

    I'm in intro to C, all this is new to me.

    Can you give me a light example of an automatic true?
  12. Replies
    11
    Views
    1,180

    Automatic True = Returns 1 if the amount is...

    Automatic True = Returns 1 if the amount is enough to cover the cost, 0 if there is not enough?
  13. Replies
    11
    Views
    1,180

    So if I just do selection == 'p', it will take...

    So if I just do selection == 'p', it will take the capital and lower case?
  14. Replies
    11
    Views
    1,180

    It's not working at all. Every time I enter my...

    It's not working at all.
    Every time I enter my code it does a run time error half way through as soon as I get to this part,
    and tells me a bunch of junk isn't int'd when it is.

    I have to be...
  15. Replies
    11
    Views
    1,180

    Really confused. ):

    The user selects a character that is represented by a double (cost).

    The user then selects an int which represents another double (deposit).

    Based off which character the user choose determines...
  16. The Vending machine dilemma!

    Here is part of my code:


    char selection;
    double item_cost;
    double amount;
    double owed;
    double total;
Results 1 to 16 of 19