Search:

Type: Posts; User: futurama140

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    1,236

    yea, thats not cutting it, you try using that in...

    yea, thats not cutting it, you try using that in my code and see what happens, and its not pretty
  2. Replies
    13
    Views
    1,236

    OK, so I got that one problem fixed, but now how...

    OK, so I got that one problem fixed, but now how do i loop it back the the first choice if someone inputs an unrecognised command? i have:

    #include <iostream>
    #include <string>
    using namespace...
  3. Replies
    13
    Views
    1,236

    no, ichanged it earlier, before i made the post...

    no, ichanged it earlier, before i made the post with the question, my current code is:

    #include <iostream>
    #include <string>
    using namespace std;

    int main(void)
    {

    string name;
  4. Replies
    13
    Views
    1,236

    Also, when i type in "leave" when running the...

    Also, when i type in "leave" when running the program, after the
    cin>> choicea; the program exits, does anyone get what im trying to do? i want it to display the one cout after i type in leave, and...
  5. Replies
    13
    Views
    1,236

    so how do i compile the string into a string into...

    so how do i compile the string into a string into the if statement?
  6. Replies
    13
    Views
    1,236

    okay, i have this now... it wont do squat, and i...

    okay, i have this now... it wont do squat, and i know i have absolutely nothing good here, but maybe you can see what im trying to do, and understand why im an idiot, btw, my cout is just random...
  7. Replies
    13
    Views
    1,236

    thanks! i know im a n00b but it really helps...

    thanks! i know im a n00b but it really helps anyway
  8. Replies
    13
    Views
    1,236

    Whole words

    Ive been having a problem, ive gone through the frst few basic lessons in c++ here at the site, and can get my tiny programs to accept a single character or number, but it will not accept any whole...
  9. Replies
    20
    Views
    2,095

    actually, it was that i didnt have "()" around "a...

    actually, it was that i didnt have "()" around "a - 32", it did the multiplication first, thats why I got that answer


    #include <iostream>

    using namespace std;

    int main()
    {
    int a;
  10. Replies
    20
    Views
    2,095

    I got it, finaly, thanks

    I got it, finaly, thanks
  11. Replies
    20
    Views
    2,095

    Ok, all the suggestions have not helped, this is...

    Ok, all the suggestions have not helped, this is what i have, and everytime i get -32 as the output


    #include <iostream>

    using namespace std;

    int main()
    {
    float a;
  12. Replies
    20
    Views
    2,095

    ok, yet another problem: #include ...

    ok, yet another problem:


    #include <iostream>

    using namespace std;

    int main()
    {
    int a;
  13. Replies
    20
    Views
    2,095

    ok, now I am trying to get a letter in plae of a...

    ok, now I am trying to get a letter in plae of a number, i have the "char" tag, but when i put a letter in, it says that value "a" has not been used before,
  14. Replies
    20
    Views
    2,095

    :D :D :D YES thats it! ty but I am confused about...

    :D :D :D YES thats it! ty but I am confused about
    int zipcode = 59602;
    Does that have nothing to do with the outcome?
  15. Replies
    20
    Views
    2,095

    ok here is what I have, What is the problem with...

    ok here is what I have, What is the problem with it please?


    #include <iostream>

    using namespace std;

    int main()
    {
    int zipcode = 59602 ;
  16. Replies
    20
    Views
    2,095

    The "||" function

    I am having a problem with understanding the "||" function. ( I know I probably sound stupid, I just started learning C++ tonight...) I was just looking at a little program, and when I use integer =...
Results 1 to 16 of 17