From: "DaXy_II" Newsgroups: comp.os.msdos.djgpp Subject: Re: C++ "Hello World" compiling problem Date: Fri, 25 Jun 1999 21:32:38 +0200 Organization: EUnet Belgium, Leuven, Belgium Lines: 29 Message-ID: <7l0luo$s0t$1@news3.Belgium.EU.net> References: <3768D090 DOT 9BA88A6F AT unn DOT ac DOT uk> NNTP-Posting-Host: adial137.gent.eunet.be X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > C:\mark\code>more #include > > int main() { > cout << "Hello World." << endl; > > return 0; > } This will be a huge exe! Try this int cur; void putc(char* vid, char ch) { vid[cur++] = int main() { char* video; cur = 0 // You could get the cursor pos ... video = (char*)0xB8000; // 0xB0000 for monocrome monitors. while (*message++) { putc(video,*message); } } And link without the stdlib, almost as small as an asm