Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralQuestion about remote desktop share application development. Pin
George26-Mar-03 19:42
George26-Mar-03 19:42 
GeneralRe: Question about remote desktop share application development. Pin
benjymous7-Mar-03 0:08
benjymous7-Mar-03 0:08 
GeneralRe: Question about remote desktop share application development. Pin
George27-Mar-03 22:10
George27-Mar-03 22:10 
Generalmemory allocation Pin
Stewenson6-Mar-03 19:23
Stewenson6-Mar-03 19:23 
GeneralRe: memory allocation Pin
Chris Losinger7-Mar-03 3:44
professionalChris Losinger7-Mar-03 3:44 
GeneralHello, world! Pin
Vikram A Punathambekar6-Mar-03 18:22
Vikram A Punathambekar6-Mar-03 18:22 
GeneralRe: Hello, world! Pin
Christian Graus6-Mar-03 18:46
protectorChristian Graus6-Mar-03 18:46 
GeneralRight, Christian ! Pin
Vikram A Punathambekar7-Mar-03 0:16
Vikram A Punathambekar7-Mar-03 0:16 
Christian Graus wrote:
This is not a standard C++ program, it uses iostream.h instead of iostream.

Yeah, you've got a point. But that's not the point.

Christian Graus wrote:
Surely if you create a class which prints hello world in it's constructor and create a global instance of it you'll get the desired result ?

That's right. That's one way of doing it- the portable way.
The "other" way is doing it in Turbo C++ Dead | X| , like this:

<br />
//Start of program<br />
<br />
#include <iostream.h><br />
<br />
void Hello()<br />
{<br />
	cout<<"Hello, world!";<br />
}<br />
#pragma startup Hello<br />
<br />
int main()<br />
{<br />
	cout<<"Bye, world!";<br />
	return 0;<br />
}<br />
<br />
//End of program<br />


It does'nt work with the Win32 compiler (the pragma is implementation-dependant).

BTW, what happened to poor Vinod's article? Did it get chucked out? Poor guy!Smile | :) Smile | :) Smile | :)
I woulda loved to see his next article on RAM or something- his articles make funny reading. The humor content is way high.


"Do not give redundant error messages again and again." - A classmate of mine, while giving a class talk on error detection in compiler design.
GeneralRe: Right, Christian ! Pin
Christian Graus7-Mar-03 2:56
protectorChristian Graus7-Mar-03 2:56 
GeneralRe: Right, Christian ! Pin
Vikram A Punathambekar8-Mar-03 16:26
Vikram A Punathambekar8-Mar-03 16:26 
GeneralRe: Right, Christian ! Pin
Christian Graus8-Mar-03 21:16
protectorChristian Graus8-Mar-03 21:16 
GeneralRe: Hello, world! Pin
PJ Arends6-Mar-03 21:13
professionalPJ Arends6-Mar-03 21:13 
GeneralOh, man! You're right! Pin
Vikram A Punathambekar7-Mar-03 0:27
Vikram A Punathambekar7-Mar-03 0:27 
GeneralRe: Hello, world! Pin
Tim Smith7-Mar-03 2:24
Tim Smith7-Mar-03 2:24 
GeneralRe: Hello, world! Pin
Vikram A Punathambekar8-Mar-03 16:03
Vikram A Punathambekar8-Mar-03 16:03 
GeneralRe: Hello, world! Pin
Roger Allen7-Mar-03 1:57
Roger Allen7-Mar-03 1:57 
GeneralRe: Hello, world! Pin
Vikram A Punathambekar8-Mar-03 16:12
Vikram A Punathambekar8-Mar-03 16:12 
GeneralParseCommandLine Pin
Anthony98876-Mar-03 16:10
Anthony98876-Mar-03 16:10 
GeneralRe: ParseCommandLine Pin
Dave Bryant6-Mar-03 16:31
Dave Bryant6-Mar-03 16:31 
GeneralRe: ParseCommandLine Pin
Scott H. Settlemier7-Mar-03 5:41
Scott H. Settlemier7-Mar-03 5:41 
Generalstatic variable Pin
Anthony98876-Mar-03 15:27
Anthony98876-Mar-03 15:27 
GeneralRe: static variable Pin
Christian Graus6-Mar-03 15:40
protectorChristian Graus6-Mar-03 15:40 
GeneralFindResource() problem Pin
Salvador Dali6-Mar-03 14:41
Salvador Dali6-Mar-03 14:41 
GeneralRe: FindResource() problem Pin
Dave Bryant6-Mar-03 14:56
Dave Bryant6-Mar-03 14:56 
GeneralRe: FindResource() problem Pin
Salvador Dali6-Mar-03 18:20
Salvador Dali6-Mar-03 18:20 

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.