Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Counting characters in a buffer Pin
rrrado10-Apr-03 2:50
rrrado10-Apr-03 2:50 
GeneralRe: Counting characters in a buffer Pin
yaname10-Apr-03 3:29
yaname10-Apr-03 3:29 
GeneralRe: Counting characters in a buffer Pin
Overfiend10-Apr-03 20:35
Overfiend10-Apr-03 20:35 
QuestionHow to ignore Window activate ? Pin
rrrado10-Apr-03 2:19
rrrado10-Apr-03 2:19 
AnswerRe: How to ignore Window activate ? Pin
imsniper11-Apr-03 0:41
imsniper11-Apr-03 0:41 
AnswerRe: How to ignore Window activate ? Pin
imsniper11-Apr-03 1:00
imsniper11-Apr-03 1:00 
GeneralRe: How to ignore Window activate ? Pin
rrrado11-Apr-03 3:20
rrrado11-Apr-03 3:20 
Generaltypedef declaration Pin
Rage10-Apr-03 0:51
professionalRage10-Apr-03 0:51 
Hi !

I have a class named CGroup in a standard couple of file .cpp and .h, and I'd like to use a STL vector of CGroups in a structure.
So I typdefed it in stdafx.h (as explained in a CP article about using STL ) like that : typedef vector<CGroup> tv_Group. The problem is, the compiler is unable to find the "size" of a CGroup class, since the typedef occurs before the class declaration, and therefore throws an error.

I've also tried
class CGroup;
typedef vector<CGroup> tv_Group;
unsuccessfully.

I can remember having seen a post here in the forum recently about exactly the same problem, but I have forgotten the proposed solution Roll eyes | :rolleyes: (Only to say, there _is_ a way to do it).

Thanks for any help.


~RaGE();
GeneralRe: typedef declaration Pin
Zdeslav Vojkovic10-Apr-03 1:55
Zdeslav Vojkovic10-Apr-03 1:55 
GeneralCryptographic Service Pin
YaronNir10-Apr-03 0:48
YaronNir10-Apr-03 0:48 
GeneralRe: Cryptographic Service Pin
IceMatrix11-Apr-03 7:21
IceMatrix11-Apr-03 7:21 
GeneralDrag&Drop Pin
vijayaramaraju10-Apr-03 0:42
vijayaramaraju10-Apr-03 0:42 
GeneralWriting on CD-R/CDRW Pin
DiscoverSK10-Apr-03 0:31
DiscoverSK10-Apr-03 0:31 
GeneralRe: Writing on CD-R/CDRW Pin
CodeBrain10-Apr-03 2:20
CodeBrain10-Apr-03 2:20 
GeneralRe: Writing on CD-R/CDRW Pin
J. Dunlap10-Apr-03 8:29
J. Dunlap10-Apr-03 8:29 
GeneralRe: Writing on CD-R/CDRW Pin
Colin Urquhart10-Apr-03 19:56
Colin Urquhart10-Apr-03 19:56 
GeneralCEditView Pin
Davy Mitchell9-Apr-03 23:41
Davy Mitchell9-Apr-03 23:41 
QuestionWhat does it mean ? Pin
Rage9-Apr-03 23:39
professionalRage9-Apr-03 23:39 
AnswerRe: What does it mean ? Pin
Zdeslav Vojkovic10-Apr-03 0:25
Zdeslav Vojkovic10-Apr-03 0:25 
GeneralRe: What does it mean ? Pin
Rage10-Apr-03 0:36
professionalRage10-Apr-03 0:36 
AnswerRe: What does it mean ? Pin
Daniel Strigl10-Apr-03 0:28
Daniel Strigl10-Apr-03 0:28 
GeneralRe: What does it mean ? Pin
Rage10-Apr-03 0:52
professionalRage10-Apr-03 0:52 
Generalmodify style window Pin
jeremysay9-Apr-03 23:27
jeremysay9-Apr-03 23:27 
GeneralRe: modify style window Pin
Zdeslav Vojkovic10-Apr-03 2:54
Zdeslav Vojkovic10-Apr-03 2:54 
GeneralRe: modify style window Pin
jeremysay10-Apr-03 3:35
jeremysay10-Apr-03 3:35 

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.