Using time is very important in programming. For convenience reasons it’s better to divide all C++ time manipulations in Windows in two groups: console programs and GUI programs. They use similar interchanging functions and methods. C++ time program examples in Windows are a very good coding exercises and in due time they are can be… Read More C++ Time Under Windows Examples
Compiling C++ Hello World program example with Dev-C++ is quite simple. Here is a step by step tutorial how to do it. Let’s start devcppPortable.exe and choose from the top menu File > New > Project. Then we get a window with settings for our new project. The window looks like this:
Probably the easiest and simplest in all respects way of how to start C++ programming is by making C++ console Hello World program. It doesn’t have windows and to some people that may look unnatural at first glance. A program under Windows without a window looks strange. But this is not true.
Traditionally the first program in most computer languages including C++ is called Hello World program. This first program as a rule consists of the simplest possible code. Therefore this program has another use. It is a simplest template to create any other more sophisticated program.
Let’s start with the idea that C++ programming is very difficult. Well, everything is relative. Lot of people considers Chinese language a very difficult one. But why then most people on the planet speak Chinese? All depends on the personal mindset. To some people C++ is complicated and obscure. To others it is the best… Read More C++ Programming In General
Several different types of Regular Expressions, or short Regex = Regular Expressions, exist in different applications. Notepad++ uses PCRE (Perl Compatible Regular Expressions) type of Regex. Notepadpp (Notepad++) uses slightly different syntax. Along with simple editing tasks Notepad++ contains Regular Expressions plugins. In fact it has two such plugins, for simple and more advanced tasks.… Read More Notepad++ Regular Expressions Rules And Samples
Generally speaking compiling is a process of converting human understandable code into machine code. In reality this process is language specific. C++ compilation interacts with the operating systems rather than with processor itself. For example assembly language works mostly with processor. One of the main advantages of C++ is possibility to use assembly language. Using… Read More C++ compilation
Originally Dev-C++ was created by Colin Laplace and several other programmers. It’s written in Delphi, it’s free and open source, for Windows only. The last version Dev-C++ 188.8.131.52 was issued several years ago. Then it was no longer supported, officially from 2006 on as was stated by Colin Laplace himself. In spite that fact Dev-C++… Read More Dev-C++
What is the best C++ compiler for Windows? This is quite an important question when someone wants to start programming. Because changing compiler is not a simple operation. For example, we make a program and it compiles fine under a chosen compiler. But when we try to compile it under a different compiling program, we… Read More Best free C++ compiler for Windows
In programming, like in many other professions and crafts, learning can be through studying and through doing. And specifically if one wants to learn C++ the best way is to start doing and only then thinking. Sounds crazy but it’s true. Usually one takes C++ program examples, compiles them and study, learning all rules on… Read More How to learn programming