Check out example codes for "run c++ files on chrome book". It will help you in understanding the concepts better.

Code Example 1

1 sudo add-apt-repository ppa:jonathonf/vim
2 sudo apt update
3 sudo apt upgrade
4 sudo apt install vim

Learn ReactJs, React Native from akashmittal.com