Search:

Type: Posts; User: Kevineze

Search: Search took 0.01 seconds.

  1. Thread: input/output

    by Kevineze
    Replies
    5
    Views
    1,083

    how do I make the statement take effect? Ok sry...

    how do I make the statement take effect?
    Ok sry didnt notice the == vrs the = there lol I got It its working now thanks.
  2. Thread: input/output

    by Kevineze
    Replies
    5
    Views
    1,083

    heres better example of code maybe thsi will help...

    heres better example of code maybe thsi will help give u an idea of what im talking about. I declare bank as 40 but keeps sayign its 22. why is this?


    #include <iostream>
    using namespace std;
    ...
  3. Thread: input/output

    by Kevineze
    Replies
    5
    Views
    1,083

    input/output

    currently wrote a bank account type code it compiles well but instead of givign a starting bank account of 40 when i run it it gives a starting bank account of 22 + the deposit. I also tryed usign a...
  4. Thread: New Project

    by Kevineze
    Replies
    23
    Views
    2,212

    damn jus read that u gotta use rand() for this...

    damn jus read that u gotta use rand() for this guess i gotta pospone my "project" n do some readin thx for help
  5. Thread: New Project

    by Kevineze
    Replies
    23
    Views
    2,212

    how would I declare theres 50% chance to win bet?

    how would I declare theres 50% chance to win bet?
  6. Thread: New Project

    by Kevineze
    Replies
    23
    Views
    2,212

    ok this is what I got so far. i got in error when...

    ok this is what I got so far. i got in error when i get to please enter ur bet line. can you at least tell me if im on the right track?


    #include <iostream>
    #include <cstring>

    using namespace...
  7. Thread: New Project

    by Kevineze
    Replies
    23
    Views
    2,212

    this project is confusing I think I should just...

    this project is confusing I think I should just write source code first. which type do I choose windos app or empty? remember im new to C++ n programming
  8. Thread: New Project

    by Kevineze
    Replies
    23
    Views
    2,212

    o yeah i use dev c++ thanks for reminding me lol

    o yeah i use dev c++ thanks for reminding me lol
  9. Thread: New Project

    by Kevineze
    Replies
    23
    Views
    2,212

    How would I set a constant to declare my starting...

    How would I set a constant to declare my starting bank account?
    I thought about just usign cout<< but that would be stupid since its only giving output
  10. Thread: New Project

    by Kevineze
    Replies
    23
    Views
    2,212

    thx guys this makes sense to me. lemme try n...

    thx guys this makes sense to me.
    lemme try n write somethin n c if it works then run it by you guys
  11. Thread: New Project

    by Kevineze
    Replies
    23
    Views
    2,212

    New Project

    Hey looks like imma start being a regular in this forum :) ok to the point I wanna start a new project and its a very simple gambling system. Its where u enter the amount of cash you want to bet and...
  12. Thread: Functions

    by Kevineze
    Replies
    9
    Views
    1,132

    so fricking confusedy if im being a pain ...

    so fricking confusedy if im being a pain

    #include <iostream>

    using namespace std;

    int square x;

    int main()
    {
  13. Thread: Functions

    by Kevineze
    Replies
    9
    Views
    1,132

    Ok that explains it better but at the top I have...

    Ok that explains it better but at the top I have to declare the function like int ( x and whatever
    how would I declare the function by using only one variable?
  14. Thread: Functions

    by Kevineze
    Replies
    9
    Views
    1,132

    but how would you use that square function in a...

    but how would you use that square function in a program i tryed but got confused by ho to declare x
  15. Thread: Functions

    by Kevineze
    Replies
    9
    Views
    1,132

    thanks

    thanks
  16. Thread: Functions

    by Kevineze
    Replies
    9
    Views
    1,132

    Functions

    Im C++ newbie im started understanding if commands,loops, and strings and even made a mini project by maiking a basic math quiz. the thing i wanna hit next is understandign functions. the tutorial is...
  17. Replies
    28
    Views
    3,876

    ok the loop worked i declared the num variable...

    ok the loop worked i declared the num variable and made some other changes this is what i did. it shuts the program if u dont press 1 cuz of the cin.get() but im not done wit program yet check this...
  18. Replies
    28
    Views
    3,876

    you mean like int num? I tryed that but it gave...

    you mean like int num?
    I tryed that but it gave me same error
  19. Replies
    28
    Views
    3,876

    this my code so far. it keeps giving me an error...

    this my code so far. it keeps giving me an error when i get to cin >> num part any ideas? what am I doing wrong


    #include <iostream>
    #include <cstring>

    using namespace std;

    int main()
    {
  20. Replies
    28
    Views
    3,876

    Im looking at tutorials of C++ trying to learn...

    Im looking at tutorials of C++ trying to learn it. also swgh I know how to loop number but how would u loop those If statements? sry for acting like a newb lol
  21. Thread: Calendar Rage

    by Kevineze
    Replies
    9
    Views
    1,562

    sry just a question I get confused sometimes on...

    sry just a question I get confused sometimes on when to use cout<<endl can someone explain and use an example? this topic sheds some light though
  22. Replies
    28
    Views
    3,876

    Using If commands to reset program

    Hey im 16 and a beginner to C++ just trying to learn it on my own to get rdy for college. Now i m writing a math quiz (lol) for exercise and im wondering how to use if commands to reset/ or continue...
Results 1 to 22 of 23