Check out example codes for "codeblock". It will help you in understanding the concepts better.

Code Example 1

if (IDE == "Code::Blocks"){
  cout << "get visual studio code\n";
  cout << "way better than this one\n";
}

Learn ReactJs, React Native from akashmittal.com