Getting Started with C++ Programming using CppDroid App, Exercises of Computer science

Instructions for university or high school students to download, install, and use the cppdroid app to write, compile, and run their first c++ program. It includes step-by-step instructions for entering a hello world program and troubleshooting any potential errors.

Typology: Exercises

2019/2020

Uploaded on 11/24/2022

danilo-cumpio
danilo-cumpio 🇵🇭

2 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PERFORMANCE TASK 1.1.1: (Download CppDroid App)
1. Download and install CppDroid – C/C++ IDE from the Play Store. Note:
This activity requires Internet connection.
2. Run the app by tapping it (Internet is no longer needed here).
3. Enter the following Hello World Program (Note: Never use capital letters except
the “Hello World” string. C++ is character sensitive, meaning the hello, is different
from Hello and HELLO. Only words inside “ “ can be capitalized. C++ keywords
like #include, using, int, main, cout, etc should be written in small letters. Make
sure to copy everything.
# include<iostream>
using namespace std;
int main()
{
cout << “Hello world”;
return (0);
}
4. Save your first program by tapping the save icon (looks like diskette)
5. Compile the program by tapping the compile icon (looks like lighting)
6. Execute your first program by tapping the play button
If the screen displays the Hello world, then congratulations. You have successfully
executed your first C++ program. If not, check your code for possible error (bug).

Partial preview of the text

Download Getting Started with C++ Programming using CppDroid App and more Exercises Computer science in PDF only on Docsity!

PERFORMANCE TASK 1.1.1: (Download CppDroid App)

1. Download and install CppDroid – C/C++ IDE from the Play Store. Note:

This activity requires Internet connection.

  1. Run the app by tapping it (Internet is no longer needed here).
  2. Enter the following Hello World Program (Note: Never use capital letters except the “Hello World” string. C++ is character sensitive, meaning the hello, is different from Hello and HELLO. Only words inside “ “ can be capitalized. C++ keywords like #include, using, int, main, cout, etc should be written in small letters. Make sure to copy everything. # include using namespace std; int main() { cout << “Hello world”; return (0); }
  3. Save your first program by tapping the save icon (looks like diskette)
  4. Compile the program by tapping the compile icon (looks like lighting)
  5. Execute your first program by tapping the play button

If the screen displays the Hello world , then congratulations. You have successfully

executed your first C++ program. If not, check your code for possible error (bug).