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 | 1477 |
| 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.
HRD 2101: LESSON 1 Introduction to Communication Skills
Trending!
Welcome to Communication Skills! All human relations, be it formal or non-formal, official or unofficial are created, developed and sustained through communication. As such it is not only important to carry out communication as a means to
facilitating these relationships but to acquire it as an essential skill of life.
56 Pages
3834 Views
1 Downloads
477.39 KB
HRD 2101: LESSON 2 Verbal Communication
Trending!
There are two forms of communication, namely verbal and non-verbal. Communication
by the spoken or written word, as we all may have noticed in our lives, is the most familiar and consciously acclaimed type of communication.
68 Pages
2886 Views
0 Downloads
1.5 MB
HRD 2101: LESSON 3 Patterns and Techniques in Communication
Trending!
The flow of information in an organisation is governed by its structure. In simple terms, organisational structure refers to the manner in which staff are arranged into departments and/or sections that handle different yet correlated tasks in the organisation.
24 Pages
3006 Views
0 Downloads
289.22 KB
HRD 2101: LESSON 4 Techniques in Communication
Trending!
Hearing- reception of sound. Sound strikes the eardrum causing vibrations. Passive activity. Listening- Hearing and interpreting sounds with an aim to understand the meaning behind the sounds. Active activity.
24 Pages
3125 Views
0 Downloads
293.16 KB
HRD 2101: LESSON 5 sources & use of technology in communication.
Trending!
Upon completion of this topic you should be able to:
Outline the types of interviews. Discuss the interview process - preparation and execution by both the interviewer and interviewee. Prepare and use questionnaires to collect data. Apply observation and experimentation techniques in collecting information for purposes of research.
37 Pages
3045 Views
0 Downloads
327.7 KB
HRD 2101: LESSON 6 INFORMATION LITERACY SKILLS
Trending!
We are all living in a knowledge Society with proliferating information resources and drastic changes in our environments. In our everyday life, we confront dramatic challenges coming from the rapidly changing social, political and economic environments of our society.
48 Pages
2787 Views
0 Downloads
401.01 KB
HRD 2101: LESSON 7 Access to Information
Trending!
There is a plenty of information sources nowadays. Books, Journals, Magazines, Newspapers and Library catalogues are some traditional sources of information that we may use. These are often presented in print format or electronic format.
42 Pages
2680 Views
0 Downloads
2.19 MB
HRD 2101: LESSON 8 Evaluating Information Sources
Trending!
In the note, you will encounter numerous information resources, both print and digital. You will need to consider how to tell whether those sources are reputable and of quality.
20 Pages
3193 Views
0 Downloads
286.61 KB
HRD 2101: LESSON 9 Ethical, Legal and Social Issues for Use of Information
Trending!
There are a number of ethical, legal and socioeconomic issues that surround the access and use of information for your research. This module introduces you to some of the main issues and considerations you should be aware of in order to ensure appropriate use of information
44 Pages
2937 Views
0 Downloads
369.34 KB
HRD 2101: LESSON 10 The impact of information and communication technologies in society
Trending!
We are now living in an information age and the focus on information and technology has profoundly affected the nature of society and the world of work. More information is accessible to all people in our society, and more businesses are seeking employees who are proficient in information retrieval, analysis, and communication in conjunction with highly developed technological skills.
38 Pages
3325 Views
0 Downloads
339.57 KB