Ok.
I can see file I/O but that's probably not what i'm looking for? Can't see anything about vectors.
Type: Posts; User: mt1
Ok.
I can see file I/O but that's probably not what i'm looking for? Can't see anything about vectors.
cout << " " << board[7];
cin >> board[7];
*shrugs*
Never dealt with vectors before, was just an idea I cam across whilst reading my book, thought I could adapt from the Tic Tac Toe program from the book. I tried to adapt from it but it's proving a...
1. The void displayboard function, "You could just put them into your vector before you show the board the first time. " I don't know what you mean by this.
2. I'm still trying to get my program...
Changed thanks. I'm still not too sure how to tackle this.
Yes.
Don't understand?
Is there not another way to do this?
// Sudoku
#include <iostream>
#include <string>
#include <vector>
#include <windows.h>
Yep, I got it now, just going to take me a while lmao. Thanks all.
Ahh.. ok, i'll go try it again, thanks.
Well the number 0-80 represents the cell location, the program asks the user to input say cell location 15, then a number 1-9.
To be honest i don't really know how to tackle this. :confused:
Hi guys, please bare with me, i'm a bit of a newbie to C++. I'm trying to write a Sudoku puzzle. I'm trying to get the program to ask the user a number between 0-80 (which represents the board...