Posts belonging to Category 'C/ C++ programming'

Object-Oriented Programming Using C++

Aims This module teaches the basic principles of object-oriented programming, design and testing. Learning Outcomes Students should be able to: demonstrate understanding of the basic components of an object-oriented program including methods and attributes, the distinction between classes and instances, the structures required to write basic algorithms, the components of simple text and graphics based interfaces. (more…)

Object Oriented Programming with ANSI-C

No programming technique solves all problems. No programming language produces only correct results. No programmer should start each project from scratch. Object-oriented programming is the current cure-all — although it has been around for much more then ten years. At the core, there is little more to it then finally applying the good programming principles which we have been taught (more…)

Complete C++ language tutorial

To whom is this tutorial directed? This tutorial is for those people who want to learn programming in C++ and do not necessarily have any previous knowledge of other programming languages. Of course any knowledge of other programming languages or any general computer skill can be useful to better understand this tutorial, although it is not essential. If you are familiar with C language you can take the first 3 parts of this tutorial (from 1.1 to 3.4) as a review, since they mainly explain the C (more…)

Tutorial Guide to C++ Programming

Part IB Introduction to Computing Outline A. Aims of the Computing Course This guide provides a tutorial introduction to computing and the C++ computer programming language. It will help you teach yourself to write, compile, execute and test simple computer programs in C++ which read data from the keyboard, perform some computations on that data, and print out the results; and how to (more…)

Borland C++ Builder Tutorial

1 Overview Borland C++ Builder is a integrated development environment (IDE) used in all phases of C program development. Speci cally, it \integrates” several of the programs used to develop C programs, including:  the text editor;  the C compiler;  the C preprocessor;  the linker; and  the debugger. Builder is designed to simplify the development of large applications that involve elaborate (more…)

Supplement II.C: Dev-C++ Tutorial

1. Introduction Dev-C++ is a free C++ IDE, which can be downloaded from http://www.bloodshed.net/dev/devcpp.html. C++.NET is much more powerful than Dev-C++. But Dev-C++ is simpler and easier than C++.NET for new IDE users. 2 Getting Started with Dev-C++ Dev-C++ is easy to install. If you need help on installation, please refer to Dev-C++ Tutorial in the supplements. Suppose you have (more…)

Introduction to C++ Tutorial

1 Basic Program Structure A C++ program1 is made up of a mainline procedure called main(), and zero or more additional procedures to perform operations within your program. When a program starts execution, it begins by calling the mainline procedure. Source code for a program can be contained in a single file, or split across multiple files. Additional functionality may also be provided via external (more…)

Part IA Computing Course Tutorial Guide to C++ Programming

Part IA Computing Course Outline A. Aims of Michaelmas Term Computing Course This guide provides a tutorial introduction to computing and the C++ computer pro- gramming language. It will teach you how to write, compile, execute and test sim- ple computer programs in C++ which read data from the keyboard, perform some computations on that data, and ¯nally print out the results or display them (more…)

C++ Tutorial Java 1.5 Based

1 IntroductionThis tutorial is designed to give a working knowledge of C++ (and indirectly parts of C) as quickly as possible for people with Java programming experience and familiarity with basic programming language concepts. By working through the exercises, core C++ concepts can be learned and practiced. This tutorial is not a substitute for a good C++ textbook; in several places, you are referred to a textbook (more…)

Open C++ Tutorial

1 Introduction OpenC++ is an extensible language based on C++. The extended features of OpenC++ are specified by a meta-level program given at compile time. For distinction, regular programs written in OpenC++ are called base-level programs. If no meta-level program is given, OpenC++ is identical to regular C++. The meta-level program extends OpenC++ through the interface called the OpenC++ MOP. The (more…)