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 | 1668 |
| 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.
Introduction to Curriculum-Meaning and definition of terms
Trending!
THE COMMON CONCEPTS AND PRINCIPLES OF CURRICULUM DEVELOPMENT
71 Pages
3223 Views
0 Downloads
721.09 KB
MEANING OF COMPETENCE-BASED CURRICULUM
Trending!
CBC can be interpreted as a curriculum concept that emphasizes the development of the ability to do (competence) tasks with certain performance standards, so that the results can be felt by students in the form of mastery of a particular set of competencies. Its directed to develop knowledge, understanding, abilities, values, attitudes, and interests of students in order to be able to do something in the form of skill, accuracy, and success with full responsibility.
24 Pages
3553 Views
0 Downloads
849.5 KB
Lung & RS Exam
Trending!
This course contains detailed on on lung and RS Exam
47 Pages
2535 Views
0 Downloads
2.25 MB
EXAMINATION OF HEART AND CARDIOVASCULAR SYSTEM
Trending!
Detailed notes on examination of the heart and cardiovascular system
3236 Views
0 Downloads
3.36 MB
Cardiac Arrhythmias
Trending!
This course contains latest notes on cardiac arrhythmias
83 Pages
2708 Views
0 Downloads
1.94 MB
Haemoglobin
Trending!
Detailed notes on haemoglobin, its structure, types and molecule
67 Pages
2350 Views
0 Downloads
3.03 MB
POSITIONS USED IN NURSING
Trending!
Latest notes on positions used in nursing
3403 Views
0 Downloads
1.4 MB
MASCLOSKELETAL CARE MODALITIES
Trending!
Detailed notes onmascloskeletal care modalities
93 Pages
2644 Views
0 Downloads
1.01 MB
BLA 4209: VARIETIES OF ENGLISH
Trending!
This course helps the learners to examine how the notion of language variation applies to English in today’s worlds
45 Pages
3546 Views
1 Downloads
739.46 KB
Grinding Fixtures
Trending!
The work holding devices for grinding operations will depend upon the type of the
grinding operation and the machine used. This module contains the different types of grinding fixtures used
25 Pages
2658 Views
0 Downloads
798.52 KB