Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: worker thread and status bar updates Pin
Alexandru Savescu14-May-02 3:43
Alexandru Savescu14-May-02 3:43 
GeneralRe: worker thread and status bar updates Pin
Gunnar14-May-02 13:14
Gunnar14-May-02 13:14 
GeneralString error Pin
tongc14-May-02 3:20
tongc14-May-02 3:20 
GeneralRe: String error Pin
Martin Speiser14-May-02 3:36
Martin Speiser14-May-02 3:36 
GeneralRe: String error Pin
Chris Losinger14-May-02 3:37
professionalChris Losinger14-May-02 3:37 
GeneralRe: String error Pin
Jonathan Craig14-May-02 3:33
Jonathan Craig14-May-02 3:33 
GeneralRe: String error Pin
Alexandru Savescu14-May-02 3:35
Alexandru Savescu14-May-02 3:35 
GeneralRe: String error Pin
tongc14-May-02 3:42
tongc14-May-02 3:42 
yeah, i understand it now. however it keeps produce another error.

this my class definition for the Group Class
class Group
{
public:

Group::Group(CString t1, CString t2, CString t3, CString t4);
CString Group::GetTeam(int i);
void Group::PutResult(int t1, int s1, int t2, int s2);
void Group::GetLadder();

private:

CStringArray team;
int res[4][4];


};

and this is my implementation for the constructor:

class Group
{
public:

Group::Group(CString t1, CString t2, CString t3, CString t4);
CString Group::GetTeam(int i);
void Group::PutResult(int t1, int s1, int t2, int s2);
void Group::GetLadder();

private:

CStringArray team;
int res[4][4];


};

and this is how i used it in the Doc

Group groupA(CString("France"), CString("Senegal"), CString("Uruguay"), CString("Denmark"));

and this is the error it produces

unexpected 'class CString ('

Regard

GeneralRe: String error Pin
Alexandru Savescu14-May-02 3:47
Alexandru Savescu14-May-02 3:47 
GeneralRe: String error Pin
tongc14-May-02 3:52
tongc14-May-02 3:52 
QuestionHeap memory error? Pin
Martin Laporte14-May-02 3:27
Martin Laporte14-May-02 3:27 
AnswerRe: Heap memory error? Pin
Chris Losinger14-May-02 3:35
professionalChris Losinger14-May-02 3:35 
AnswerRe: Heap memory error? Pin
Maxwell Chen14-May-02 3:35
Maxwell Chen14-May-02 3:35 
AnswerRe: Heap memory error? Pin
James R. Twine14-May-02 5:08
James R. Twine14-May-02 5:08 
GeneralJPEG Question Pin
AJ12314-May-02 3:18
AJ12314-May-02 3:18 
GeneralRe: JPEG Question Pin
Chris Losinger14-May-02 3:33
professionalChris Losinger14-May-02 3:33 
GeneralRe: JPEG Question Pin
Jon Hulatt14-May-02 4:17
Jon Hulatt14-May-02 4:17 
GeneralRe: JPEG Question Pin
Chris Losinger14-May-02 4:31
professionalChris Losinger14-May-02 4:31 
GeneralMemory: Debug vs. real world Pin
Mike Osbahr14-May-02 3:05
Mike Osbahr14-May-02 3:05 
GeneralRe: Memory: Debug vs. real world Pin
Roger Allen14-May-02 3:57
Roger Allen14-May-02 3:57 
GeneralRe: Memory: Debug vs. real world Pin
Mike Osbahr15-May-02 2:11
Mike Osbahr15-May-02 2:11 
GeneralRe: Memory: Debug vs. real world Pin
Mike Osbahr20-May-02 3:04
Mike Osbahr20-May-02 3:04 
QuestionHow to get MODEMDEVCAPS by calling GetCommProperties ? Pin
koteswara14-May-02 3:09
koteswara14-May-02 3:09 
GeneralCTreeCtrl Pin
Karavaev Denis14-May-02 2:50
Karavaev Denis14-May-02 2:50 
GeneralRe: CTreeCtrl Pin
14-May-02 3:12
suss14-May-02 3:12 

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.