Search:

Type: Posts; User: Mr. Flibble

Search: Search took 0.00 seconds.

  1. Do you know how many C++ faqs there are on the...

    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.
  2. Yes, just like that one. It wouldn't be a FAQ if...

    Yes, just like that one. It wouldn't be a FAQ if no body asked it now would it :p
  3. XP. Using Visual C++ Express, Win32 Console...

    XP. Using Visual C++ Express, Win32 Console Application.
  4. How to get single character input without pressing return

    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.
  5. Replies
    17
    Views
    2,225

    It was a 15 puzzle board like here...

    It was a 15 puzzle board like here. Got it sorted now. Tnx.
  6. Replies
    17
    Views
    2,225

    Ok. In this case I have a few different which...

    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.
  7. Replies
    17
    Views
    2,225

    I'm trying. Tis why I came to ask for help :) ...

    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...
  8. Replies
    17
    Views
    2,225

    Yes they are. That was my problem. I take it...

    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?
  9. Replies
    17
    Views
    2,225

    I'm still having trouble. The line typedef...

    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...
  10. Replies
    17
    Views
    2,225

    Thanks SKeane. That looks like it will work...

    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...
  11. Replies
    17
    Views
    2,225

    I don't want to do this. I want to return the...

    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.
  12. Replies
    17
    Views
    2,225

    I mean I want to be able to read the value, not...

    I mean I want to be able to read the value, not write to it.
  13. Replies
    17
    Views
    2,225

    How do I return an Array?

    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...
Results 1 to 13 of 13