dotcomma: Simple C++ Tutorial, Part 1
Jun 25, 2000, 14:13 (1 Talkback[s])
(Other stories by aaron)
Example of a simple program:
#include <iostream.h>
void main()
{
cout <<"Hello"; //This is a comment
}
Going through this line by line:
#include <iostream.h>
This will include the header file iostream.h that contains the information for writing out text
(cout), reading in, and many other things.
Complete
Story
Related Stories:
- Slashdot: Who's Afraid Of C++? [Book Review](Jun 20, 2000)
- Internet C++, An Alternative to Java(Mar 21, 2000)
- APE project merges with Common C++(Mar 15, 2000)
- Slashdot: C++ Answers From Bjarne Stroustrup(Feb 25, 2000)
- PRNewswire: Inprise/Borland launches Free Borland(R) C++ Compiler(Feb 17, 2000)
- PRNewswire: Inprise/Borland Announces Borland C++Builder 5(Jan 26, 2000)
- PC Week: Inprise C++ compiler to be available free on the Web(Jan 20, 2000)
- dotcomma.org: Introduction to C++ Classes for C Programmers(Jan 09, 2000)
- PRNewswire: Special Version of SNiFF+ for Linux C/C++ Developers Now Available For Download(Dec 03, 1999)
- Source Forge: Announcing OOA/OOD/C++ Consortium Initiative for Linux(Nov 21, 1999)
- Linux C++ Mailing Lists(Oct 16, 1999)
- Linux Journal: The C++ Standard Library [Review](Oct 14, 1999)
- apcmag: Programming July 99: C++ pointers(Jun 30, 1999)