Search:
Type: Posts; User: RobotJones
Search:
Search took 0.18 seconds.
-
Forgive me, but when you say double-click the comboBox, do you mean the makeComboBox which the user chooses the make of the car, or the modelComboBox which will be popluated from the database? ...
-
Can I use an object property (such as the Text value from a comboBox) in an SQL query so that the query results will be dependent upon the user's choice of said comboBox?
I have a makeComboBox...
-
March 16th, 2008, 10:43 PM
How would you go about writing that? I could make a class that has an overloaded increment operator and a private data member of type int called counter which would be incremented each time a player...
-
March 16th, 2008, 09:30 PM
I'm using Microdoft Visual C++ 2008 Express Edition, but I'm currently using it to create a console chess application. I have an enumerated type called Player, and a variable of type Player called...
-
March 8th, 2008, 10:50 PM
How can I initialize an array of type int inside a class constructor's initialization list?
class myClass
{
public:
myClass(void);
private:
int myArray[4];
-
March 8th, 2008, 07:43 AM
Actually, I'm an idiot! I just answered the last question incorrectly. These are NOT class methods that I'm trying to define. They are just plain ol' functions. I was confusing this with another...
-
March 8th, 2008, 07:33 AM
Not just any ol' function -- Private class methods. And I might have misunderstood this but I was under the impression that by putting a class method's definition inside the class declaration it...
-
March 8th, 2008, 02:11 AM
Do you mean that if both Piece and Player need this enum:
enum Type { PAWN, KNIGHT, BISHOP, ROOK, QUEEN, KING, NO_TYPE };
...that I should actually have it written twice? One in each of...
-
March 8th, 2008, 12:54 AM
I'm building a console chess application that (so far) has 10 files:
(3 classes)
Move.h, Move.cpp
Piece.h, Piece.cpp
Player.h, Player.cpp
(display module contains functions used for screen...
-
March 5th, 2008, 10:00 AM
Thank you both for your help, I believe I understand now. And in the future I'll be sure to put my code inside of code tags. Sorry about that.
So here's my follow-up question: If I were to...
-
March 5th, 2008, 02:09 AM
I have class 'ClassA' which has a constructor that takes an int, but no default constructor. Then, I have 'ClassB' which contains a private data member 'myArray[8]' of type 'ClassA'. If I...
-
December 9th, 2007, 06:59 PM
Thank you. I'm gonna bookmark that site. It looks like it's THE source for C++ programming as far as syntax, structure, form, libraries, that sort of thing. Thanks again.
-
December 9th, 2007, 01:45 PM
Can I use an enumeration inside a class declaration/definition? Should it be pubic or private? I'm talking about defining an enumerated type which will be used as the type for one of the private...
|
Click Here to Expand Forum to Full Width
|