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 | 5037 |
| 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.
CIM 110: COMMUNICATION SKILLS
Trending!
This module seeks to provide interactive content for undergraduate students who are enrolled for various undergraduate degree programs of Moi University in the School of Education. The module covers content for communication skills which is a core course for all degree programs.
134 Pages
12044 Views
2 Downloads
1.88 MB
EDF 112: CHARACTER EDUCATION AND INTEGRITY
Course Purpose; To enable the learner appreciate the contributions of education in value development and its place in the moral life of the society.
3 Pages
1087 Views
19 Downloads
160.68 KB
SELECTED FORMAL PHILOSOPHIES OF EDUCATION
Trending!
Behind every school system, educational approach and practice, there is a philosophy based on the views and values of the educators, as well as the society that is sponsoring the education. The philosophy starts with the view of reality and definitions of truth and goodness. From this, the mission and goals of education (and schools) and the emphasis of the instruction (given in schools or classrooms) are defined and established. The various philosophies are based on a view of society and what is important, as well as political beliefs to a degree.
17 Pages
8226 Views
0 Downloads
367.25 KB
INTRODUCTION TO QUANTITATIVE TECHNIQUES IN EDUCATION
Trending!
Quantitative methods in education will serve as a context for the development of Quantitative skills by facilitating the development of your abilities to solve real world problems, make intelligent (more informed) decisions, evaluate quantitative information, and reason more effectively.
81 Pages
7780 Views
0 Downloads
2.26 MB
SNE 100: Special Needs Education Notes
Trending!
Special needs: Is defined as an individual with a mental, emotional, or physical
disability. An individual with special needs may need help in one or more of the
following areas:Communication, Movement, Self-care,Decision-making.
123 Pages
11115 Views
6 Downloads
1.52 MB
EDF 111: PHILOSOPHY OF EDUCATION
Trending!
Philosophy is the rational investigation of the truths and principles of being, knowledge or conduct. It is concerned with making explicit the nature and significance of ordinary and scientific beliefs. It is a system of thought or principles for guidance in practical affairs. It is the art of taking nothing for granted and questioning everything (what is good? Beauty? True? Justice? Courage? Democracy?) So philosophy bring to birth new ideas, new knowledge.
11658 Views
1 Downloads
66.89 KB
EDF 112: CHARACTER EDUCATION AND INTEGRITY NOTES
Trending!
Moral education refers to the general techniques and processes that are aimed at enabling the learner to evaluate scrutinize and make the right judgement and choices regarding values and value systems. The end result of this process is hoped to bring learners to act morally, that is in accordance with set values (goals). Moral education aims at arming the learner with the power of moral reasoning and the desire to act morally. Hence, it exhibits both the cognitive as well as attitudinal components. It involves the ability to make moral judgement based on sound reasoning as well as a process of educating feelings and emotions.
11066 Views
1 Downloads
57.95 KB
The Revised CPA Syllabus
Trending!
Download a copy of the revised syllabus for the Certified Public Accountants Examination.
52 Pages
8664 Views
3 Downloads
3.65 MB
K.C.S.E COMPUTER STUDIES SYLLABUS
Trending!
Get a copy of the the latest K.C.S.E COMPUTER STUDIES SYLLABUS.
23 Pages
10432 Views
5 Downloads
2.41 MB
AGRICULTURE BOOKLET
Trending!
This revision booklet is ideal for preparation for KCSE Examination. it contains series of topical questions and answers that makes revision even much easier! Get a copy today...
164 Pages
8475 Views
0 Downloads
1.88 MB