
When ever you want to perform a set of operations based on a condition If-Else is used.


Following is a sample program which takes name as input and print your name with hello. OneCompiler's C++ online compiler supports stdin and users can give inputs to programs using the STDIN textbox under the I/O tab. The editor shows sample boilerplate code when you choose language as C++ and start coding! Read inputs from stdin Getting started with the OneCompiler's C++ compiler is simple and pretty fast. It's one of the robust, feature-rich online compilers for C++ language, running on the latest version 17. *You can use the counter,light in the Setting tab.Write, Run & Share C++ code online using OneCompiler's C++ online compiler for free. *You can share code by Email,Weibo,Twitter,Facebook. *You can use c/c++ code or learning materials to generate two-dimensional code, for easy sharing. It can also simplify, find errors and fix them and debug your code.

*You can Learn c/c++ knowledge, the system provides some basic learning materials. SourceAI is an AI-powered tool that can generate code in any programming language from any human language description. *You can control the background image and color, and execution voice, background animation, text color and shadow, switch interface animation, the number and the order of the main interface of the tab bar to create your learning software. *The file system supports txt, pdf, chm, mp3,m4v,zip, gif, png, html, c ,cpp ,doc. *You can save c/c++ code and learning materials, and can be modified to the save file and delete the save file. *You can find learning materials by the built-in browser. *You can adjust the code color and font size, and support to move the cursor left and right and up and down, easy to read and write.

*You can enter c/c++ code by keyboard, then you can execut the c/c++ code,support the cin,scanf function. In(the built-in browser or the txt editor),Select the text to run.Ĭode templates,the contents of the new file is copy from contents of the template file. This is an ios c/c++ app,you can learn,run,share c/c++ code.
