Category Archives: Software Engineering

Comparing two integer values in C


Print char, int and float values in C

Visual Studio Code: ‘gcc’ is not recognized as an internal or external command, operable program or batch file.

  • Visual Studio Code – Main menu > View > Extensions > Install: C/C++ for Visual Studio Code and Code Runner
  • Download MinGW – Minimalist GNU for Windows (MinGW Installation Manager) > In “Basic setup” mark all packages to be installed > MiniGW Installation Manager Main menu > Installation > Apply changes > Copy the path where the \bin folder can be found e.g. C:\MiniGW\bin
  • Windows Desktop > This PC > right click > Properties > Advanced system settings > Environment variables > System variables > find the PATH variable and click Edit > click New and add the path C:\MiniGW\bin
  • Visual Studio Code – Main menu > File > Preferences > Settings > in the search box type “runner” > select the setting “Run in Terminal”.

Visual Studio Code Version: 1.53.2

Windows Key + P

In case you have 2 monitors connected to your PC, the Windows Key + P combination offers the following options:

  • PC screen only (Primary screen ON, Secondary screen OFF)
  • Duplicate
  • Extend
  • Second screen only (Primary screen OFF, Secondary screen ON)