Click here to Skip to main content
15,904,155 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to declare Global Variable [modified] Pin
Max++18-Nov-09 18:29
Max++18-Nov-09 18:29 
AnswerRe: How to declare Global Variable Pin
Hadi Dayvary18-Nov-09 19:05
professionalHadi Dayvary18-Nov-09 19:05 
General[Message Deleted] Pin
Paulraj G18-Nov-09 19:40
Paulraj G18-Nov-09 19:40 
GeneralRe: How to declare Global Variable Pin
Paulraj G18-Nov-09 19:44
Paulraj G18-Nov-09 19:44 
AnswerRe: How to declare Global Variable Pin
CPallini18-Nov-09 20:57
mveCPallini18-Nov-09 20:57 
GeneralRe: How to declare Global Variable Pin
Tim Craig19-Nov-09 14:01
Tim Craig19-Nov-09 14:01 
GeneralRe: How to declare Global Variable Pin
Rajesh R Subramanian19-Nov-09 16:45
professionalRajesh R Subramanian19-Nov-09 16:45 
GeneralRe: How to declare Global Variable Pin
Tim Craig19-Nov-09 18:29
Tim Craig19-Nov-09 18:29 
GeneralRe: How to declare Global Variable Pin
Rajesh R Subramanian19-Nov-09 20:01
professionalRajesh R Subramanian19-Nov-09 20:01 
GeneralRe: How to declare Global Variable Pin
CPallini19-Nov-09 21:15
mveCPallini19-Nov-09 21:15 
GeneralRe: How to declare Global Variable Pin
Tim Craig20-Nov-09 9:38
Tim Craig20-Nov-09 9:38 
GeneralRe: How to declare Global Variable Pin
CPallini20-Nov-09 20:28
mveCPallini20-Nov-09 20:28 
GeneralRe: How to declare Global Variable Pin
Tim Craig20-Nov-09 21:44
Tim Craig20-Nov-09 21:44 
AnswerRe: How to declare Global Variable Pin
Rajesh R Subramanian19-Nov-09 16:43
professionalRajesh R Subramanian19-Nov-09 16:43 
QuestionDelete CLISTCONTROL Item Pin
Paulraj G18-Nov-09 17:29
Paulraj G18-Nov-09 17:29 
AnswerRe: Delete CLISTCONTROL Item Pin
Code-o-mat18-Nov-09 20:34
Code-o-mat18-Nov-09 20:34 
AnswerRe: Delete CLISTCONTROL Item Pin
David Crow19-Nov-09 3:20
David Crow19-Nov-09 3:20 
QuestionDIB built by extracting 3 channels as RGB from multiband tiff is drawn wiredly in view Pin
jianzhuhuai18-Nov-09 16:12
jianzhuhuai18-Nov-09 16:12 
AnswerRe: DIB built by extracting 3 channels as RGB from multiband tiff is drawn wiredly in view Pin
Chris Losinger18-Nov-09 17:11
professionalChris Losinger18-Nov-09 17:11 
QuestionHow to prevent same program can open twice in windows? Pin
DevelopmentNoob18-Nov-09 14:24
DevelopmentNoob18-Nov-09 14:24 
AnswerRe: How to prevent same program can open twice in windows? Pin
Randor 18-Nov-09 15:00
professional Randor 18-Nov-09 15:00 
GeneralRe: How to prevent same program can open twice in windows? Pin
DevelopmentNoob19-Nov-09 18:59
DevelopmentNoob19-Nov-09 18:59 
QuestionTrouble building a dynamic string array. Coming from C# Pin
Mark Randel18-Nov-09 10:38
Mark Randel18-Nov-09 10:38 
AnswerRe: Trouble building a dynamic string array. Coming from C# [modified] Pin
«_Superman_»18-Nov-09 10:47
professional«_Superman_»18-Nov-09 10:47 
GeneralRe: Trouble building a dynamic string array. Coming from C# Pin
Mark Randel19-Nov-09 9:32
Mark Randel19-Nov-09 9:32 
Thanks a lot. The vector was the key to what I was looking for. I'm using CString, though. But it all works fine.

My question about adding to the array was concerning changing the size of the array. The vector makes that easy with the push_back command.

Also, returning the value from the function required that I make the type of the return as a vector:

std::vector<CString> CNCLine::LineSplitter(CString LineIn)
{
   std::vector<CString> strOut;
   ... code
   return strOut;
}


Works like clockwork. Thanks for the direction.

____________________________________________________

I'd rather have a frontal lobotomy than a bottle in front of me... Bill W

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.