Click here to Skip to main content
15,889,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error Heap in allocate modeless . Pin
CPallini26-Oct-10 9:30
mveCPallini26-Oct-10 9:30 
GeneralRe: Error Heap in allocate modeless . Pin
HTT9026-Oct-10 16:21
HTT9026-Oct-10 16:21 
GeneralRe: Error Heap in allocate modeless . Pin
CPallini26-Oct-10 21:21
mveCPallini26-Oct-10 21:21 
GeneralRe: Error Heap in allocate modeless . Pin
HTT9026-Oct-10 22:03
HTT9026-Oct-10 22:03 
GeneralRe: Error Heap in allocate modeless . Pin
CPallini26-Oct-10 22:17
mveCPallini26-Oct-10 22:17 
GeneralRe: Error Heap in allocate modeless . Pin
HTT9026-Oct-10 22:42
HTT9026-Oct-10 22:42 
Questionchar *> string conversion , env[] Pin
ALLERSLIT26-Oct-10 7:12
ALLERSLIT26-Oct-10 7:12 
QuestionRe: char *> string conversion , env[] Pin
David Crow26-Oct-10 7:22
David Crow26-Oct-10 7:22 
ALLERSLIT wrote:
int main(int argc,char *env[])


This should probably be:

int main( int argc, char *argv[], char *env[] )


ALLERSLIT wrote:
how would I actually put the output of env[i] into a string?


Have you tried:

std::string str = env[i];

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Man who follows car will be exhausted." - Confucius


AnswerRe: char *> string conversion , env[] Pin
ALLERSLIT26-Oct-10 7:38
ALLERSLIT26-Oct-10 7:38 
AnswerRe: char *> string conversion , env[] Pin
David Crow26-Oct-10 7:46
David Crow26-Oct-10 7:46 
GeneralRe: char *> string conversion , env[] Pin
ALLERSLIT26-Oct-10 7:50
ALLERSLIT26-Oct-10 7:50 
QuestionRe: char *> string conversion , env[] Pin
David Crow26-Oct-10 7:53
David Crow26-Oct-10 7:53 
AnswerRe: char *> string conversion , env[] Pin
ALLERSLIT26-Oct-10 8:16
ALLERSLIT26-Oct-10 8:16 
QuestionRe: char *> string conversion , env[] Pin
David Crow26-Oct-10 8:20
David Crow26-Oct-10 8:20 
GeneralRe: char *> string conversion , env[] Pin
CPallini26-Oct-10 9:28
mveCPallini26-Oct-10 9:28 
GeneralRe: char *> string conversion , env[] Pin
CPallini26-Oct-10 7:50
mveCPallini26-Oct-10 7:50 
GeneralRe: char *> string conversion , env[] Pin
Richard MacCutchan26-Oct-10 10:28
mveRichard MacCutchan26-Oct-10 10:28 
QuestionHow to unregister a windows service? Pin
Aseem Sharma26-Oct-10 6:48
Aseem Sharma26-Oct-10 6:48 
QuestionCross referencing resource ID between source code and resource file ? Pin
Maximilien26-Oct-10 4:15
Maximilien26-Oct-10 4:15 
AnswerRe: Cross referencing resource ID between source code and resource file ? Pin
David Crow26-Oct-10 4:27
David Crow26-Oct-10 4:27 
AnswerRe: Cross referencing resource ID between source code and resource file ? Pin
Sauro Viti26-Oct-10 4:45
professionalSauro Viti26-Oct-10 4:45 
QuestionC++ parser Pin
Andrea Di Domenico26-Oct-10 3:44
Andrea Di Domenico26-Oct-10 3:44 
AnswerRe: C++ parser Pin
Cedric Moonen26-Oct-10 4:45
Cedric Moonen26-Oct-10 4:45 
GeneralRe: C++ parser Pin
Andrea Di Domenico26-Oct-10 5:27
Andrea Di Domenico26-Oct-10 5:27 
GeneralRe: C++ parser Pin
Cedric Moonen26-Oct-10 7:25
Cedric Moonen26-Oct-10 7:25 

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.