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 | 2035 |
| 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.
CURRICULUM IMPLEMENTATION
Trending!
The term, instructional program, refers to a replicable instructional activity that is designed and implemented to achieve an instructional goal, namely, some clearly defined change or changes in a selected group of learners.
7 Pages
2551 Views
0 Downloads
335.78 KB
GEOMETRIC DRAWING
Trending!
This chapter is concerned with the construction of plane geometric figures. plane geometry is the geometry of figures that are two-dimensional ie figures that have only length and breadth. solid geometry is the geometry of three dimensional figures
18 Pages
3059 Views
0 Downloads
6.49 MB
TIME SERIES ANALYSIS
Time series is a collection of observations made sequentially in time. Time maybe in seconds, minutes hours years or even at regular time intervals such as seconds
55 Pages
1247 Views
2 Downloads
11.12 MB
INVENTORY MANAGEMENT AND CONTROL
Trending!
Inventory Includes inputs such as human financial, energy, equipment and raw materials and outputs such as parts, components and finished goods, partially finished goods or work-in-progress.
26 Pages
3206 Views
0 Downloads
761.4 KB
INTRODUCTION TO FINANCIAL ACCOUNTING
Trending!
Accounting is the art of recording, classifying and summarizing in a significant manner and in terms of money the transactions and events which are in part at least of a financial character and the interpretation of the results thereof.
16 Pages
3289 Views
1 Downloads
551.92 KB
BEC 3250: INTERMEDIATE MACROECONOMICS
Trending!
Macroeconomics is essentially the study of the behavior and performance of the economy as a whole. More importantly, it studies the relationship and interaction between the ‘factors or forces’ that determine the level and growth of national output and employment, general price level, and the balance of payments positions of an economy. This definition too should be treated only as a working definition of macroeconomics.
31 Pages
2436 Views
0 Downloads
801.41 KB
DCMED 112: NURSING SKILLS
Trending!
Intravenous fluids are those solutions instilled within the patient’s vein. The fluid can be; dissolved medications, blood, blood extracts and blood substitutes, of water and chemicals normally found within the body, dissolved nutrients.
30 Pages
3401 Views
0 Downloads
681.58 KB
EPS205: EDUCATIONAL PSYCHOLOGY
Psychology is defined as the scientific discipline that studies animal and human behaviour and mental processes. as a science psychology is used in the understanding of behaviour and mental processes
147 Pages
917 Views
2 Downloads
1.85 MB
EPS205: EDUCATIONAL PSYCHOLOGY
Psychology is defined as the scientific discipline that studies animal and human behaviour and mental processes. as a science psychology is used in the understanding of behaviour and mental processes
147 Pages
846 Views
3 Downloads
1.85 MB
OPERATIONS MANAGEMENT
Operation is that part of as organization, which is concerned with the transformation of a range of inputs into the required output (services) having the requisite quality level . Management is the process, which combines and transforms various resources used in the operations subsystem of the organization into value added services in a controlled manner as per the policies of the organization.
117 Pages
309 Views
0 Downloads
1.47 MB