Click here to Skip to main content
15,889,865 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: DataGridView Pin
mikobi3-Jul-07 5:04
mikobi3-Jul-07 5:04 
QuestionPostMessage to a remote thread ?! Pin
bend0r!28-Jun-07 6:24
bend0r!28-Jun-07 6:24 
AnswerRe: PostMessage to a remote thread ?! Pin
Perspx2-Jul-07 11:27
Perspx2-Jul-07 11:27 
QuestionWindows Search Utility Pin
SD102128-Jun-07 5:57
SD102128-Jun-07 5:57 
AnswerRe: Windows Search Utility Pin
SD102128-Jun-07 5:58
SD102128-Jun-07 5:58 
QuestionNeed Help: ActiveX Control Method is taking a Variant as Parameter (.Net 1.1) Pin
Oliver Sch.28-Jun-07 0:55
Oliver Sch.28-Jun-07 0:55 
QuestionParsing and Invoking functions problem Pin
Arris7427-Jun-07 11:24
Arris7427-Jun-07 11:24 
Questionvery simple question : Pin
Ylno27-Jun-07 11:10
Ylno27-Jun-07 11:10 
Hello all,

Can someone point out the difference between these
two HelloWorld programs ? I don't get why one uses the
'using' statement and i don't get the '.h'
(i'm trying to move from C# if that helps)

*************** -- 1
<br />
#include <iostream.h><br />
#include <stdlib.h><br />
<br />
int main() {<br />
<br />
  cout << "Hello, World!" << endl;<br />
  system("pause");<br />
<br />
  return 0;<br />
<br />
}<br />


*************** -- 2
<br />
#include "stdafx.h"<br />
#include <iostream><br />
using namespace std;<br />
<br />
int _tmain(int argc, _TCHAR* argv[])<br />
{<br />
	cout << "Hello World!" << endl;<br />
	system("pause");<br />
<br />
	return 0;<br />
}<br />



Thanks
AnswerRe: very simple question : Pin
Christian Graus27-Jun-07 11:27
protectorChristian Graus27-Jun-07 11:27 
AnswerRe: very simple question : Pin
Mark Salsbery27-Jun-07 11:41
Mark Salsbery27-Jun-07 11:41 
GeneralRe: very simple question : Pin
Christian Graus27-Jun-07 11:56
protectorChristian Graus27-Jun-07 11:56 
GeneralRe: very simple question : Pin
Mark Salsbery27-Jun-07 12:13
Mark Salsbery27-Jun-07 12:13 
QuestionSTL Pin
tom groezer27-Jun-07 7:48
tom groezer27-Jun-07 7:48 
AnswerRe: STL Pin
Christian Graus27-Jun-07 11:32
protectorChristian Graus27-Jun-07 11:32 
QuestionTextbox Difficult Pin
mikobi27-Jun-07 3:54
mikobi27-Jun-07 3:54 
AnswerRe: Textbox Difficult Pin
Christian Graus27-Jun-07 12:20
protectorChristian Graus27-Jun-07 12:20 
GeneralRe: Textbox Difficult Pin
mikobi27-Jun-07 21:04
mikobi27-Jun-07 21:04 
GeneralRe: Textbox Difficult Pin
mikobi28-Jun-07 22:02
mikobi28-Jun-07 22:02 
GeneralRe: Textbox Difficult Pin
mikobi3-Jul-07 6:42
mikobi3-Jul-07 6:42 
Questiondeterministic cleanup in C++/CLI Pin
rockonedge26-Jun-07 21:48
rockonedge26-Jun-07 21:48 
AnswerRe: deterministic cleanup in C++/CLI Pin
Geo Pa27-Jun-07 3:52
Geo Pa27-Jun-07 3:52 
Questionbyte C# to C++ Pin
C#Coudou26-Jun-07 19:22
C#Coudou26-Jun-07 19:22 
AnswerRe: byte C# to C++ Pin
C#Coudou26-Jun-07 19:39
C#Coudou26-Jun-07 19:39 
QuestionNetwork speed detection Pin
C#Coudou26-Jun-07 18:36
C#Coudou26-Jun-07 18:36 
AnswerRe: Network speed detection Pin
Paul Conrad14-Jul-07 13:41
professionalPaul Conrad14-Jul-07 13:41 

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.