Search:

Type: Posts; User: D-Man

Search: Search took 0.01 seconds.

  1. Thread: new, needs help

    by D-Man
    Replies
    9
    Views
    1,036

    getch() waits for a keypress i think , You could...

    getch() waits for a keypress i think , You could also just run your program in the command prompt. Start-> Run -> Command and then execute your program with that. When running the executable strait...
  2. Replies
    8
    Views
    1,804

    Im assuming you have windows. For windows you...

    Im assuming you have windows. For windows you can't really go wrong with visual c++. Other wise i use Borland which isnt bad either. I *THINK* borland has a free trial or something like it. So you...
  3. No Problem :D

    No Problem :D
  4. Replies
    3
    Views
    1,692

    www.gametutorials.com HAS THE BEST ONES!!!

    www.gametutorials.com HAS THE BEST ONES!!!
  5. Replies
    9
    Views
    8,344

    I probley just mis interprited what he had said....

    I probley just mis interprited what he had said. Live and learn.
  6. Replies
    9
    Views
    8,344

    That only initializes the first char in the...

    That only initializes the first char in the array, at least thats what my instructor has told me. If im wrong i appologize.
  7. Replies
    9
    Views
    8,344

    I agree with setting a value to the array...

    I agree with setting a value to the array initially but how you did it doesnt work



    char array[1] = { 0 };


    would be fine, but the rest of those 59 values in
  8. when you want to end a loop use break; also...

    when you want to end a loop use

    break;

    also doing

    char filename[50] isnt such a good idea. A better way would be to
  9. Replies
    4
    Views
    965

    Best site ive seen on C++ or C is...

    Best site ive seen on C++ or C is www.gametutorials.com . The people that make the tutorials there are great. Try that out if you have visual c++.
  10. Thread: a small program

    by D-Man
    Replies
    13
    Views
    2,039

    FracAns = Fn*Sn / Fd*Sd ; PercAns = FracAns /...

    FracAns = Fn*Sn / Fd*Sd ;
    PercAns = FracAns / 100;

    he is infact trying to divide the fractions... the reason I put

    if ((Fd*Fn*Sn*Sd) == 0)

    Was to check if any of the numbers are equal to...
  11. Replies
    9
    Views
    2,604

    apstring.find(letter);

    apstring.find(letter);
  12. Thread: a small program

    by D-Man
    Replies
    13
    Views
    2,039

    Hes not adding fractions hes dividing them. 1/4...

    Hes not adding fractions hes dividing them. 1/4 divided by 0/4 is what? If you were adding then you would have to do

    if((Fd*Sd) == 0)

    but that wasnt the case.
  13. Replies
    9
    Views
    2,604

    Apstring is for beginners, i like string better...

    Apstring is for beginners, i like string better but whatever. Here is the ones i used from before. If your using Borland just do what you did before except put these files into your include...
  14. Thread: a small program

    by D-Man
    Replies
    13
    Views
    2,039

    int Fn ,Fd, Sn, Sd; int FracAns=0; float...

    int Fn ,Fd, Sn, Sd;

    int FracAns=0;
    float PercAns =0;

    cout<<"enter the numerator and the denomenator for the first fraction"<<endl;
    cin>>Fn;
    cin>>Fd;
    cout<<"Enter the numerator and the...
Results 1 to 14 of 14