Search:

Type: Posts; User: fsufan22

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    2,141

    oooo yea I see that now. that randmax function...

    oooo yea I see that now. that randmax function was given to me. I'll check on that. Thanks for the help.
  2. Replies
    10
    Views
    2,141

    randmax is returning a value of 1 for some reason...

    randmax is returning a value of 1 for some reason now. heres what I've done to it since that first post


    #include <iostream>
    #include <cstdlib>

    using namespace std;

    int randmax (int);
  3. Replies
    10
    Views
    2,141

    gotcha, it compiles with no warnings now, but...

    gotcha, it compiles with no warnings now, but nothing is returning from the randmax function. I stepped through it with the debugger, and it returns a value of 1 for some reason I can't figure out....
  4. Replies
    10
    Views
    2,141

    ooooo ok thanks. any ideas why its giving me a...

    ooooo ok thanks. any ideas why its giving me a warning about the &#37;?

    "warning C4552: '%' : operator has no effect; expected operator with side-effect"
  5. Replies
    10
    Views
    2,141

    I thought I was sending the variable into the...

    I thought I was sending the variable into the randmax function to get some random value that I would then modulus into the card. I didn't think it needed to have a value before being sent to the...
  6. Replies
    10
    Views
    2,141

    blackjack simulator

    Trying to code a blackjack simulator. just kinda practicing with this code to get a handle on what Im going to have to do, but i keep getting errors about the "%" operand and an uninitialized varible...
  7. Replies
    7
    Views
    1,670

    i got it to reprint it. thanks a lot for the help

    i got it to reprint it. thanks a lot for the help
  8. Replies
    7
    Views
    1,670

    yea that was stupid of me. thanks. but how do I...

    yea that was stupid of me. thanks. but how do I get it to read and print the content again?
  9. Replies
    7
    Views
    1,670

    I was trying to reprint the file there, I can't...

    I was trying to reprint the file there, I can't figure out how to do it so I just took what made it print the first time and copied and pasted.
  10. Replies
    7
    Views
    1,670

    Help with loops

    Hey everyone I'm very new to c++ and need some help. I'm trying to write a program that opens a text file, prints it, then prints it again with every 5th word replaced by blanks. I can get the file...
Results 1 to 10 of 10