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

C / C++ / MFC

 
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 
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 
Hi I have never use vector in my life
This is what I tried to create integer array
here is my code
<br />
#include <vector><br />
using namespace std;<br />
vector<int>LCArray;<br />
LCArray listCountArray;<br />
<br />
<br />
but I got these errors<br />
TextTreeDlg.cpp<br />
D:\WinGames\TextTree\TextTreeDlg.cpp(24) : error C2146: syntax error : missing ';' before identifier 'listCountArray'<br />
D:\WinGames\TextTree\TextTreeDlg.cpp(24) : error C2501: 'LCArray' : missing storage-class or type specifiers<br />
D:\WinGames\TextTree\TextTreeDlg.cpp(24) : error C2371: 'LCArray' : redefinition; different basic types<br />
        D:\WinGames\TextTree\TextTreeDlg.cpp(23) : see declaration of 'LCArray'<br />
D:\WinGames\TextTree\TextTreeDlg.cpp(24) : fatal error C1004: unexpected end of file found<br />
Error executing cl.exe.<br />
<br />

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: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 
GeneralWay to generate license codes Pin
Wim Jans22-Oct-02 8:08
Wim Jans22-Oct-02 8:08 
GeneralRe: Way to generate license codes Pin
Maximilien22-Oct-02 8:18
Maximilien22-Oct-02 8:18 
GeneralRe: Way to generate license codes Pin
Ravi Bhavnani22-Oct-02 8:33
professionalRavi Bhavnani22-Oct-02 8:33 
GeneralRe: Way to generate license codes Pin
Wim Jans22-Oct-02 9:06
Wim Jans22-Oct-02 9:06 

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.