Do you know how many C++ faqs there are on the web. If I'd had known which one the answer I was looking for I would have read it.
I'm greatful for the pointer to this one. Thanks Salem.
Type: Posts; User: Mr. Flibble
Do you know how many C++ faqs there are on the web. If I'd had known which one the answer I was looking for I would have read it.
I'm greatful for the pointer to this one. Thanks Salem.
Yes, just like that one. It wouldn't be a FAQ if no body asked it now would it :p
XP. Using Visual C++ Express, Win32 Console Application.
Can someone tell me how I can get a single character input from the keyboard, without needing to press enter? I want to get i/p from the arrow keys.
It was a 15 puzzle board like here. Got it sorted now. Tnx.
Ok. In this case I have a few different which perform operations on the array and as is each one has to get it bit by bit.
I'm trying. Tis why I came to ask for help :)
Here's my situation. I did an electronic engineering degree which only had a very small C course. Now I'm doing a software development masters and am...
Yes they are. That was my problem.
I take it that when using this the private array in the class still cannot be modified from outside the class, unless I write a Board class method to do so?
I'm still having trouble.
The line typedef int board [ MAXROW ][ MAXCOL ]; means that now if we create something of type board is it an integer array of MAXROW by MAXCOL size?
If I write int...
Thanks SKeane. That looks like it will work nicely.
Yeah, passing the array would do it too, but I want to stay away from loops, although it would be much better to have the loop at the class end...
I don't want to do this. I want to return the whole thing.
If I do this everytime I have to have a loop to get the whole array bit by bit.
I mean I want to be able to read the value, not write to it.
I'm trying to return an array, or a pointer to an array. I've tried everything and cant get it to work. Will somone have a look at my code for me and show me what is wrong.
All I have is a private...