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 | 1997 |
| 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.
BIOCHEMISTRY
DBY 2101 BIOCHEMISTRY
Introduction
The term ‘biochemistry’ was first introduced by a German chemist Carl Neuberg in 1903. Biochemistry
may be defined as a science concerned with the chemical nature and chemical behavior of the living
matter. Biochemistry is the study of the chemical basis of life. Biochemistry helps us understand how
biological systems work.
‘A biochemist is an investigator who utilizes chemical, physical or biological techniques to study
chemical nature and behavior of living matter
234 Pages
832 Views
0 Downloads
5.29 MB
BIOCHEMISTRY
DBY 2101 BIOCHEMISTRY
Introduction
The term ‘biochemistry’ was first introduced by a German chemist Carl Neuberg in 1903. Biochemistry
may be defined as a science concerned with the chemical nature and chemical behavior of the living
matter. Biochemistry is the study of the chemical basis of life. Biochemistry helps us understand how
biological systems work.
‘A biochemist is an investigator who utilizes chemical, physical or biological techniques to study
chemical nature and behavior of living matter
234 Pages
726 Views
0 Downloads
5.29 MB
APPLIED ORGANIC CHEMISTRY
Trending!
OCTANE RATING AND MOTOR FUELS
i) Gasoline consisting primarily of straight chain
alkanes has poor combustion characteristics
when burned in an internal combustion engine.
ii) Consequently air and vaporized gasoline
mixture tends to ignite spontaneously in the
engine’s cylinder before it is completely
compressed and ignited by the spark plug. This
may result in “Engine knocks” resulting in “loss
of power.
82 Pages
3307 Views
0 Downloads
3 MB
BENZENE AND AROMATICITY
Trending!
Aromatic Compounds
• Aromatic was used to described some fragrant compounds in early 19th century
• Not correct: later they are grouped by chemical behavior (unsaturated
compounds that undergo substitution rather than addition)
• Current: distinguished from aliphatic compounds by electronic configuration.
36 Pages
3336 Views
0 Downloads
1.44 MB
HR1202:LABOUR LAWS
Trending!
The aim of the course is to introduce the institutions and processes of employee and industrial relations with an emphasis on laws,institutions and social processes. It combines theoretical and historical understandings of industrial relations with a detailed examination of the current problems andstrategies of the key industrial relations players.
2820 Views
0 Downloads
181.55 KB
Lesson Plan Template
Trending!
Download a copy of the lesson plan template.
3 Pages
2629 Views
0 Downloads
39.27 KB
SETS AND SET THEORY
Trending!
A set is a well defined list, collection or class of objects.
3190 Views
0 Downloads
32.68 KB
LABOUR LAWS LECTURE NOTES
Trending!
Subject matter of labour law consists of the rules which govern the employment
relationship but a broader perspective would see labour law as the normative framework for the existence and operation of all the institutions of the labour market.
2438 Views
1 Downloads
158 KB
ECONOMICS FULL NOTES
The study of economics begins with understanding of human “wants”. Scarcity forces us to economise. We weigh up the various alternatives and select that particular assortment of goods which yields the highest return from our limited resources. Modern economists use this idea to define the scope of their studies.
487 Views
1 Downloads
1.61 MB
Money and Banking
There has been no precise definition of money which has conveniently covered its functions. It appears that there are many definitions of money as there are writers of economics. However there are four approaches to definition of money including Conventional approach, Chicago approach.
88 Pages
506 Views
0 Downloads
532.13 KB