Search:

Type: Posts; User: UPNPAD

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    3,774

    Code for Replaying a Game w/o Restarting it?

    Hi I made this game just for the fun of it:


    #include <stdafx.h>
    #include <iostream>
    #include <cstdlib>
    #include <time.h>

    using namespace std;
  2. Replies
    8
    Views
    1,724

    Robatino, yeh I wanted to try and make a program...

    Robatino, yeh I wanted to try and make a program that would find those for me, as I haven't learnt how to do it yet (at school). And in one of the different attempts the computer printed -10, and as...
  3. Replies
    8
    Views
    1,724

    Thanks, I tried it once and it didn't work: ...

    Thanks, I tried it once and it didn't work:


    int main()
    {
    for (int n = 0; n < 1000; n = n + 14){
    if ((n + 17)%(n - 7) == 0){
    cout<<n <<endl;
    }
    }
  4. Replies
    8
    Views
    1,724

    Maths Programming Help

    Hey, I new to C++ and I was trying to make a program that solved a maths problem for me (I wanted to find out how many times the anwer would be a positive integer, given that n is a positive...
Results 1 to 4 of 4