c++ tutorial

C++ Tutorial: Monitoring System Time C++/CLI

Submitted by Bright777 on
   Hi. It is Bright777 and today we are going to do a program to monitor system time. In my program I will use SYSTEMTIME structure and Timer Control from visual C++. All work I have done in Microsoft Visual Studio 2012. Preparation    First of all, you need to create a new project of Windows Forms Application Type. After that you should place controls like in the image below or something else. For showing system time I use standard Label component. Also you need to add two buttons to your form and a Timer Control.

C++ Tutorial : Exceptions in C++/CLI

Submitted by Bright777 on
   Hi :) It’s Bright777 and today I want to show you a mechanism of catching exceptions in C++. First of all you need to know that is the exception how it can be caused. Exception is the action that can’t be completed due to the errors. For example, if you divide some number and zero, you will have an exception.    C++ can help you to catch exceptions.

C++ Tutorial: Using of BackgroundWorker Component in C++/CLI

Submitted by Bright777 on
Intro     Hi. It is Brigh777 and today I will show you how to use such component as backgroundworker in your C++ application. First of all, I tell you why we need, such component, as backgroundworker. Backgroundworker is a really good thing then you want to run some background processes in your application. The standard application does all calculations, commands and other things in one thread. It causes a lot of problems, such as a long time of work, the main window of your program can hangs , while you program will do calculations.

C++ Tutorial № 2 : Variables. Types. Boolean type.

Submitted by Bright777 on
   Hi everyone. It is Bright77 and today we are going to talk about variables: what is variable, how we should declare it and how to operate with them.    First of all we need to give a definition of term “variable”. You can say that variable it is thing that should change. It is quite right, but… So, in C++ you can imagine variable like a special container to store the information we need in the current program in the current time. Variables can store different information: from integer values to sentences and texts.

C++ tutorial №1: First program on C++

Submitted by Bright777 on
   Hi guys. Today I am going to meet you with C++ and we will write a short and simple program. So let's start from basic information about C++.    C++ is one of the most popular programming languages and is implemented on a wide variety of hardware and OS platforms. C++ is an object-oriented language. It was created by Bjarne Stroustrup in 1983 as a next step after C.