+ 3

C4droid terminal (*)=Selection Operator

I'm using C4droid on android 4.2.2 with g++ bionic compiler.I have three files, main.cpp,MyClass.cpp and MyClass.h. As in case of muliple files the "compile" button is not enough or sufficient , I ran the terminal and wrote: g++ main.cpp MyClass.cpp MyClass.h -o hello Then I tried to run the program using: ./hello But shows up an error. ..........(expected ")")........ .So, how can I now run my program "hello" write now. FYI:the code is the same code in Sololearn's cpp tutorial<More on Classes<*

1st Feb 2017, 4:47 PM
Abdullah Omar Nasseef
Abdullah Omar Nasseef - avatar
2 Answers
+ 9
Well, Abdullah, obviously you forgot to close some bracket within your code (when calling or declaring a function or method, I guess). Don't worry, that is such a typical thing to happen (like missing ";" etc.) ;-) Read through your code line by line and you will find the error. Your compiling command, however, is pretty nice, no need to worry here.
15th Mar 2017, 1:00 PM
Senfman
Senfman - avatar
+ 1
C4droid Apk with GCC compiler available freely. Any one can download. I got it from this blog , I was looking for it since 6 months. https://c4droid.blogspot.com/2019/08/c4droid-apk-free-crack-download.html?m=1
3rd Aug 2019, 3:32 PM
Anjaneya Karjigi
Anjaneya Karjigi - avatar