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 | 1555 |
| 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.
SSW303:GENDER ISSUES
Trending!
Gender-Refers to the socio-cultural construction of maleness and
femaleness. Gender can broadly be used to refer to the social organization of the
relationships between the sexes . In talking about gender there is
consensus in the feminist literature that gender neither refers to sex nor to women and literally rather ii refers to the socially and culturally established roles and relations of or between men and women. These roles are sometimes unequal between the sexes. Universally societies and cultures demarcates rights, duties and responsibilities through gender
236 Pages
2018 Views
0 Downloads
734.42 KB
SSW307:CONTEMPORARY SOCIOLOGICAL THEORIES
Trending!
The main objective of this course is to discuss and analyze sociological theories which are practiced today. However, it is worth noting that contemporary sociological theories are built on and corporates the classical theories and especially the works of Marx, Durkheim, Weber, Simmel and Mead. Therefore the approach into the understanding of contemporary sociological theories is to be acquainted with the works of classical writers (classical theorists) and the way their ideas are
incorporated into that of the latter writers (contemporary theorists).
111 Pages
2163 Views
0 Downloads
1.92 MB
SSW311: ADOLESCENCE STUDIES
Trending!
Adolescence stands our as a fascinating , interesting and challenging period of human growth and development. It is a period of great physical , social emotional , physiological and psychological change. The adolescent is neither a child nor an adult. In many traditional African societies adolescence marked the period of initiation of a child from childhood to
adulthood.
104 Pages
2019 Views
0 Downloads
1.23 MB
SSW315: RURAL AND URBAN STUDIES
Rural Studies- Is the study of rural life and human relationships in the rural environment. The study of rural life is the study of rural population, rural social organization and the social processes comparative in a rural society.AR Desai-Rural studies/sociology- the science of rural society – the science of laws of the development of rural society-has the primary objective to make scientific, systematic and comprehensive study of rural social organization, of its structure, function and the objective tendencies of development and on the basis of such studies to discover the laws of its development
13 Pages
1555 Views
0 Downloads
518.97 KB
SSW410:RURAL AND URBAN STUDIES
Trending!
Rural Studies- Is the study of rural life and human relationships in the
rural environment. The study of rural life is the study of rural population, rural social
organization and the social processes comparative in a rural society. AR Desai-Rural studies/sociology- the science of rural society – the science of laws of the development of rural society-has the primary objective to make scientific, systematic and comprehensive study of rural social organization, of its structure, function and the objective tendencies of development and on the basis of such studies to
discover the laws of its development
134 Pages
2061 Views
0 Downloads
1.25 MB
SSW 313: GENDER ISSUES IN DEVELOPMENT
Trending!
In this lecture, we shall define gender. In the process of doing so, we shall also look at the key concepts in gender and development. We shall then move on to discuss the importance of gender issues in development. Thereafter we shall look at gender mainstreaming. We shall go further and look at gender in project and policy cycles.
21 Pages
2623 Views
0 Downloads
755.46 KB
Social Movements and Social Change
Trending!
Social movements are purposeful, organized groups striving to work toward a common goal. These groups might be attempting to create change (Occupy Wall Street, Arab Spring), to resist change (anti-globalization movement), or to provide a political voice to those otherwise disenfranchised (civil rights movements). Social movements create social change.
18 Pages
2199 Views
0 Downloads
263.58 KB
Clinical Nursing 2nd Year
Trending!
Introduction to clinical Nursing
388 Pages
2940 Views
0 Downloads
1.81 MB
HISTORY FORM 3 TERM 3 END YEAR FULL EXAMS WITH MARKING SCHEMES
Trending!
Get a copy of the HISTORY FORM 3 TERM 3 END YEAR FULL EXAMS WITH MARKING SCHEMES. This is a well set and moderated exam paper with a well coordinated comprehensive marking scheme attached herein. Attached is also the EDITABLE Question Papers that you can customize to your preference.
19 Pages
3316 Views
0 Downloads
742.66 KB
BIOLOGY PP3 QUESTIONS AND ANSWERS
Trending!
Get pictorial questions for BIOLOGY PP3 QUESTIONS AND ANSWERS.
29 Pages
3691 Views
0 Downloads
1.69 MB