Click here to Skip to main content
15,891,745 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Generalremoving variable Pin
joseph19503-Jun-05 2:56
joseph19503-Jun-05 2:56 
GeneralRe: removing variable Pin
toxcct3-Jun-05 3:33
toxcct3-Jun-05 3:33 
GeneralRe: removing variable Pin
joseph19503-Jun-05 4:15
joseph19503-Jun-05 4:15 
GeneralLabel Text problems Pin
Hmmkk2-Jun-05 8:34
Hmmkk2-Jun-05 8:34 
GeneralRe: Label Text problems Pin
Christian Graus2-Jun-05 10:02
protectorChristian Graus2-Jun-05 10:02 
GeneralRe: Label Text problems Pin
Hmmkk2-Jun-05 10:25
Hmmkk2-Jun-05 10:25 
GeneralRe: Label Text problems Pin
Christian Graus2-Jun-05 10:30
protectorChristian Graus2-Jun-05 10:30 
GeneralRe: Label Text problems Pin
Hmmkk2-Jun-05 10:38
Hmmkk2-Jun-05 10:38 
//Object creation
static const int MAX_QUESTIONS = 10;
int CurrentQuestion;
Question *myQuestions[MAX_QUESTIONS];

//Some of the Question class
class Question
{
public:
Question();
~Question();
void setQuestion(string Question) {theQuestion = Question;}
string getQuestion() { theQuestion = "hi"; return theQuestion.c_str();}
string getClue() { return theClue;}


private:
string theQuestion;
};

//The update method
void MainForm::UpdateScreen()
{
lblStatus->Text = S"Updating";
lblQ->Text = new System::String(myQuestions[CurrentQuestion]->getQuestion().c_str());
}

I bet there's something wrong about the declaration of object or?

Best Regards,
Hmmkk
GeneralRe: Label Text problems Pin
Christian Graus2-Jun-05 10:46
protectorChristian Graus2-Jun-05 10:46 
GeneralRe: Label Text problems Pin
Hmmkk2-Jun-05 10:48
Hmmkk2-Jun-05 10:48 
GeneralRe: Label Text problems Pin
Hmmkk2-Jun-05 10:57
Hmmkk2-Jun-05 10:57 
GeneralRe: Label Text problems Pin
Christian Graus2-Jun-05 12:18
protectorChristian Graus2-Jun-05 12:18 
GeneralPassing data between forms Pin
richiemac1-Jun-05 8:58
richiemac1-Jun-05 8:58 
GeneralRe: Passing data between forms Pin
Saksida Bojan1-Jun-05 19:40
Saksida Bojan1-Jun-05 19:40 
GeneralRe: Passing data between forms Pin
Lagwagon561-Jun-05 10:12
Lagwagon561-Jun-05 10:12 
GeneralRe: Passing data between forms Pin
richiemac1-Jun-05 21:32
richiemac1-Jun-05 21:32 
GeneralRe: Passing data between forms Pin
richiemac1-Jun-05 22:37
richiemac1-Jun-05 22:37 
GeneralRe: Passing data between forms Pin
Lagwagon562-Jun-05 4:27
Lagwagon562-Jun-05 4:27 
GeneralRe: Passing data between forms Pin
Saksida Bojan2-Jun-05 20:10
Saksida Bojan2-Jun-05 20:10 
GeneralRe: Passing data between forms Pin
richiemac5-Jun-05 5:34
richiemac5-Jun-05 5:34 
Generalpanel component problems Pin
richiemac31-May-05 6:44
richiemac31-May-05 6:44 
GeneralRe: panel component problems Pin
Christian Graus31-May-05 13:49
protectorChristian Graus31-May-05 13:49 
GeneralRe: panel component problems Pin
richiemac31-May-05 21:47
richiemac31-May-05 21:47 
GeneralRe: panel component problems Pin
Christian Graus31-May-05 21:51
protectorChristian Graus31-May-05 21:51 
GeneralRe: panel component problems Pin
richiemac31-May-05 22:43
richiemac31-May-05 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.