Home| Progetto| Web| Faq| Acronimi | ||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
C++...
Info:
Nascita di C++
Oracle...
Script:
Esempio script dos per eseguire export di schema
Unix...
Tip:
Rimuovere un file in Unix / Delete a file
PLSQL...
Script:
Unlock and gather statistics for particular schemas
C++...
Tip:
Per il compilatore Microsoft Visual C++
Shell scripting...
Script:
while do loop
A User Agent, like a web browser, uses HTTP to request a HTML document
Php Funzione mail()
In programming the danger of exploring the small details of coding is that you get obsessed with every line of code you write, thereby greatly reducing productivity.
In general, is not worth obsessing over code. On the other hand you should code with deliberation and intent. Steven Feurstein Oracle Magazine July /August 2004 A User Agent, like a web browser, uses HTTP to request a HTML document
|
C++
Home >C++ > Visual C++ 2005
1) Installing Visual C++ 2005 Express Edition. It is free. 2) Launch Visual Studio command prompt panel. ![]() 3) type notepad nativeProg.cpp paste the following code: // simple native C++ program int main() { System::Console::WriteLine("This is a simple native C++ program"); for(int i=1; i<4;i++){ System::Console::Write(i); System::Console::WriteLine(" HELLO FROM C++"); } } Of course you can create, edit and save the file also with your preferred text editor as long you save it in C:\Programs\Microsoft Visual Studio 8\VC> 4) Compile the source file:
C:\Programs\Microsoft Visual Studio 8\VC>cl /clr nativeProg.cpp
If you get right these steps you should have not compilation errors:
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.42
for Microsoft (R) .NET Framework version 2.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. nativeProg.cpp Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. /out:nativeProg.exe nativeProg.obj 5) The compiler has created the following files:
nativeProg.obj
nativeProg.exe nativeProg.exe.manifest The .obj file is an intermediate format file not human readable. The .manifest file is an XML containing information about the assembly. Anyhow, what matters it is that the source file as been complied successfully and the executable file has been created (nativeProg.exe), you can run the program simply typing its name:
C:\Programs\Microsoft Visual Studio 8\VC>nativeProg
The excutable file should display the following sort of output:
C:\Programs\Microsoft Visual Studio 8\VC>nativeprog
This is a simple native C++ program 1 HELLO FROM C++ 2 HELLO FROM C++ 3 HELLO FROM C++ Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Cerca
C++...
Info:
Nascita di C++
Anger is creative, depression is useless.
Dyson, Freeman J. Anger is creative, depression is useless.
Dyson, Freeman J.
C++...
Info:
Nascita di C++
C++...
Definizioni:
Header file
Oracle...
Definizioni:
Transazione
Shell scripting...
Script:
Hide user input on screen
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |