INTRODUCTION TO C++ PROGRAMMING YEAR 1
| Institution | UNIVERSITY |
| Course | BACHELOR OF SCIENCE... |
| Year | 1st Year |
| Semester | Unknown |
| Posted By | stephen oyake rabilo |
| File Type | |
| Pages | 33 Pages |
| File Size | 207.62 KB |
| Views | 2027 |
| Downloads | 0 |
| Price: |
Buy Now
|
Description
First Class In C++
Adapted from : http://www.cplusplus.com/doc/tutorial/tut1-1.html
Structure of a C++ program
Probably the best way to start learning a programming language is with a program. So here is our
first program:
// my first program in C++
#include <iostream.h>
int main ()
{
cout << "Hello World!";
return 0;
}
Hello World!
The left side shows the source code for our first program, which we can name, for example,
hiworld.cpp. The right side shows the result of the program once compiled and executed. The way to
edit and compile a program depends on the compiler you are using. Depending on whether it has a
Development Interface or not and on its version. Consult section compilers and the manual or help
included with your compiler if you have doubts on how to compile a C++ console program.
The previous program is the first program that most programming apprentices write, and its result is
the printing on screen of the "Hello World!" sentence. It is one of the simpler programs that can be
written in C++, but it already includes the basic components that every C++ program has. We are
going to take a look at them one by one:
Below is the document preview.
DATABASE MANAGEMENT SYSTEMS NOTES
Trending!
The information storage and retrieval has become very important in our day-to-day life. The old era of manual system is no longer used in most of the places.
264 Pages
3547 Views
0 Downloads
2.44 MB
OBJECT ORIENTED PROGRAMMING NOTES
Trending!
Programming practices have evolved considerably over the past few decades. As more and more programmers gained experience problems unknown hitherto, began to surface.
357 Pages
2705 Views
0 Downloads
4.35 MB
Software Project Management Notes
Software project management includes the tools, techniques, and knowledge essential to deal with the growth of software products. In Software Project Management, the end users and developers require to know the cost of the project, duration and length. It is a process of managing, allocating and timing resources to develop computer software that meets necessities.
328 Pages
956 Views
0 Downloads
6.37 MB
INFORMATION SECURITY AND PRIVACY NOTES
Trending!
Information System is a particular discipline or branch of learning that is concerned with the application of information to organizational needs.
241 Pages
3569 Views
0 Downloads
3.82 MB
Enterprise Resource Planning Notes
Trending!
ERP systems are now ubiquitous in large businesses and the current move by vendors is to repackage them for small to medium enterprises (SMEs).
232 Pages
2043 Views
0 Downloads
4.82 MB
CIFA: Corporate Finance Q&A Revision Kit
Trending!
Download a copy of the Corporate Finance Q&A Revision Kit, The booklet contains Questions from past papers and their Comprehensive Answers. This revision partner will be ideal in your assignments and exam preparations.
79 Pages
3721 Views
1 Downloads
63.94 MB
CIFA: Economics Revision Q&A Blocks
Trending!
Download a copy of the Economics Revision Q&A Blocks, The booklet contains Questions from past papers and their Comprehensive Answers. This revision partner will be ideal in your assignments and exam preparations.
323 Pages
3361 Views
1 Downloads
5.22 MB
CIFA/CPA: Economics Q&A Revision Kit
Trending!
Download a copy of the Economics Q&A Revision Kit, The booklet contains Questions from past papers and their Comprehensive Answers. This revision partner will be ideal in your assignments and exam preparations.
681 Pages
3671 Views
1 Downloads
4.43 MB
Entrepreneurship & Communication Skills Revision Kit
Trending!
Download a copy of the Entrepreneurship & Communication Skills Revision Kit, The booklet contains Questions from past papers and their Comprehensive Answers. This revision partner will be ideal in your assignments and exam preparations.
171 Pages
3397 Views
1 Downloads
4.11 MB
CIFA SEC 4: Equity Investment Analysis
Trending!
This paper is intended to equip the candidate with the knowledge, skills and attitude that will enable him/her to value and analyze equity investments.
316 Pages
3632 Views
3 Downloads
6.49 MB