Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconvert const char to std::string Pin
RedSonja18-Dec-08 20:31
RedSonja18-Dec-08 20:31 
AnswerRe: convert const char to std::string Pin
Cedric Moonen18-Dec-08 20:34
Cedric Moonen18-Dec-08 20:34 
GeneralRe: convert const char to std::string Pin
RedSonja18-Dec-08 20:47
RedSonja18-Dec-08 20:47 
QuestionGetClientRect Pin
tcshinto18-Dec-08 19:59
tcshinto18-Dec-08 19:59 
AnswerRe: GetClientRect Pin
Sarath C18-Dec-08 20:05
Sarath C18-Dec-08 20:05 
AnswerRe: GetClientRect Pin
Hamid_RT18-Dec-08 20:25
Hamid_RT18-Dec-08 20:25 
QuestionHow can i make a application which can run on mac/linux/windows? Pin
bankey101018-Dec-08 19:57
bankey101018-Dec-08 19:57 
AnswerRe: How can i make a application which can run on mac/linux/windows? Pin
Cedric Moonen18-Dec-08 20:07
Cedric Moonen18-Dec-08 20:07 
bankey1010 wrote:
i think it is possible if i code in core c/C++ only but problem is that how can i make a window using c/C++.


Depends what you mean by "it is possible" Big Grin | :-D . You can't make the same executable run on different platform, because the format is different for each of the platform. However, if you stick to pure standard C++, then the only thing you will have to do is recompile your code for each of the platform using a different compiler.
But of course, you'll probably need more than just standard C++ and there are some cross-platform GUI libraries that exist which allow you to write cross-platform code. Look for instance at wxWidgets[^].

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

AnswerRe: How can i make a application which can run on mac/linux/windows? Pin
Sarath C18-Dec-08 20:09
Sarath C18-Dec-08 20:09 
AnswerRe: How can i make a application which can run on mac/linux/windows? Pin
Royaltvk18-Dec-08 21:55
Royaltvk18-Dec-08 21:55 
AnswerRe: How can i make a application which can run on mac/linux/windows? Pin
ramana.g18-Dec-08 22:38
ramana.g18-Dec-08 22:38 
QuestionGetPrivateProfileInt( ) crashes for a specific domain user on a Specific Machine (Dell Optiplex 755 with Vista Sp1) Pin
V K 218-Dec-08 19:15
V K 218-Dec-08 19:15 
AnswerRe: GetPrivateProfileInt( ) crashes for a specific domain user on a Specific Machine (Dell Optiplex 755 with Vista Sp1) Pin
Sarath C18-Dec-08 20:13
Sarath C18-Dec-08 20:13 
AnswerRe: GetPrivateProfileInt( ) crashes for a specific domain user on a Specific Machine (Dell Optiplex 755 with Vista Sp1) Pin
Randor 19-Dec-08 3:56
professional Randor 19-Dec-08 3:56 
QuestionGet icon/bitmap from CMenu on Owner Draw Menu ?? Pin
karhong18-Dec-08 19:12
karhong18-Dec-08 19:12 
AnswerRe: Get icon/bitmap from CMenu on Owner Draw Menu ?? Pin
Sarath C18-Dec-08 20:21
Sarath C18-Dec-08 20:21 
Questionneed difference between using static variable in 'C' and 'C++' ? Pin
Sakthiu18-Dec-08 18:16
Sakthiu18-Dec-08 18:16 
AnswerRe: need difference between using static variable in 'C' and 'C++' ? Pin
Sarath C18-Dec-08 20:25
Sarath C18-Dec-08 20:25 
QuestionProblem using Queue timers.............. Pin
shaina223118-Dec-08 17:47
shaina223118-Dec-08 17:47 
AnswerRe: Problem using Queue timers.............. Pin
Stuart Dootson18-Dec-08 23:04
professionalStuart Dootson18-Dec-08 23:04 
QuestionContext help systems in VC8 with MFC Pin
snavece18-Dec-08 10:08
snavece18-Dec-08 10:08 
AnswerRe: Context help systems in VC8 with MFC Pin
Stuart Dootson18-Dec-08 10:46
professionalStuart Dootson18-Dec-08 10:46 
GeneralRe: Context help systems in VC8 with MFC Pin
snavece19-Dec-08 8:03
snavece19-Dec-08 8:03 
QuestionHow to program UI so it works with all font sizes and dpi's ? Pin
Defenestration18-Dec-08 7:20
Defenestration18-Dec-08 7:20 
AnswerRe: How to program UI so it works with all font sizes and dpi's ? Pin
Randor 18-Dec-08 7:30
professional Randor 18-Dec-08 7:30 

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.