INTRODUCTION TO C++ PROGRAMMING YEAR 1

Institution UNIVERSITY
Course BACHELOR OF SCIENCE...
Year 1st Year
Semester Unknown
Posted By stephen oyake rabilo
File Type pdf
Pages 33 Pages
File Size 207.62 KB
Views 2104
Downloads 0
Price: Buy Now whatsapp Buy via whatsapp
  • whatsapp
  • facebook
  • twitter

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.

No preview available
APS 410: EXPERIMENTAL PSYCHOLOGY Trending!
This module provides a view of psychology as a science. It introduces key scientific concepts that can be used in application of psychological principles to conduct experiments about cause and effect of behavior.
65 Pages 2168 Views 0 Downloads 790.31 KB
ARE 103: SOCIOLOGY OF RELIGION Trending!
Sociology is the systematic study of social groups and their influences on human behaviour. Human beings are social by nature. They form groups to meet their needs and pursue their interests. This social dimension is the focus of sociology. Groups range from intimate type, such as two lovers to the largest most inclusive group, which is called society. Sociology concerns itself with the nature of these groups and their impact upon each other and on the individuals that comprise them.
85 Pages 3227 Views 1 Downloads 1.55 MB
ARE 103 : SOCIOLGY IN RELIGION
Sociology of religion is the scientific study of the ways in which culture, society and class relationships affect religion and the ways in which religion affects individuals and the social structure.
85 Pages 1881 Views 0 Downloads 1.55 MB
ASC 103: SOCIAL STRUCTURE OF AFRICAN SOCIETIES
The discipline of sociology is founded on a trinity of three main pillars: social structure, social research methods and social theory. You may like to think of the discipline of sociology as a traditional African stool that stands on three legs: social structure, social research methods and social theory. Having been introduced to the discipline of sociology last semester, this course exposes you to the first pillar: social structure. As you go on with your courses in sociology you will encounter the other two pillars: social research methods and social theory. To put them in perspective: Social theory attempts to explain why things happen and how they happen. It also attempts to predict social phenomena. Social research methods deal with how sociologists come to know what they know about society and the tools that they use to test the validity of some of the predictions made by theory. Social structure attempts to explain and describe the reality of how society is constructed.
155 Pages 228 Views 1 Downloads 2.44 MB
AKS 100: INTRODUCTION TO THE STUDY OF LANGAUGE
Somo hili linatoa utangulizi wa chombo hiki cha binadamu kinachoitwa lugha. kwa muda mrefu binadamu amejaribu kuelewa lugha bila mafanikio makubwa hadi mikabala ya kisayansi ilipoanza .
152 Pages 1688 Views 0 Downloads 1.25 MB
TROPICAL MEDICINE Trending!
HELMINTHIC INFECTION 1 NEMATODES (ROUND WORMS) 2 CESTODES (TAPE WORMS) 3 TREMATODES (FLUKES)
355 Pages 3452 Views 0 Downloads 1.95 MB
DISORDERS OF THE BLOOD VESSELS Trending!
DISEASES OF ARTERIES 1. Anatomy of blood vessels 2. Arteriosclerosis 3. Atherosclerosis 4. Aneurysms 5. Vasculitis
125 Pages 2872 Views 0 Downloads 1.62 MB
HYPERTENSIVE DISORDERS IN PRENANCY Trending!
Is one of the most frequently maternal morbility and mortality. Black women's are 3 time as likely to die from preeclampsia as white women Remains among the most significant and intriguing unsolved problems in obstetrics. Majority of preeclampsia in nulliparous patients (2 to 5 %) Increased mortality risk in older gravidas Increased risk in first pregnancy with new partner Preeclampsia is a leading cause of direct maternal mortality
47 Pages 3034 Views 0 Downloads 2 MB
OBSTRUCTED LABOUR Trending!
Normal labour: defined as regular painful uterine contractions which becomes progressively stronger and more frequent accompanied by the effacement and progressive dilatation of the cervix and the descent of the presenting part of the fetus. The labor is divided into 3 stages. The mechanism of labour is explained by the change in the position and the attitude of the fetus, as the fetus initiates its way through the pelvis (birth canal). Mechanism includes: 1) Engagement 2) Descent 3) Flexion 4) Internal rotation 5) Extension 6) Restitution 7) External rotation
50 Pages 3001 Views 0 Downloads 852.89 KB
ANATOMY OF THE FEMALE PEVIS AND FETAL SKULL Trending!
Anatomy of the pelvis and fetal skull should be understood in the context of what happens during labour
48 Pages 3642 Views 0 Downloads 1.26 MB