Debugging a project with multiple source files on Linux. For more info checkout the official vscode guide .

This code was tested on Ubuntu 18.04 running on WSL

task.json

{"tasks": [{"type": "cppbuild","label": "C/C++: g++ build active file","command": "/usr/bin/g++","args": ["-g","*.cpp","-o","${fileDirname}/${fileBasenameNoExtension}"],"options": {"cwd": "${fileDirname}"},"problemMatcher": ["$gcc"],"group": {"kind": "build","isDefault": true},"detail": "Task generated by Debugger."}],"version": "2.0.0"}

Make sure that you start the debugger from the main source file!!!

Simple instructions for installing the latest version of pandoc on Ubuntu

This commands were tested on Ubuntu 18.04 on WSL2. They should work the same way in other ubuntu distributions as well.

# Make sure to remove all previous versionssudo apt-get purge --auto-remove pandoc# Download the latest version of pandoc from github(Update version as required)wget https://github.com/jgm/pandoc/releases/download/2.14.0.3/pandoc-2.14.0.3-1-amd64.deb# Install
sudo dpkg -i pandoc-2.14.0.3-1-amd64.deb

# Check installation
pandoc -v

You can find the latest release from the official pandoc github repo

Net 5 is finally here! Official announcement.

Let’s test it out by writing the famous Hello word console app.

Getting started

  • Download Visual studio 16.8
  • Create a new .Net core application
  • Open your project settings file and change the target framework to .Net 5 as illustrated below:
.Net 5 Console app example
  • Add this code to Program.cs
C#9 Hello world app
  • Now go ahead and run this masterpiece!
  • You can read more about .Net 5 and C#9 here