Search:

Type: Posts; User: cloudpuffballz

Search: Search took 0.01 seconds.

  1. problem with the output part whenever I use the "View All Topics" from the menu();

    After I entered two topics using the case '1' , I used the case '5'. After seeing the display, the category and the term show the right user input, but the description and the value always shows the...
  2. Is there a way to know if user is really inputting?

    Is there any way for me to make sure that the user would at least input a single character? If there is, can you guys make a sample? :)
  3. Replies
    11
    Views
    11,208

    I see, thanks for helping.. i'll really try not...

    I see, thanks for helping.. i'll really try not to use the gets(); anymore :)
  4. Replies
    11
    Views
    11,208

    This code is weird, but it kinda worked.. Maybe...

    This code is weird, but it kinda worked..
    Maybe the code doesn't get the input when you use gets(); for the first time?????


    void addTopic(struct theTopic *info)/*This one is for adding a...
  5. Replies
    11
    Views
    11,208

    Oh yeah, sorry about editing a while ago, i had...

    Oh yeah, sorry about editing a while ago, i had forgotten to add some stuff in the code that's why I edited it.
  6. Replies
    11
    Views
    11,208

    I run the program again, and then I pressed '1'...

    I run the program again, and then I pressed '1' and then entered, then it showed something like this:

    Please enter the term:<---- Skipped
    Enter the category:
    _ <---- I can only input here
  7. Replies
    11
    Views
    11,208

    I run the program again, and then I pressed '1'...

    I run the program again, and then I pressed '1' and then entered, then it showed something like this:

    Please enter the term:
    Enter the category:
    _ <---- I can only input...
  8. Replies
    11
    Views
    11,208

    I see.. is there any better way to get the user's...

    I see.. is there any better way to get the user's input of more than one string?
  9. Replies
    11
    Views
    11,208

    Are there any ways to make the gets(); make the...

    Are there any ways to make the gets(); make the user input the string? Because my teacher said that if I wanted the user to enter more than one string, then I must use the gets(); function..


    oh...
  10. Replies
    11
    Views
    11,208

    gets(); function not working..

    Hey there, I have this problem with the gets();. My problem is that the gets(); only gets the the "Category's", and it does not allow the user to input the "Term's". Can you guys help me with this? I...
  11. Is there a way to tell that the variable is still unused using logical operators?

    :confused: I am still new to this programming, my goal is to be able to tell whether the variable is already used using the logical operators. And if the variable is not yet used, then there will be...
  12. Replies
    8
    Views
    2,972

    Thank you! :D

    Thank you! :D
  13. Replies
    8
    Views
    2,972

    Explain exit()

    Can anyone explain to me the use of exit() ? What is the difference of exit(1) and exit(0)? I would be really grateful if someone could explain me about it.. :D
  14. Um, can you please explain why i shouldn't call...

    Um, can you please explain why i shouldn't call main from each functions??? Sorry im still new to this C programming..
  15. Oh i see.. i keep getting errors: array subscript...

    Oh i see.. i keep getting errors: array subscript is not an integer & too few arguments to function `totalnutribought'.. umm.. how do I take 'em away???? I'm still kinda new to this..
  16. Can't transfer the input of the user from last function to the other..need help..

    Guys, this program is supposed to let the user choose their option in the menu..

    One of the options is to let the user input stuff and then they will not be allowed to use that option...
  17. Replies
    4
    Views
    751

    It is supposed to run like what you run a while...

    It is supposed to run like what you run a while ago, but when I run it, I always get 1.#J as my servings.. :)
  18. Replies
    4
    Views
    751

    Always gets 1.#J as my output..

    Hi guys.. This code is supposed to divide then show the output of the servings.. but this keeps on outputting as 1.#J. I'd appreciate if you guys can help me with this. :biggrin:




    float...
Results 1 to 18 of 18