Search:

Type: Posts; User: razzaz

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    1,597

    i still dont understand how to do it :( i just...

    i still dont understand how to do it :( i just started c++ not long ago and im getting lost in my own coding :/
  2. Replies
    12
    Views
    1,597

    Here is my code, icant get the game to end when...

    Here is my code, icant get the game to end when the grids are the same :/



    // heero.cpp : Defines the entry point for the console application.
    //
    #include "stdafx.h"
    #include <iostream> ...
  3. Replies
    12
    Views
    1,597

    ye, each time a move has been done each position...

    ye, each time a move has been done each position in the startgrid needs to compared with the goalgrid and that's what im wondering how i can do? i have no clue at all :/ could you give me an example?
  4. Replies
    12
    Views
    1,597

    array/grid qustion

    Hello

    im trying to make a c++ program and If for example i have aarray/grids that prints this out a startgrid and a goal grid like this

    startgrid
    1 2 3
    4 5 6
    7 8 X

    goalgrid
  5. Replies
    18
    Views
    2,499

    ah... what i tryed now as seen below is that i...

    ah... what i tryed now as seen below is that i put the loop above the grids and threw in a "system ("cls");" under them, what i however dont know now is if i made this work corrently or not as X is...
  6. Replies
    18
    Views
    2,499

    thank you very very much for the guidence guys!...

    thank you very very much for the guidence guys! :) i dont know how to thank you enough, i though have one last question if i may. :/

    When the game starts you have the starting grid and the goal...
  7. Replies
    18
    Views
    2,499

    i think this is correct? :/ #include...

    i think this is correct? :/


    #include "stdafx.h"
    #include <iostream>
    #include <fstream>
    #include <string>
    using namespace std;

    void jump(char start[][3],int x, int y);
  8. Replies
    18
    Views
    2,499

    ah i se, thank you! :) now the thing i still cant...

    ah i se, thank you! :) now the thing i still cant figure out is moving X and how to swap positions with X and the numbers :/
  9. Replies
    18
    Views
    2,499

    what should i do then? this is the part i cant...

    what should i do then? this is the part i cant understand :/
  10. Replies
    18
    Views
    2,499

    need help with a number game

    Hello there

    Im trying to make a numbers game and i have gotten so far as to display a 3*3 grid, fil it with the numbers 1-8 and and X in the 9'th grid, and now what i need some help with is...
  11. Replies
    5
    Views
    1,176

    ah sorry i actully did not notice that i printed...

    ah sorry i actully did not notice that i printed one new line wich i now removed. How could i make it insteed print the numbers after every row isnteed ? :/
  12. Replies
    5
    Views
    1,176

    if i print out "grid[i][n]" the number become...

    if i print out "grid[i][n]" the number become 1,2,3,4,5,6,7,8, and the same with count :/ it is supposed to look someting like this

    http://www.imagefrog.net/out.php/i2912_4.jpg
  13. Replies
    5
    Views
    1,176

    help with a grid

    Hello

    I got this grid working as you can se in the code bellow, but when i try to make some printf (or cout) to make it show some numbers i only get "0 0 1 1 2 2" displayed in a line. anyone know...
  14. Replies
    3
    Views
    1,127

    Hey there :) WHat i wanted to try to make is a...

    Hey there :)

    WHat i wanted to try to make is a game in 3*3 squares with 1 number in each square except the last one as i said in the other post. the blank one you are supposed to be able to move...
  15. Replies
    3
    Views
    1,127

    newbie needs help

    Hello there.

    Im trying to learn C++ and have done some smaller things but wanted to make a little test game and need some help if possible. i wanted to load from a file a gamearea that is 3x3...
Results 1 to 15 of 15