Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to find the average, worst complexity of a code Pin
Radhakrishnan G.12-May-10 2:52
Radhakrishnan G.12-May-10 2:52 
GeneralRe: How to find the average, worst complexity of a code Pin
janani1312-May-10 2:55
janani1312-May-10 2:55 
GeneralRe: How to find the average, worst complexity of a code Pin
Maximilien12-May-10 3:17
Maximilien12-May-10 3:17 
GeneralRe: How to find the average, worst complexity of a code Pin
Radhakrishnan G.12-May-10 23:52
Radhakrishnan G.12-May-10 23:52 
Questionav_open_input_file Pin
gmallax12-May-10 2:24
gmallax12-May-10 2:24 
AnswerRe: av_open_input_file Pin
Richard MacCutchan12-May-10 4:48
mveRichard MacCutchan12-May-10 4:48 
AnswerRe: av_open_input_file Pin
sashoalm12-May-10 5:09
sashoalm12-May-10 5:09 
Questionostringstream to tchar* Pin
AksharRoop12-May-10 2:24
AksharRoop12-May-10 2:24 
Hiya,

It would be helpful if someone tell me how I could convert ostringstream to tchar* such that it will work in both ansi and unicode compilation. currently i have done like:

std::ostringstream strn;
strn <<"Just do it!";
const TCHAR* tata = static_cast< LPCTSTR >(strn.str().c_str());


But this does not seems to work in both the cases.
AnswerRe: ostringstream to tchar* [modified] Pin
Nuri Ismail12-May-10 2:34
Nuri Ismail12-May-10 2:34 
QuestionPathCompactPath/PathSetDlgItemPath with owner-drawn static control? Pin
sashoalm12-May-10 0:54
sashoalm12-May-10 0:54 
QuestionFile monitor Pin
suzuuu12-May-10 0:08
suzuuu12-May-10 0:08 
QuestionRe: File monitor Pin
Michel Godfroid12-May-10 1:02
Michel Godfroid12-May-10 1:02 
QuestionRe: File monitor Pin
sashoalm12-May-10 1:03
sashoalm12-May-10 1:03 
AnswerRe: File monitor Pin
suzuuu12-May-10 1:14
suzuuu12-May-10 1:14 
GeneralRe: File monitor Pin
sashoalm12-May-10 5:00
sashoalm12-May-10 5:00 
AnswerRe: Also, you can try CFile::GetStatus (MFC) Pin
Software_Developer12-May-10 1:16
Software_Developer12-May-10 1:16 
GeneralRe: Also, you can try CFile::GetStatus (MFC) Pin
suzuuu12-May-10 1:32
suzuuu12-May-10 1:32 
GeneralRe: Also, you can try CFile::GetStatus (MFC) Pin
Software_Developer12-May-10 2:13
Software_Developer12-May-10 2:13 
QuestionIdentify the language of an string. Pin
Comp_Users11-May-10 23:19
Comp_Users11-May-10 23:19 
AnswerRe: Identify the language of an string. Pin
Maximilien12-May-10 0:44
Maximilien12-May-10 0:44 
QuestionCD DVD burning API Pin
raj157611-May-10 23:14
raj157611-May-10 23:14 
AnswerRe: CD DVD burning API Pin
Rajesh R Subramanian12-May-10 2:02
professionalRajesh R Subramanian12-May-10 2:02 
AnswerRe: CD DVD burning API Pin
Ram Shelke11-May-11 21:31
Ram Shelke11-May-11 21:31 
QuestionType Library not getting registered on Windows 7 OS Pin
pandit8411-May-10 21:11
pandit8411-May-10 21:11 
QuestionHow the CComBSTR know which String to pick . Pin
pandit8411-May-10 20:28
pandit8411-May-10 20:28 

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.