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 1497
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
BUDOO1 BUSINESS MATHEMATICS Trending!
UPDATED NOTES ON BUSINESS MATHEMATICS
8 Pages 3827 Views 1 Downloads 1.15 MB
EAE200 ECONOMICS OF GLOBAL BUSINESS Trending!
This course is designed to provide students with a systematic understanding of the critical aspects of the contemporary global economic and business environment especially the global business strategy formulation and implementation, and ethical concerns in global business
3945 Views 0 Downloads 834.5 KB
EAE302 ECONOMICS OF MICROFINANCE I Trending!
UPDATED NOTES ON ECONOMICS OF MICROFINANCE I
3833 Views 1 Downloads 1.11 MB
EAE 310: ECONOMICS OF MONEY AND BANKING Trending!
This course is designed to expose undergraduate students to understand what money is and the theories of money supply and money demand. To know the roles of the central bank and understand how monetary policy works.
3890 Views 1 Downloads 279.42 KB
EAE 301: TAXATION ECONOMICS AND POLICY Trending!
UPDATED NOTES ON TAXATION ECONOMICS AND POLICY
4031 Views 0 Downloads 1.63 MB
EAE201 ECONOMICS OF PUBLIC EXPENDITURE Trending!
This course introduces students to welfare economics and analysis of key issues in public expenditure policies that affect individual behaviour and how the government sets policies
89 Pages 3388 Views 1 Downloads 880.41 KB
EAE304 LABOUR ECONOMICS Trending!
REVISED NOTES ON LABOUR ECONOMICS
94 Pages 3244 Views 1 Downloads 1.42 MB
EAE 408: ECONOMICS OF INDUSTRY Trending!
UPDATED NOTES ON ECONOMICS OF INDUSTRY
3717 Views 0 Downloads 1.44 MB
EAE 405: DEVELOPMENT PLANNING Trending!
This course is to introduce learners to the knowledge of basic concepts and techniques of development policy making and development planning in particular. Learners will be exposed to the nature of development planning, its rationale, planning techniques and plan failure.
3939 Views 0 Downloads 916 KB
EAE404 ECONOMICS OF PUBLIC ENTERPRISES Trending!
UPDATED NOTES ON ECONOMICS OF PUBLIC ENTERPRISES
86 Pages 3829 Views 1 Downloads 411.73 KB