Search:

Type: Posts; User: gunshipolitico

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,783

    ok. I finished up the code finally, but i'm still...

    ok. I finished up the code finally, but i'm still having the same problem. I don't see how these counters aren't working right. If someone can help me out i'd appreciate it. thanks.




    /*...
  2. Replies
    8
    Views
    1,783

    i keeps looping the same name and data. i must've...

    i keeps looping the same name and data. i must've put it in the wrong spot.
  3. Replies
    8
    Views
    1,783

    This is what the .dat file looks like 4...

    This is what the .dat file looks like




    4
    MBanner 35 35 35 35 35 35 35 35 34 35 35 35 36
    BHunter 40 20 40 70 35 45 78 34 56 73 15 41 55
    GJorgensen 60 62 47 68 40 53 62 88 18 15 72 12 19...
  4. Replies
    8
    Views
    1,783

    counter isnt counting right

    The counter counts right the first time. But not the next 3 times. A little confused on how this happened.




    #include <iostream>
    #include <string>
    #include <fstream>
    #include...
  5. Replies
    6
    Views
    6,958

    cube root

    how do you find this? i tried this:




    fyards = (area ^ (1/3)); //cube root



    but i came up with this:
  6. Replies
    1
    Views
    4,528

    Heres the beginning of the loop: for...

    Heres the beginning of the loop:



    for (roomCount = 1; roomCount <= rooms; roomCount++)
    {
    cout << "Enter length for Room " << roomCount << " : ";
    cin >> length;
    ...
  7. Replies
    1
    Views
    4,528

    grand total

    I'm trying to find the grand total from two totals inside a loop. I'm getting some crazy numbers. Any help would be great. Thanks.




    installCost = yards * 5;
    carpCost = yards...
  8. Replies
    5
    Views
    7,508

    oops....well the fixed everything. Thanks!

    oops....well the fixed everything. Thanks!
  9. Replies
    5
    Views
    7,508

    ok. I have an error that I think is the main...

    ok. I have an error that I think is the main problem:

    38 C:\Dev-Cpp\PROG1B.cpp `If' undeclared (first use this function)
    (Each undeclared identifier is reported only once for each function it...
  10. Replies
    5
    Views
    7,508

    converting double to long int

    I'm trying to convert a double to a long int, but i keep getting a warning message saying :

    34 C:\Dev-Cpp\PROG1B.cpp [Warning] converting to `long int' from `double'

    How do i ignore the warning...
  11. Replies
    3
    Views
    1,090

    Everything works fine now. Thanks!

    Everything works fine now. Thanks!
  12. Replies
    3
    Views
    1,090

    new to c++ need help

    ok...im new to this c++ stuff and i was wondering why the last prompt wont come up.

    here is my code:



    #include <iostream>
    #include <iomanip>

    using namespace std;
Results 1 to 12 of 12