Search:

Type: Posts; User: _Will333_

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,675

    *starts crying* I can NOT believe I didn't see...

    *starts crying*

    I can NOT believe I didn't see that!!!! aaghhhgrhghghghhghg


    thank you for showing me the light :)
  2. Replies
    20
    Views
    5,618

    http://www.jedifaith.com/ I even went so far...

    http://www.jedifaith.com/

    I even went so far as you emailling one of the leaders to "humor him". Believe me, this guy wasn't kidding! :eek:
  3. Replies
    5
    Views
    1,675

    nevermind, got it: int count = 1;...

    nevermind, got it:



    int count = 1;
    double temp = num;

    while (temp > 10)
    {
    temp = temp / 10;
  4. Replies
    5
    Views
    1,675

    The one I'm having trouble with it outputting it...

    The one I'm having trouble with it outputting it in normal order, I already figured out how to do it in reverse order. Thanks, though. :) (sorry if I'm not makin much sense...its a bit...
  5. Replies
    5
    Views
    1,675

    need some help

    Ok, what I'm trying to do is take an integer and display each digit, one per line, in reverse order:

    // num = 123
    //displays
    3
    2
    1

    and in normal order
    // num = 123
  6. Thread: C++ Help!

    by _Will333_
    Replies
    3
    Views
    1,525

    In reality don't they cut the same number of...

    In reality don't they cut the same number of pieces for every pizza? It'd make more sense to find the diameter of each pizza then calculate the area. But of course you still run into the problem of...
  7. I'm guessin you want to prompt for the second...

    I'm guessin you want to prompt for the second varible "b" to get the sum of both. In this case b has no value when its given to the other function, so only garbage (leftover in memory location) will...
  8. Replies
    7
    Views
    985

    What he said was right but if you divide by 100...

    What he said was right but if you divide by 100 the max int remainder you can have it 99 ;)
  9. Replies
    4
    Views
    954

    Prime numbers are numbers that are only be...

    Prime numbers are numbers that are only be divisible by 1 and themself.

    Anyway, that thread is right here :)
    http://www.cprogramming.com/cboard/showthread.php?s=&threadid=11499&highlight=prime
  10. Replies
    6
    Views
    1,140

    ok try that one :) for your first getinput...

    ok try that one :)

    for your first getinput function the return command can only give back 1 variable. This means the 2 inputs you have cannot be put back to main (they're local to function) using...
  11. Replies
    6
    Views
    1,140

    new code: #include // using...

    new code:


    #include <iostream.h>
    // using namespace std;

    void getinput (int& num1, int& num2);
    // pre & post: comments

    int getmax (int num1, int num2);
  12. Replies
    6
    Views
    1,140

    first: You need function definitions. ...

    first: You need function definitions.

    example: int getinput(int num1, int num2); < -- notice the ";"

    these should be at the beginning before main, or before you use the function.
    ...
  13. yup int / int = int 9 / 2 = 4 double /...

    yup

    int / int = int
    9 / 2 = 4

    double / double = double
    9.0 / 2.0 = 4.5

    and double / int or int / double = double
  14. Replies
    3
    Views
    1,129

    Well I found out go to change the...

    Well I found out go to change the fore/back-ground, console name, and a few other things but they're only aimed towards windows-based consoles. Not that thats a big problem since not many people...
  15. Replies
    3
    Views
    1,129

    Yeah, I've been wondering how/if you can do this...

    Yeah, I've been wondering how/if you can do this as well. Someone mentioned that you can change the color of text at least...but how would you go about doing this? What about larger size text, or...
  16. Replies
    8
    Views
    1,289

    best C++ compiler

    I'm just beginning to learn C++ and was wondering what compiler you guys would suggest. I'm using borland 5.02 at the moment and it hasn't been giving me troubles but of course I really haven't done...
Results 1 to 16 of 16