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 | 2101 |
| 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.
AEN 200: ARTICULATORY PHONETICS PPT NOTES
Trending!
Fromkin, Rodman and Hyams (2009) define articulatory phonetics as the branch of phonetics that studies how the human vocal tract produces the sounds of language, while Crystal (2008) defines articulatory phonetics as "the study of the way speech sounds are made (articulated') by the avagal organs."
25 Pages
2265 Views
0 Downloads
897.89 KB
APS 106: INTRODUCTION TO LIFECYCLE DEVELOPMENT
Trending!
Development can be defined as systemic changes and continuities in the individual that occur between conception and death or from womb to tomb. The changes are systemic in that they are orderly, patterned and relatively enduring-not fleeting and unpredictable like mood swings. Involve continuities; ways in which we remain the same or continue to reflect our pasts.
110 Pages
2409 Views
0 Downloads
684.43 KB
APP 308: ADMINISTRATIVE LEADERSHIP
Trending!
Leadership is a process by which a person influences others to accomplish an
objective and directs the organization in a way that makes it more cohesive and coherent. Leadership is a process of social influence, which maximizes the efforts of others, towards the achievement of a goal.
86 Pages
3718 Views
1 Downloads
800.04 KB
AGD 312: GENDER DIMENSIONS IN RURAL AND URBAN DEVELOPMENT
Rural development is a broad discipline that covers many different themes. The central theme is defined by the name. In this module, rural development is about progress and change in the rural areas of developing countries. It is concerned with the factors that affect rural change, how we define progress, and what can be done to bring about the overriding objective of rural development, which is to reduce, and eventually eliminate, rural poverty.
52 Pages
1869 Views
0 Downloads
880.88 KB
Renaissance Philosophy
Trending!
During the middle ages, philosophy was virtually the handmaiden of theology but the blending of philosophy and theology was an unstable one. Philosophy was set at providing an intellectual and metaphysical foundation for revealed religion. By the close of the middle ages, the medieval marriage between religion and philosophy had become strained, and during renaissance there was a decisive separation between the two.
4 Pages
2027 Views
0 Downloads
104.57 KB
THE GOLDEN AGE OF PHILOSOPHY – SOCRATES, PLATO &ARISTOTLE
Socrates is said to have reacted against the teachings of the Sophists among whom he is sometimes grouped. He wanted to keep his native city of Athens from the moral destruction toward which the Sophists were leading it. Like the Sophists, he wandered from place to place discussing moral life and convictions with the people he met on the streets.
11 Pages
1322 Views
0 Downloads
259.42 KB
UCU 104: INTRODUCTION TO ETREPRENEURSHIP
Trending!
Entrepreneurship- is the process of creating something new with value by devoting the
necessary time and effort assuming the risks involved and receiving the resulting rewards inform of monetary gain personal satisfaction and independence.
111 Pages
3682 Views
1 Downloads
1.23 MB
UCU 112: CREATIVITY AND INNOVATION
Trending!
This module introduces you to the basic concepts, principles and issues in creativity and innovation. The module begins with clarification of the concepts, nature and scope of creativity. This enables you to clearly see and appreciate the distinction between creativity and innovation and the importance of both skills in the 21 st century.
99 Pages
2231 Views
1 Downloads
1.36 MB
UCU 103: CRITICAL AND CREATIVE THINKING
The term philosophy is derived from a combination of two Greek words, namely philia
(love) and Sophia (wisdom) meaning love of wisdom. You may therefore, define philosophy as love of wisdom. This definition has persisted for more than two thousand years.
65 Pages
1834 Views
1 Downloads
608.04 KB
UCU 110 : COMMUNICATION AND COLLABORATIVE SKILLS FULL NOTES
Trending!
This course is aimed at helping you to develop the capacity to communicate effectively and efficiently in a variety of contexts, learn independently, collaborate with others, think critically as well as become an information literate citizen. This is a skills based course, which is taken by all the first year students across disciplines at the university.
90 Pages
5031 Views
7 Downloads
1.56 MB