Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Why modeless dialog blank Pin
_Pinux_29-Nov-07 2:42
_Pinux_29-Nov-07 2:42 
GeneralRe: Why modeless dialog blank Pin
CPallini29-Nov-07 3:30
mveCPallini29-Nov-07 3:30 
GeneralRe: Why modeless dialog blank Pin
_Pinux_29-Nov-07 4:05
_Pinux_29-Nov-07 4:05 
QuestionRe: Why modeless dialog blank Pin
David Crow29-Nov-07 3:46
David Crow29-Nov-07 3:46 
AnswerRe: Why modeless dialog blank Pin
_Pinux_29-Nov-07 4:25
_Pinux_29-Nov-07 4:25 
QuestionMulti threading Pin
Jothi.G8129-Nov-07 1:19
Jothi.G8129-Nov-07 1:19 
AnswerRe: Multi threading Pin
Cedric Moonen29-Nov-07 1:29
Cedric Moonen29-Nov-07 1:29 
GeneralRe: Multi threading Pin
Cedric Moonen29-Nov-07 1:37
Cedric Moonen29-Nov-07 1:37 
GeneralRe: Multi threading Pin
Luc Pattyn29-Nov-07 1:44
sitebuilderLuc Pattyn29-Nov-07 1:44 
GeneralRe: Multi threading Pin
Jothi.G8129-Nov-07 1:48
Jothi.G8129-Nov-07 1:48 
GeneralRe: Multi threading Pin
Cedric Moonen29-Nov-07 1:56
Cedric Moonen29-Nov-07 1:56 
QuestionRe: Multi threading Pin
David Crow29-Nov-07 3:36
David Crow29-Nov-07 3:36 
GeneralRe: Multi threading Pin
led mike29-Nov-07 5:19
led mike29-Nov-07 5:19 
AnswerRe: Multi threading Pin
KarstenK29-Nov-07 2:24
mveKarstenK29-Nov-07 2:24 
AnswerRe: Multi threading Pin
Randor 29-Nov-07 4:20
professional Randor 29-Nov-07 4:20 
GeneralRe: Multi threading Pin
Roger Stoltz29-Nov-07 4:29
Roger Stoltz29-Nov-07 4:29 
QuestionCMyView post a message for CMyApp to process Pin
followait29-Nov-07 1:07
followait29-Nov-07 1:07 
AnswerRe: CMyView post a message for CMyApp to process Pin
Nelek29-Nov-07 1:37
protectorNelek29-Nov-07 1:37 
GeneralRe: CMyView post a message for CMyApp to process Pin
followait29-Nov-07 3:17
followait29-Nov-07 3:17 
Questionincluding vector header Pin
Schehaider_Aymen29-Nov-07 1:05
Schehaider_Aymen29-Nov-07 1:05 
QuestionRe: including vector header Pin
Maximilien29-Nov-07 1:12
Maximilien29-Nov-07 1:12 
AnswerRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:16
Schehaider_Aymen29-Nov-07 1:16 
GeneralRe: including vector header Pin
toxcct29-Nov-07 1:27
toxcct29-Nov-07 1:27 
GeneralRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:33
Schehaider_Aymen29-Nov-07 1:33 
GeneralRe: including vector header [modified] Pin
toxcct29-Nov-07 1:40
toxcct29-Nov-07 1:40 
Blood_HaZaRd wrote:
i changed it to extern std::vector < int > VectIter; and i had 12 Errors.
So i think that i will keep my first declaration.


you shouldn't think so. firstly because you're not really understanding all that you're doing, but also because the number of errors is not relevant.

sometimes, you can have the compiler complaining about more than 50 errors, and just because you forgot a ";" in a header included in many files, you fixed all in a flashlight.

why don't you post a relevant piece of code, and tell us what are the compiler errors returned ?
(no matter if your Visual Studio is speaking french, I'm french, so i still can help).
btw, be careful when posting code involving templates, because the < > characters are understood by the browser as html tags...


-- modified at 7:45 Thursday 29th November, 2007
so, for your compilations errors, here is what i suggest you to do:
in stdafx.h, only add this:
#include <vector>
extern std::vector<int> vec;

then, in every place you need the vector class, prefer using std::vector<int>


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.