Search:

Type: Posts; User: tinkerbell20

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,599

    You know what... I didn't even learn std and all...

    You know what... I didn't even learn std and all the functions that come with it... Is there a way to do it more simple? The focus is on Default Arguments.
  2. Replies
    4
    Views
    1,599

    Default Arguments Question...

    This is a question I'm stuck with from the book "C++ Programming 101" :

    Write a program that computes net pay based on the values the user types, Ask the user for the hours worked, the rate per...
  3. Replies
    4
    Views
    1,154

    Passing Values Question... (continue)

    Hey... thank you all for your help.

    I tried to fix my code. Just as a reminder, this was the question:
    The following program segmant asks the user for his or her first name in main(). Write a...
  4. Replies
    9
    Views
    1,491

    How about a loop?

    I see...It's seems as if I need a third variable. mmmm...... How do I do it with a loop?
  5. Replies
    9
    Views
    1,491

    Passing Values Question...

    Hi Everyone! :)
    This is my question...
    The following program segmant asks the user for his or her first name in main(). Write a function that reverses the name in the array so that main() can...
  6. Replies
    5
    Views
    4,818

    Variable Scope

    Hi All,

    This is my question:

    Write a function that counts the number of times it is called. Name the function count_it(). Do not pass it anything. In the body of count_it(), print the...
  7. Replies
    6
    Views
    1,978

    How do I find that? I have Microsoft Visual...

    How do I find that? I have Microsoft Visual Studio.Net
  8. Replies
    6
    Views
    1,978

    Oh thank you! forgot to put }

    Oh thank you! forgot to put }
  9. Replies
    6
    Views
    1,978

    compiling problem

    This error appeared when I tried compiling theprogram:



    fatal error C1075: end of file found before the left brace '{' at 'c:\Documents and Settings\TinkerBell\My Documents\Visual Studio...
  10. You're a genius! Thank you, I appreciate it a lot.

    You're a genius! Thank you, I appreciate it a lot.
  11. So what CAN I compare in an "if" statement?

    So what CAN I compare in an "if" statement?
  12. Hi everyone..Testing strings and if question

    Hello all,
    What is wrong with this code? I can't get Wow! to print if the user answers "truck." :p



    #include <iostream>
    using namespace std;

    main()
    {
  13. Replies
    4
    Views
    2,243

    Bitwise OR

    What's wrong with this:


    AndIt = Test | 4.563;


    Is it wrong because there's a float number? if it wasn't float, does it compare the last digits or all? Thanks... :p
  14. Replies
    15
    Views
    2,032

    Thank you. I am worried my book is teaching me...

    Thank you. I am worried my book is teaching me bad habits. Thank you for your help
  15. Replies
    15
    Views
    2,032

    I'm a little bit overwhelmed. I can't believe...

    I'm a little bit overwhelmed. I can't believe there is a string variable! After my book had conviced me there isn't such a thing. Could you recommend a book that you would use to learn C++?
  16. Replies
    15
    Views
    2,032

    I'm a little bit overwhelmed. I can't believe...

    I'm a little bit overwhelmed. I can't believe there is a string variable! After my book had conviced me there isn't such a thing. Could you recommend a book that you would use to learn C++?
  17. Replies
    15
    Views
    2,032

    Here is what I did, and now it accepts floats. ...

    Here is what I did, and now it accepts floats. But like you said, no char. Is there a thing as a general variable that accepts all data...?



    #include<iostream>
    using namespace std;

    int...
  18. Replies
    15
    Views
    2,032

    Antigloss, I tried your code and it works...

    Antigloss,
    I tried your code and it works beautifully... how can I do what 7stud suggested? seems more simple
  19. Replies
    20
    Views
    3,197

    I'm reading "C++ programming 101" and it ectually...

    I'm reading "C++ programming 101" and it ectually makes every function exciting... no kidding...
  20. Replies
    15
    Views
    2,032

    Hey Antigloss, I didn't get so far with...

    Hey Antigloss,
    I didn't get so far with programming.. Could you explain the function you used?

    Thank you :)
  21. Replies
    15
    Views
    2,032

    Re:

    1. about the cast: for some reason, my book used this (int)a;for c++. Thank you for your advice.
    2. The loop was just for me, so I could keep trying numbers without having to keep re-running the...
  22. Replies
    15
    Views
    2,032

    one more cin question

    I have one more question... last one for now.
    Write a program (by using a single compund if statement) to determine whether the user enters an odd positive number.

    Here is what I did :


    :...
  23. Replies
    9
    Views
    1,934

    I have one more question... last one for now. ...

    I have one more question... last one for now.
    Write a program (by using a single compund if statement) to determine whether the user enters an odd positive number.

    Here is what I did :

    ...
  24. Replies
    9
    Views
    1,934

    I see... I get it. Thank you so much!

    I see... I get it. Thank you so much!
  25. Replies
    9
    Views
    1,934

    It works now! So when using cin, the user has to...

    It works now! So when using cin, the user has to type spaces, or else it won't work... ?
    Thank you so much, can I ask you questions when I run into a problem? great forum!
Results 1 to 25 of 27
Page 1 of 2 1 2