Search:

Type: Posts; User: Neoground1

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: error

    by Neoground1
    Replies
    6
    Views
    1,085

    and it tells me i have one unresolved exturnal.

    and it tells me i have one unresolved exturnal.
  2. Thread: error

    by Neoground1
    Replies
    6
    Views
    1,085

    how can that be so when i declared it as...

    how can that be so when i declared it as select_computer_move(int []) and defined it as select_computer_move(gamestate); and gamestate is an array?
  3. Thread: error

    by Neoground1
    Replies
    6
    Views
    1,085

    Yeah i remembered that my teacher did that, so i...

    Yeah i remembered that my teacher did that, so i fixed it. Um now when i compile i get this error message.



    MichaelNeill.obj : error LNK2001: unresolved external symbol "int __cdecl...
  4. Thread: error

    by Neoground1
    Replies
    6
    Views
    1,085

    o this is a tic tac toe game

    o this is a tic tac toe game
  5. Thread: error

    by Neoground1
    Replies
    6
    Views
    1,085

    error

    When i use


    nth_next_game(x, gamestate[9]);


    I get this error;


    C:\Program Files\Microsoft Visual Studio\MyProjects\Tic Tac Toe\MichaelNeill.cpp(131) : error C2664: 'nth_next_game' :...
  6. Replies
    15
    Views
    12,571

    I was also wondering if there is a way to skip a...

    I was also wondering if there is a way to skip a line of data when you are reading it from a file. This is what im tring to do. I am reading in data from a file. The file has 4 lines of data (40...
  7. Replies
    15
    Views
    12,571

    ohhhhhhh. so thats all it does?

    ohhhhhhh. so thats all it does?
  8. Replies
    15
    Views
    12,571

    what does mod (%) do?

    I know that this is a stupid question, but I was asleep in class when the teacher explaned it and my book doesn't give a clear cut answer. So can anyone help me?
  9. Thread: Problem

    by Neoground1
    Replies
    7
    Views
    1,216

    Ok i changed my implimentation of safe(blah blah)...

    Ok i changed my implimentation of safe(blah blah) to bool safe (blah blah). Is that what yall where talking about?
  10. Thread: Problem

    by Neoground1
    Replies
    7
    Views
    1,216

    Well i guess im not seeing the differance between...

    Well i guess im not seeing the differance between




    bool safe(int);

    bool safe(int gamestate[9])
    {
    }
  11. Thread: Problem

    by Neoground1
    Replies
    7
    Views
    1,216

    Umm safe is declared with an int argument. Then...

    Umm safe is declared with an int argument. Then later on I use add safe(int gamestate[9]) that is what you are supposed to do. Now if I am not supposed to use the line if (safe(Game[9])) like that...
  12. Thread: Problem

    by Neoground1
    Replies
    7
    Views
    1,216

    Problem

    source.obj : error LNK2001: unresolved external symbol "bool __cdecl safe(int)" (?safe@@YA_NH@Z)


    Would anyone know why I get this message when ever i try to run my program.




    #include...
  13. Thread: question

    by Neoground1
    Replies
    1
    Views
    767

    question

    Can anyone help me. I have a bit of code that i need for my next project (anouther damn tic tac toe project) but I can't seem to get it to work. This is the code my teacher gave in class so its...
  14. Thread: Helpmeplz

    by Neoground1
    Replies
    11
    Views
    1,149

    Basically im trying to write a algorithm that...

    Basically im trying to write a algorithm that will check all the differant squares for an 'x'. If there are 2 x's in a row, colum, or dialgnal then move to the square to block it. Thats all i need....
  15. Thread: Helpmeplz

    by Neoground1
    Replies
    11
    Views
    1,149

    #include #include using...

    #include <iostream>
    #include <string>

    using namespace std;

    bool endgame=false;

    int rungame();
    char board[9]={0,1,2,3,4,5,6,7,8};
  16. Thread: Helpmeplz

    by Neoground1
    Replies
    11
    Views
    1,149

    Helpmeplz

    Hey guys there is some code that i need to finish my program, well at least the easy way, but I dont understand it. Im writting a tic tac toe program where the computer must never be beaten. This...
  17. Thread: syntax help

    by Neoground1
    Replies
    4
    Views
    1,415

    syntax help

    char row[3]={0,1,2};

    row[0]=(board[0])&&(board[1])&&(board[2]);



    Will this code work to assign the first number of the array (row[0]) these three values? Visual Studio doesn't pickup on any...
  18. Replies
    1
    Views
    943

    syntax question

    If you have a bunch of if statements saying if somthing does not equal somthing else do this. Then later on in the same string can you say if somthing does equal something else? Juz wondering.
  19. Thread: Help

    by Neoground1
    Replies
    13
    Views
    1,247

    Welp once again you can disregaurd that last...

    Welp once again you can disregaurd that last question. Ill try to save any responsis for when I don't know how to answer the question my self.
  20. Thread: Help

    by Neoground1
    Replies
    13
    Views
    1,247

    never mind guys.....didn't see that the board...

    never mind guys.....didn't see that the board array wasn't a char. But why when ever my board is printed does the computer make a beep?
  21. Thread: Help

    by Neoground1
    Replies
    13
    Views
    1,247

    #include #include using...

    #include <iostream>
    #include <string>

    using namespace std;

    bool endgame=false;

    int rungame();
    int board[9]={0,1,2,3,4,5,6,7,8};
  22. Thread: Help

    by Neoground1
    Replies
    13
    Views
    1,247

    O and juz to check. If I make a global array and...

    O and juz to check. If I make a global array and then say something like this




    array[0]='x';


    That means that the first number in the array is givin the value of X. Well will that value...
  23. Thread: Help

    by Neoground1
    Replies
    13
    Views
    1,247

    I take it that static means global, or where you...

    I take it that static means global, or where you juz giving me an example?
  24. Thread: Help

    by Neoground1
    Replies
    13
    Views
    1,247

    Ok.......I was wondering how the function would...

    Ok.......I was wondering how the function would work? If I use an array to store the board in and then I give the blocks (numbers of the array) an value of x or o (the array is a char). So if the...
  25. Thread: Help

    by Neoground1
    Replies
    13
    Views
    1,247

    MethodMan Im not quit understanding what you mean...

    MethodMan Im not quit understanding what you mean by method. Is method supposed to be an array or function?
Results 1 to 25 of 74
Page 1 of 3 1 2 3