C++: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
http://www.codeguru.com/forum/showthread.php?t= | http://www.codeguru.com/forum/showthread.php?t= | ||
http://www.learncpp.com/cpp-tutorial/121-pointers-and-references-to-the-base-class-of-derived-objects/ | |||
= Building C++ Programs = | = Building C++ Programs = | ||
| Line 7: | Line 9: | ||
== Building on the Command-Line == | == Building on the Command-Line == | ||
The [[Hello World#C++|Hello World]] page has an example of a simple "hello world" program in C++. | The [[Hello World#C++|Hello World]] page has an example of a simple "hello world" program in C++. You can also visit the page for the [[Presentations|2010 Scientific Computing Summer Workshop]] page and view the second workshop, which is on creating and building scientific software. | ||
| Line 13: | Line 15: | ||
== Building via Makefiles == | == Building via Makefiles == | ||
The [[Make]] page has an example of how to build a more complex program in C++ using a Makefile to automate the process. | The [[Make]] page has an example of how to build a more complex program in C++ using a Makefile to automate the process. Also, as mentioned above, you can visit the [[Presentations|2010 Scientific Computing Summer Workshop]] page. The second workshop also covers Makefiles. | ||
== Building via CMake == | == Building via CMake == | ||
For more details on building C++ programs via CMake, visit the [[CMake]] page. | |||
== Building via Autotools == | == Building via Autotools == | ||
A formidable subject that must be expanded upon. Maybe by someone else??? | |||
Revision as of 15:24, 26 October 2010
http://www.codeguru.com/forum/showthread.php?t=
Building C++ Programs
Building on the Command-Line
The Hello World page has an example of a simple "hello world" program in C++. You can also visit the page for the 2010 Scientific Computing Summer Workshop page and view the second workshop, which is on creating and building scientific software.
Building via Makefiles
The Make page has an example of how to build a more complex program in C++ using a Makefile to automate the process. Also, as mentioned above, you can visit the 2010 Scientific Computing Summer Workshop page. The second workshop also covers Makefiles.
Building via CMake
For more details on building C++ programs via CMake, visit the CMake page.
Building via Autotools
A formidable subject that must be expanded upon. Maybe by someone else???