CodersHELL RSS Feeds http://www.codershell.org Your professional source of web-, desktop- and serverdevelopment de-de 2005-2012 CodersHell.org Snippet: Wandeln zu std::string Tue, 10 Feb 2009 15:37:04 +0100 1817 [code] #include <iostream> #include <sstream> template <class T> inline std::string ToString ( T toString ) { std::stringstream S http://www.codershell.org/board/topic/590/0/Snippet-Wandeln-zu-stdstring.html#post_1817 [C] Datei kopieren mit Statusbar Wed, 11 Feb 2009 13:36:34 +0100 1786 [code] #include <stdio.h> #include <stdlib.h> int iCopyFile(char *source, char *destination) { FILE *from, *to; long filesize=0; lo http://www.codershell.org/board/topic/594/0/C-Datei-kopieren-mit-Statusbar.html#post_1786 [C] Kleine action in der Console Mon, 02 Feb 2009 22:42:37 +0100 1771 [code] // leet console application #include <stdio.h> #include <windows.h> void main(void) { char cColor[] = "color 0"; size http://www.codershell.org/board/topic/583/0/C-Kleine-action-in-der-Console.html#post_1771 ReadConfig unter Linux, Windows (GetPrivateProfileString) Sun, 08 Feb 2009 15:09:29 +0100 1756 Funktioniert gut trotz lowcode (: inuse @ CodersHELL[BOT] :) http://www.codershell.org/board/topic/584/0/ReadConfig-unter-Linux--Windows--GetPrivateProfileString-.html#post_1756 Scheitelpunktberechnung Mon, 02 Feb 2009 22:46:01 +0100 1752 [code] #include <windows.h> #include <iostream> #include <string> #include <sstream> using namespace std; string tostr(doubl http://www.codershell.org/board/topic/587/0/Scheitelpunktberechnung.html#post_1752 FindProcess, FindThread Mon, 02 Feb 2009 22:45:23 +0100 1751 [code] DWORD FindProcess(char *cProcessName) { HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL); if (!hSnap) http://www.codershell.org/board/topic/586/0/FindProcess--FindThread--.html#post_1751 Grundgerüst für ein "Modalen" Dialog Mon, 02 Feb 2009 22:43:59 +0100 1750 [code] #include "resource.h" #include <windows.h> #include <commctrl.h> #pragma comment (lib,"ComCtl32.Lib") #define http://www.codershell.org/board/topic/585/0/Grundgerüst-für-ein--Modalen--Dialog--.html#post_1750 Dateihandling in C++ mit fstream Thu, 12 Apr 2007 00:00:00 +0200 1746 [code]#include "stdafx.h" #include <fstream> #include <string> using namespace std; [/code] Includen der benötigten Header [c http://www.codershell.org/board/topic/389/0/Dateihandling-in-C++-mit-fstream.html#post_1746 Taschenrechner zum rechnen mit 2 Zahlen Sun, 22 Oct 2006 00:00:00 +0200 1729 Vorraussetzungen: logisches Denkvermögen, denn der code erklärt sich eigentlich von alleine :D Also wir wollen einen kleinen Taschenrechner erstell http://www.codershell.org/board/topic/163/0/Taschenrechner-zum-rechnen-mit-2-Zahlen.html#post_1729 Alkoholausrechner v1.2 in C++ Thu, 30 Nov 2006 00:00:00 +0100 1679 Version 1.2 des Alkoholrechners.. [code]// Alkoholrechner © 2oo6 by Eric 'take' K. for www.t4k3.de #include "stdafx.h" using namespace st http://www.codershell.org/board/topic/256/0/Alkoholausrechner-v1_2-in-C++.html#post_1679 Potenzieren und Wurzelziehen Wed, 25 Oct 2006 00:00:00 +0200 383 Ich setze schon kleinere Grundkenntnisse vorraus, vorallem solltet ihr wissen wie der code angeordnet werden muss 8] Das Potenzieren und Wurzelziehen http://www.codershell.org/board/topic/183/0/Potenzieren-und-Wurzelziehen.html#post_383 Grundgerüst Sun, 22 Oct 2006 00:00:00 +0200 238 Aller Anfang ist schwer. Ich hab auch unsern guten take gefragt wie ich mit C++ Anfangen soll und später auch wie das Grundgerüst aussieht. [code] http://www.codershell.org/board/topic/164/0/Grundgerüst.html#post_238 Primfaktorzerlegung Fri, 20 Oct 2006 00:00:00 +0200 160 Praktikum Praktische Informatik 1 (EIT1) WS 2004 Die Primfaktor-Zerlegung p einer natürlichen Zahl n>1 ist die Darstellung der Zahl als Produkt http://www.codershell.org/board/topic/145/0/Primfaktorzerlegung.html#post_160