Search:

Type: Posts; User: Chaosreborn

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    2,017

    all you need to declare in this program is...

    all you need to declare in this program is <iostream> and using namespace std;

    and to stop the program from exiting before your ready use cin.ignore(2);
    like this


    cin.ignore(2);
    return...
  2. Thread: need help

    by Chaosreborn
    Replies
    17
    Views
    2,322

    i would probably use switch/case. its pretty easy...

    i would probably use switch/case. its pretty easy to understand



    #include <iostream>
    using namespace std;

    int main()
    {
    double a,b,value;
  3. Replies
    2
    Views
    797

    wow thx so much it just clicked, your awsome!

    wow thx so much it just clicked, your awsome!
  4. Replies
    2
    Views
    797

    Please more help!

    I am dieing over this project. and whatever i put in doesnt seem to work please help!

    //r = rows,s = stars, spl = stars per line



    #include <iostream>
    using namespace std;

    int main()
  5. where does it say only enter 5 numbers? and if...

    where does it say only enter 5 numbers? and if your doing a loop i would do it like this



    int input,least, greastest;

    do
    {
    cout<<"Please enter a number.";
    cin>>input;
  6. Replies
    16
    Views
    5,205

    you should not declare variables in a list like...

    you should not declare variables in a list like that. like this is cleaner: int sum,product,remainder,etc;
    and i would try switching int to double
  7. Thread: need help!

    by Chaosreborn
    Replies
    7
    Views
    1,229

    ok im sorry but the variables are: r = rows, s =...

    ok im sorry but the variables are: r = rows, s = stars, and spl = stars per line.
  8. Thread: need help!

    by Chaosreborn
    Replies
    7
    Views
    1,229

    i keep trying to add 2 but then it just continues...

    i keep trying to add 2 but then it just continues on.
  9. Thread: need help!

    by Chaosreborn
    Replies
    7
    Views
    1,229

    Im studying loops and i have #include...

    Im studying loops and i have

    #include <iostream>
    using namespace std;



    int main()
    {
    int r,s,spl,space;
  10. Replies
    12
    Views
    2,017

    u need to put cin.ignore(2); and then you will be...

    u need to put cin.ignore(2); and then you will be able to see the results before the complier shuts it down. put it before the return 0; and it should work. and if you know you wont be using decimals...
  11. Thread: need help!

    by Chaosreborn
    Replies
    7
    Views
    1,229

    need help!

    I have this program i need help with. i have to make a program that will display this.

    000000*
    00000***
    0000*****
    000*******
    00*********
    0***********
    *************
  12. Replies
    3
    Views
    1,035

    Help please.

    I have this project from school that has me program a code to tell the user if a given number is lucky or not. The number is lucky if it is a factor of 7, 11, or ends with a 7. I can do the first two...
Results 1 to 12 of 12