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 4467
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
SZL 2111: HIV/AIDs - Lesson 6 Trending!
General introduction: Public health and hygiene, human reproductive system, sex and sexuality. History of sexually transmitted diseases (STDs); History of Human Immunodeficiency virus/Acquired Immune deciency Syndrome (HIV/AIDS), Compara- tive information on trends, global and local distribution, Justification of importance of course. Biology of HIV/AIDS; Overview of immune system, natural immunity to HIV/AIDS. The AIDS virus and its life cycle, disease progression, transmission and diagnosis.
48 Pages 6624 Views 0 Downloads 401.01 KB
SZL 2111: HIV/AIDs - Lesson 7 Trending!
General introduction: Public health and hygiene, human reproductive system, sex and sexuality. History of sexually transmitted diseases (STDs); History of Human Immunodeficiency virus/Acquired Immune deficiency Syndrome (HIV/AIDS), Comparative information on trends, global and local distribution, Justification of importance of course. Biology of HIV/AIDS; Overview of immune system, natural immunity to HIV/AIDS. The AIDS virus and its life cycle, disease progression, transmission and diagnosis.
42 Pages 7347 Views 0 Downloads 2.19 MB
SZL 2111: HIV/AIDs - Lesson 8 Trending!
General introduction: Public health and hygiene, human reproductive system, sex and sexuality. History of sexually transmitted diseases (STDs); History of Human Immunodeficiency virus/Acquired Immune deficiency Syndrome (HIV/AIDS), Comparative information on trends, global and local distribution, Justification of importance of course. Biology of HIV/AIDS; Overview of immune system, natural immunity to HIV/AIDS. The AIDS virus and its life cycle, disease progression, transmission and diagnosis. Discordant couples.
20 Pages 5786 Views 0 Downloads 286.61 KB
SZL 2111: HIV/AIDs -Lesson 9 Trending!
General introduction: Public health and hygiene, human reproductive system, sex and sexuality. History of sexually transmitted diseases (STDs); History of Human Immunodeficiency virus/Acquired Immune deficiency Syndrome (HIV/AIDS), Comparative information on trends, global and local distribution, Justification of importance of course. Biology of HIV/AIDS; Overview of immune system, natural immunity to HIV/AIDS. The AIDS virus and its life cycle, disease progression, transmission and diagnosis.
44 Pages 6268 Views 0 Downloads 369.34 KB
SZL 2111: HIV/AIDs - Lesson 10 Trending!
General introduction: Public health and hygiene, human reproductive system, sex and sexuality. History of sexually transmitted diseases (STDs); History of Human Immunodeficiency virus/Acquired Immune deficiency Syndrome (HIV/AIDS), Compara- tive information on trends, global and local distribution, Justification of importance of course.
38 Pages 6744 Views 0 Downloads 339.57 KB
SMA 2104: Mathematics for Sciences - Course Outline Trending!
This unit aims at providing a good foundation in mathematics for students who plans to do more specialized work in the university, especially in the Computing, Medicine, Engineering, etc.
3 Pages 7142 Views 0 Downloads 266.54 KB
SMA 2104: Mathematics for Sciences - Lesson 1 Quadratic equations Trending!
Upon completing this topic, you should be able to: Solve quadratic equations by factoring Learning outcomes Solve quadratic equations using the method of extraction of roots Determine the nature of the solutions to a quadratic equation Understand the logic underlying the method of completing Solve a quadratic equation using the method of completing
No pages found 7811 Views 0 Downloads 367.62 KB
SMA 2104 - MATHEMATICS FOR SCIENCE - Lesson 1B Trending!
By the end of this topic you should be able to; Understand the laws of indices and their application in Learning outcomes simplifying algebraic expressions. Define index, Establish the laws of indices, Solve simple problems using the laws of indices, Understand the theory of logarithms and surds and their applications in manipulating expressions.
No pages found 6692 Views 0 Downloads 344.76 KB
SMA 2104: Mathematics for Sciences - Lesson 2 Algebra Trending!
By the end of this topic you should be able to; Understand the laws of indices and their application in simplifying algebraic expressions. Define index, Establish the laws of indices, Solve simple problems using the laws of indices. Understand the theory of logarithms and surds and their applications in manipulating expressions. Define logarithm
No pages found 7566 Views 0 Downloads 344.76 KB
SMA 2104: Mathematics for Sciences - Lesson 3 Sequences and series Trending!
Upon completing this topic, you should be able to: Differentiate between a series and a sequence, Use Sigma notation in representing a series, Understand the properties of arithmetic and geometric progressions, Define an Arithmetic progression (A.P.), Obtain the formula for nth term and the first n terms of an A.P, Define a geometric progression (G.P.)
No pages found 7098 Views 0 Downloads 325.42 KB