Useful Tips

Notebook for a novice programmer, C #, SQL, PHP, and all-all-all

Pin
Send
Share
Send
Send


As a development environment for Windows, the author advises using Visual Studio 2008 (800 MB) if you have Windows XP, Visual Studio 2013 (6.5 GB) for Windows 7 and above, or Dev C ++ 5 (41 MB) for those who have too much Slow internet to download Visual Studio. For users of Unix-like systems, you need a GCC compiler and any text editor such as Vim.

After you have installed everything you need, let's start writing the first program.

C ++ Branching Design - Lesson 3

There are situations when a program needs to choose which operation it should perform, depending on a specific condition.

For example, we enter an integer from the keyboard. If this number is more than ten, then the program must perform one action, otherwise - another. We implement this algorithm in C ++ using branch designs.

Arrays in C ++ - Lesson 5

Today we’ll talk about arrays. You already know that a variable is a cell in the computer’s memory where one single value can be stored. Array Is a memory area where several values ​​can be stored sequentially.

Take a group of ten students. Each of them has a surname. Creating a separate variable for each student is not rational. Let's create an array in which the names of all students will be stored.

Recent comments

  • Hindi Torrents on Database connection pool in ADO.NET / OleDb - how to avoid problems with connection leakage in ASP.NET (translation)
  • saakteo on How to change the maximum upload file size in php
  • Sergey on Tutorial on C # for beginners. 02. Functions, classes, objects, collections
  • Roge on Work with Excel from C # via COM Interop, part 1, open the document and display the data
  • Zhmyshenko Valery Albertovich for recording Cut out the numerical part from the beginning of the line in transact-sql

Pointers in C ++ - Lesson 7

When executing any program, all the data necessary for its operation should be loaded into the computer’s RAM. To access variables in memory, special addresses are used, which are written in hexadecimal form, for example, 0x100 or 0x200.

If there are too many variables in memory that cannot be accommodated by the hardware itself, the system will overload or freeze.

Classes in C ++ - Lesson 10

The whole real world is made up of objects. Cities consist of districts, each district has its own street names, on each street there are residential buildings, which also consist of objects.

Almost any material object can be represented as a set of objects of which it consists. Suppose we need to write a program to track student performance. You can imagine a group of students as a C ++ language class. Let's call it Students.

Pin
Send
Share
Send
Send