Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker warning: Multiple ".rdata" sections with different atrributes Pin
Alexander M.,13-Sep-04 4:09
Alexander M.,13-Sep-04 4:09 
Generalistream: seekg / tellg, peculiar behaviour Pin
LiquidEyes13-Sep-04 1:39
LiquidEyes13-Sep-04 1:39 
Generalabout transmiting video through net Pin
yingkou13-Sep-04 0:44
yingkou13-Sep-04 0:44 
GeneralRe: about transmiting video through net Pin
Alexander M.,13-Sep-04 5:03
Alexander M.,13-Sep-04 5:03 
GeneralRe: about transmiting video through net Pin
yingkou13-Sep-04 15:33
yingkou13-Sep-04 15:33 
GeneralRe: about transmiting video through net Pin
Un13-Oct-04 4:14
Un13-Oct-04 4:14 
QuestionConsole in C++? Pin
Hadi Fakhreddine13-Sep-04 0:43
Hadi Fakhreddine13-Sep-04 0:43 
AnswerRe: Console in C++? Pin
Antti Keskinen13-Sep-04 2:43
Antti Keskinen13-Sep-04 2:43 
There's one crucial difference.

VC++ .NET is standard C++, you can write console applications by creating a file that contains the function main and links with the C Runtime Library.

However, Managed Extensions for C++ (MC++) is the C++ version you use to write software for .NET Framework. MC++ is the language that can be compared with C# or VB .NET, for example. VC++ .NET is not a .NET language.

In MC++, you need to use the import statements to use the .NET Framework. For example:
#import <mscorlib.dll> // Required for all .NET applications
#import <system.dll> // the System namespace<DIV>

// Call the console
System::Console::Writeline( L"BlaBla" );
Microsoft is currently developing the C++/CLI specification, which is MUCH more flexible and usable than MC++. To write programs with this language, you need to have the Visual C++ Express 8 Beta version, available from Microsoft as a free download.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Console in C++? Pin
Hadi Fakhreddine13-Sep-04 4:44
Hadi Fakhreddine13-Sep-04 4:44 
GeneralThumb nail view Pin
Neelesh K J Jain12-Sep-04 23:50
Neelesh K J Jain12-Sep-04 23:50 
GeneralRe: Thumb nail view Pin
David Salter13-Sep-04 0:11
David Salter13-Sep-04 0:11 
Questionhow to use visual c++ Pin
Member 135729712-Sep-04 23:35
Member 135729712-Sep-04 23:35 
AnswerRe: how to use visual c++ Pin
Hardy_Smith12-Sep-04 23:47
Hardy_Smith12-Sep-04 23:47 
GeneralRe: how to use visual c++ Pin
Member 135729712-Sep-04 23:55
Member 135729712-Sep-04 23:55 
GeneralRe: how to use visual c++ Pin
Hardy_Smith12-Sep-04 23:59
Hardy_Smith12-Sep-04 23:59 
AnswerRe: how to use visual c++ Pin
Arsalan Malik12-Sep-04 23:57
Arsalan Malik12-Sep-04 23:57 
Generalcallback of a class' method Pin
Jerome Conus12-Sep-04 23:29
Jerome Conus12-Sep-04 23:29 
GeneralRe: callback of a class' method Pin
Antti Keskinen13-Sep-04 2:26
Antti Keskinen13-Sep-04 2:26 
GeneralRe: callback of a class' method Pin
Jerome Conus13-Sep-04 2:36
Jerome Conus13-Sep-04 2:36 
Generalmemory leaks in mfc Pin
nnvidya12-Sep-04 22:52
nnvidya12-Sep-04 22:52 
GeneralRe: memory leaks in mfc Pin
Jon Hulatt13-Sep-04 1:42
Jon Hulatt13-Sep-04 1:42 
GeneralRe: memory leaks in mfc Pin
nnvidya13-Sep-04 1:56
nnvidya13-Sep-04 1:56 
GeneralRe: memory leaks in mfc Pin
Mike Beckerleg13-Sep-04 3:43
Mike Beckerleg13-Sep-04 3:43 
GeneralRe: memory leaks in mfc Pin
Alexander M.,13-Sep-04 5:07
Alexander M.,13-Sep-04 5:07 
GeneralRe: memory leaks in mfc Pin
Bob Stanneveld13-Sep-04 5:52
Bob Stanneveld13-Sep-04 5:52 

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.