What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » C++ Bidimensional Array Help! :P

C++ Bidimensional Array Help! :P
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: C++ Bidimensional Array Help! :P
code:
class SquareMatrix{
public:
    SquareMatrix(int n);

private:
    int matrix[][];
}

SquareMatrix::SquareMatrix(int n) {
    matrix = new int[n][n];
}
Get a book ;)

Edit: [code] should also turn on [noparse] :mipdodgy:

This post was edited on 07-21-2005 at 04:50 PM by RaceProUK.
[Image: spartaafk.png]
07-21-2005 04:49 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
C++ Bidimensional Array Help! :P - by leito on 07-21-2005 at 04:26 AM
RE: C++ Bidimensional Array Help! :P - by RaceProUK on 07-21-2005 at 04:49 PM
RE: C++ Bidimensional Array Help! :P - by leito on 07-22-2005 at 01:28 AM
RE: C++ Bidimensional Array Help! :P - by RaceProUK on 07-22-2005 at 08:37 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On