Search:

Type: Posts; User: Ryan500

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    1,648

    very helpfull

    very helpfull
  2. Replies
    12
    Views
    1,648

    yes i know a little still something wrong... ...

    yes i know a little still something wrong...




    if bool anAnswer = ( buy == "yes" );
    {
    cout <<"Bought!" << endl;
    }
    else if bool anAnswer2 = (...
  3. Replies
    12
    Views
    1,648

    where do i put it

    where do i put it
  4. Replies
    12
    Views
    1,648

    ok i did it but when i type yes or no it comes up...

    ok i did it but when i type yes or no it comes up with both answers no sale and bought




    bool answer = ( buy == "yes" );
    {
    cout <<"Bought!" << endl;
    }
    ...
  5. Replies
    12
    Views
    1,648

    where dose the bool come in string...

    where dose the bool come in





    string buy = true;
    string dbuy = false;
  6. Replies
    12
    Views
    1,648

    Using char with bool

    Hi , how would i use char with bool here is the code :




    bool buy = true;
    bool dbuy = false;


    cout <<"Do you want to buy a can of coke? : " << endl;
  7. Replies
    1
    Views
    835

    How long should it take to learn??

    Hi , How long should i spend on learning

    1.C++ Basic Input and Output
    2.C++ Basic Variables and Constants
    3.C++ Basic Data Types
    4.C++ Logical Operators
    5. C++ Relational Operators
    6.C++...
  8. Replies
    25
    Views
    2,261

    ok i get it now at last lol , thank you so much...

    ok i get it now at last lol , thank you so much for your help i will learn of that code you have done. Very well explained. Thanks.
  9. Replies
    25
    Views
    2,261

    ok thank you im getting there now i think , could...

    ok thank you im getting there now i think , could you look above yours please and see if that peice of code is right for boolean
  10. Replies
    25
    Views
    2,261

    ok do you have to use bool to exit a program? Is...

    ok do you have to use bool to exit a program? Is this how to do bool?



    #include <iostream>
    using namespace std;
    int main ()
    {
    bool number = !0;
  11. Replies
    25
    Views
    2,261

    thank you so much for that best answer iv got up...

    thank you so much for that best answer iv got up to now.... So to be honest i don't even need to use them really
  12. Replies
    25
    Views
    2,261

    iv been learning c++ for a while but iv been on...

    iv been learning c++ for a while but iv been on and of cause i find it hard to learn cause i have learning difficulties
  13. Replies
    25
    Views
    2,261

    no didnt intend to do that , its hard to...

    no didnt intend to do that , its hard to understand
  14. Replies
    25
    Views
    2,261

    oh ok so could you tell me if this is right? ...

    oh ok so could you tell me if this is right?



    bool number = 10;
    bool number2 = !false;

    if (number == number2)
    {
    cout <<"This is your number : " <<...
  15. Replies
    25
    Views
    2,261

    First line make it true second line makes it...

    First line make it true second line makes it false but i still don't get how to use it. Like what do you use it for etc...
  16. Replies
    25
    Views
    2,261

    everyone is cut out for programming just depends...

    everyone is cut out for programming just depends if there into it. Up to now i only no how to do this :


    bool test = true;
    bool test = !false;
  17. Replies
    25
    Views
    2,261

    anything really so i can understand it. Just...

    anything really so i can understand it. Just finding it really hard to understand
  18. Replies
    25
    Views
    2,261

    Can someone help me please?

    Hi , im really finding it hard to understand the bool. Can someone give me a example of how expierence programmers would use it please. Looked at the tutorials and there all the same.

    Thanks
  19. Replies
    10
    Views
    1,223

    what dose typed mean i havent come across that yet

    what dose typed mean i havent come across that yet
  20. Replies
    10
    Views
    1,223

    thats a bit complicated for me as im a beginner

    thats a bit complicated for me as im a beginner
  21. Replies
    10
    Views
    1,223

    im having a problem understanding on how to write...

    im having a problem understanding on how to write a code with it up to now iv done this. But when the user enters coke how do i get it to say you have a bought a coke.


    string coke1 = "coke";...
  22. Replies
    10
    Views
    1,223

    Finding it hard to understand boolen

    Hi , im finding it really hard to understand how boolen works
    and how it supposed to be used. Iv read all tutorials and i still cant understand any help please.

    Thanks
  23. Replies
    7
    Views
    1,499

    ok , i also have learning difficulties

    ok , i also have learning difficulties
  24. Replies
    7
    Views
    1,499

    Easy way of learning c++ programming?

    Hi , is there is easy way of learning c++.. or a explained way

    cause i don't understand some of the code im writing

    thanks
  25. Replies
    9
    Views
    981

    thank so much it worked

    thank so much it worked
Results 1 to 25 of 30
Page 1 of 2 1 2