Click here to Skip to main content
15,914,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralXML & STL Pin
Giles22-Oct-02 11:25
Giles22-Oct-02 11:25 
GeneralRe: XML & STL Pin
Christian Graus22-Oct-02 11:32
protectorChristian Graus22-Oct-02 11:32 
GeneralRe: XML & STL Pin
Giles22-Oct-02 11:41
Giles22-Oct-02 11:41 
GeneralRe: XML & STL Pin
Christian Graus22-Oct-02 12:01
protectorChristian Graus22-Oct-02 12:01 
GeneralRe: XML & STL Pin
Giles22-Oct-02 12:10
Giles22-Oct-02 12:10 
GeneralRe: XML & STL Pin
Christian Graus22-Oct-02 12:14
protectorChristian Graus22-Oct-02 12:14 
GeneralRe: XML & STL Pin
Giles22-Oct-02 12:18
Giles22-Oct-02 12:18 
Generalvector Pin
pnpfriend22-Oct-02 11:24
pnpfriend22-Oct-02 11:24 
Hi I have never use vector in my life
This is what I tried to create integer array
here is my code

#include < vector >
using namespace std;
vector LCArray;
LCArray listCountArray;


but I got these errors
TextTreeDlg.cpp
D:\WinGames\TextTree\TextTreeDlg.cpp(24) : error C2146: syntax error : missing ';' before identifier 'listCountArray'
D:\WinGames\TextTree\TextTreeDlg.cpp(24) : error C2501: 'LCArray' : missing storage-class or type specifiers
D:\WinGames\TextTree\TextTreeDlg.cpp(24) : error C2371: 'LCArray' : redefinition; different basic types
D:\WinGames\TextTree\TextTreeDlg.cpp(23) : see declaration of 'LCArray'
D:\WinGames\TextTree\TextTreeDlg.cpp(24) : fatal error C1004: unexpected end of file found
Error executing cl.exe.


where do i get wrong?
Oh I'm using VC++ and my application is dialog based application


Thanks
GeneralRe: vector<int > Pin
Christian Graus22-Oct-02 11:28
protectorChristian Graus22-Oct-02 11:28 
GeneralRe: vector<int > Pin
pnpfriend22-Oct-02 11:52
pnpfriend22-Oct-02 11:52 
GeneralRe: vector<int > Pin
Christian Graus22-Oct-02 11:59
protectorChristian Graus22-Oct-02 11:59 
Generalvector<int > Pin
Anonymous22-Oct-02 11:19
Anonymous22-Oct-02 11:19 
GeneralRe: vector<int > Pin
Christian Graus22-Oct-02 11:25
protectorChristian Graus22-Oct-02 11:25 
QuestionHow to programmatically disable screen saver? Pin
Anonymous22-Oct-02 10:40
Anonymous22-Oct-02 10:40 
AnswerRe: How to programmatically disable screen saver? Pin
Diarrhio22-Oct-02 11:39
Diarrhio22-Oct-02 11:39 
AnswerRe: How to programmatically disable screen saver? Pin
Alexander Wiseman22-Oct-02 12:26
Alexander Wiseman22-Oct-02 12:26 
AnswerRe: How to programmatically disable screen saver? Pin
Joe Woodbury22-Oct-02 12:56
professionalJoe Woodbury22-Oct-02 12:56 
GeneralInteresting CRC32 problem Pin
Henry P.22-Oct-02 10:35
Henry P.22-Oct-02 10:35 
GeneralRe: Interesting CRC32 problem Pin
Giles22-Oct-02 11:14
Giles22-Oct-02 11:14 
GeneralRe: Interesting CRC32 problem Pin
Chris Losinger22-Oct-02 11:53
professionalChris Losinger22-Oct-02 11:53 
GeneralOpen Dialog from View/Doc Pin
G. White22-Oct-02 10:14
G. White22-Oct-02 10:14 
GeneralRe: Open Dialog from View/Doc Pin
valikac22-Oct-02 10:22
valikac22-Oct-02 10:22 
GeneralRe: Open Dialog from View/Doc Pin
G. White22-Oct-02 10:31
G. White22-Oct-02 10:31 
GeneralRe: Open Dialog from View/Doc Pin
l a u r e n22-Oct-02 11:25
l a u r e n22-Oct-02 11:25 
GeneralCRecordSet::Update() - No cursor name available Pin
PJ Arends22-Oct-02 10:13
professionalPJ Arends22-Oct-02 10:13 

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.