Programming C

Tasks studies - laboratory


Project maintained by dawidolko Hosted on GitHub Pages — Theme by dawidolko

Lab 00 - Environment Configuration

Questions

Tasks (description for Windows systems):


windows_env_avariables2


path



c/c++ extension

CodeRunner configuration

By default, the code runner plugin starts the program in read mode. This means that it will not be possible to read data from the keyboard. To get this option, in the VSCode settings, you need to find the following option:
coderunnderruninterminal

To modify the command compiling the C code, find the option:
executormap
and then edit the settings.json file. For example, to force the code to be compiled to the c99 standard, the command should be modified as follows:
stdc99

To specify the correct path to the compiler, find the following settings panel: gccconfig

Then provide the path to the installed compiler: path

After you have finished working:

  1. Save your results
  2. Delete the created files from the desktop