Search:

Type: Posts; User: renderstream

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    3,928

    also what does this mean printf ("%d",...

    also what does this mean

    printf ("%d", scanf("%d", &var));

    ? Does this return 1 if the variable is filled, and 0 if its null?

    thanks
  2. Replies
    3
    Views
    3,928

    scanf, prevent input letters

    Hi, how do i prevent them from entering letters when i ask for numbers, using scanf
  3. Replies
    12
    Views
    1,574

    Put an exit value at the menu, and then put a...

    Put an exit value at the menu, and then put a 'do..while' loop around the code.

    So say if exit is case 5...



    Do {

    *Your code here*
  4. Replies
    7
    Views
    3,947

    My First c++ program : TIC TAC TOE !

    Hi all, just completed my first c++ program! After asking some questions on these and other boards, i was able to complete it.



    #include <iostream>
    #include <stdlib.h>
    #include <string>...
  5. Replies
    8
    Views
    1,500

    hm,, why this dont work if (playerturn % 2 == 1...

    hm,, why this dont work
    if (playerturn % 2 == 1 && boardarray2[moverow][movecollumn]=false)
  6. Replies
    8
    Views
    1,500

    thanks, this board ROCKS! Im almost done my first...

    thanks, this board ROCKS! Im almost done my first c++ program, TIC TAC TOE!
  7. Replies
    8
    Views
    1,500

    If (statement) and (statement)

    Hi, how to have muilti-conditions on an IF statment?
  8. Replies
    9
    Views
    2,148

    OK another Question... How to make a public...

    OK another Question... How to make a public variable so all functions/structures can access them?
  9. Replies
    9
    Views
    2,148

    Ah! Ok. But before, when i used WIN32 app, it...

    Ah! Ok. But before, when i used WIN32 app, it still worked with this code... but honestly, it really doesnt matter anymore.

    I will use console from now on with console applications :)

    Also, ive...
  10. Replies
    9
    Views
    2,148

    hm.. works fine after taking your advice. Few...

    hm.. works fine after taking your advice.

    Few questions though:

    - Whats the difference between the 2?
    - Why did it work before with WIN32 ?

    Thanks!
  11. Replies
    9
    Views
    2,148

    c++ compiling errors... very odd!

    Hi, my VC++ 6 is acting wierd. After i try running a few small programs, it gives me this error:

    --------------------Configuration: a - Win32 Debug--------------------
    Linking......
Results 1 to 11 of 11