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 4789
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 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 7863 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 7849 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 8237 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 9088 Views 0 Downloads 367.62 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 8623 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 8002 Views 0 Downloads 325.42 KB
SMA 2104: Mathematics for Sciences - Lesson 4 Factorisable polynomials Trending!
Upon completing this topic, you should be able to factorise and solve polynomials of degree higher than 2
No pages found 8254 Views 0 Downloads 277.4 KB
SMA 2104: Mathematics for Sciences - Lesson 5 Permutations and Combination Trending!
Permutations and Combination Permutations - This is defined as the number of different ways of arranging different objects in order.
No pages found 7917 Views 0 Downloads 273.38 KB
SMA 2104: Mathematics for Sciences - Lesson 6 Binomial expansion Trending!
Upon completing this topic you should be able to understand the binomial theorem and it’s application in the expansion of expressions and in approximations.
No pages found 7695 Views 0 Downloads 282.79 KB
SMA 2104: Mathematics for Sciences - Lesson 7 Probability Trending!
Upon completing this topic,you should be able to;- Apply the principles of probability to solve problems in real-world contexts. Understand and use the language of probability and to compute the probabilities of composite events using the basic rules of probability.
No pages found 8264 Views 0 Downloads 395.57 KB