Click here to Skip to main content
15,905,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can Extract String ? Pin
Jerry Jeremiah7-Sep-08 11:21
Jerry Jeremiah7-Sep-08 11:21 
Questionuuid operator Pin
George_George5-Sep-08 2:15
George_George5-Sep-08 2:15 
AnswerRe: uuid operator Pin
_AnsHUMAN_ 5-Sep-08 2:56
_AnsHUMAN_ 5-Sep-08 2:56 
GeneralRe: uuid operator Pin
George_George7-Sep-08 17:23
George_George7-Sep-08 17:23 
AnswerRe: uuid operator Pin
cmk5-Sep-08 3:54
cmk5-Sep-08 3:54 
GeneralRe: uuid operator Pin
George_George7-Sep-08 17:20
George_George7-Sep-08 17:20 
QuestionA C++ Question Pin
False Chicken5-Sep-08 2:13
False Chicken5-Sep-08 2:13 
AnswerRe: A C++ Question Pin
Nibu babu thomas5-Sep-08 2:15
Nibu babu thomas5-Sep-08 2:15 
False Chicken wrote:
Im trying to convert a string to a Const Char* How do I do that? Im using Dev and this is ther error i get:

cannot convert `std::basic_string<char,>, std::allocator<char> >' to `const char*' for argument `1' to `int system(const char*)'



This way!

string StrSysCommand = "cls";
system( StrSysCommand.c_str() );


Nibu babu thomas
Microsoft MVP for VC++


Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http://nibuthomas.wordpress.com

AnswerRe: A C++ Question Pin
toxcct5-Sep-08 3:10
toxcct5-Sep-08 3:10 
QuestionApplication crashes on calling settimer from a thread function Pin
manoharbalu5-Sep-08 2:05
manoharbalu5-Sep-08 2:05 
AnswerRe: Application crashes on calling settimer from a thread function Pin
Roger Stoltz5-Sep-08 2:57
Roger Stoltz5-Sep-08 2:57 
AnswerRe: Application crashes on calling settimer from a thread function Pin
vikas amin5-Sep-08 6:41
vikas amin5-Sep-08 6:41 
Questiondebugging multi threading application Pin
VCProgrammer5-Sep-08 1:39
VCProgrammer5-Sep-08 1:39 
AnswerRe: debugging multi threading application Pin
Sarath C5-Sep-08 1:59
Sarath C5-Sep-08 1:59 
AnswerRe: debugging multi threading application Pin
vikas amin5-Sep-08 6:31
vikas amin5-Sep-08 6:31 
AnswerRe: debugging multi threading application Pin
vikas amin5-Sep-08 6:48
vikas amin5-Sep-08 6:48 
QuestionApplication failed to initialize properly. [modified] Pin
T.RATHA KRISHNAN5-Sep-08 1:02
T.RATHA KRISHNAN5-Sep-08 1:02 
AnswerRe: Application failed to initialize properly. Pin
toxcct5-Sep-08 3:14
toxcct5-Sep-08 3:14 
AnswerRe: Application failed to initialize properly. Pin
vikas amin5-Sep-08 6:29
vikas amin5-Sep-08 6:29 
Questionsetup package using Inno Setup Pin
AnithaSubramani4-Sep-08 23:44
AnithaSubramani4-Sep-08 23:44 
AnswerRe: setup package using Inno Setup Pin
Garth J Lancaster5-Sep-08 0:16
professionalGarth J Lancaster5-Sep-08 0:16 
AnswerRe: setup package using Inno Setup Pin
sashoalm5-Sep-08 0:58
sashoalm5-Sep-08 0:58 
GeneralRe: setup package using Inno Setup Pin
AnithaSubramani6-Sep-08 0:15
AnithaSubramani6-Sep-08 0:15 
GeneralRe: setup package using Inno Setup Pin
AnithaSubramani9-Sep-08 3:07
AnithaSubramani9-Sep-08 3:07 
GeneralRe: setup package using Inno Setup Pin
sashoalm9-Sep-08 3:59
sashoalm9-Sep-08 3:59 

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.