nav-left cat-right
cat-right
Matthias Pospiech > Articles by: pospiech

Streams in C++

Bei der Einarbeitung der Ein und Ausgabe von Daten in C++ bin ich bei der Suche nach Dokumentationen zu streams auf folgende Webseiten gestoßen: http://www.cplusplus.com/reference/iostream/ Ein- und Ausgabe in C++ – IO-Streams http://www.mathematik.uni-marburg.de/~cpp/streams/index.html Writing integers in different...

Convert Cstring to int

The solution is the following CString samplecstring; int i = _ttoi(samplecstring); further conversion examples are listed at http://www.codeproject.com/cpp/data_conversions.asp. Converting backwards from int to CString can be done via int i = 255; Cstring text; text.Format(_T("%d"),...

Add non modal dialog to project

If we have an existing project one needs to do the following steps to add an non-modal dialog. Example Project:   ModelessDialog.zip (45,5 KiB) Add a new dialog to the project and add a class for that dialog Add a member variable for the dialog to the application class. If our project is called ‘SecondDialog’ the application class would then look like this class CSecondDialogApp : public CWinApp {...

Disable deprecation of functions

When using old functions in MFC which happens quite easily when one imports old VS6 examples or has to use old projects one gets this warning quite often: warning C4996: ‘fopen’: This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. c:\programme\microsoft visual studio 8\vc\include\stdio.h(234): Siehe Deklaration...

Installation of openSuse 10.2

Note: A similar description can be found at Pimp my Suse. InstallationGrubSystem ConfigurationNetworkprinterRemoval of unwanted FunctionsSambaSetup of /etc/hostsNetwork sharesSetup of apacheKde ConfigurationUpdatesmartyast / opensuseupdaterNvidia Video Driver Installation / X SetupSetup of /homeNew Home / Configuration filesDirectories and Linksmp3 and dvd with openSuse 10.2Installation of further...
Page 24 of 27« First...10...2223242526...Last »