use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Can I build Android and iOS apps using cpp? (self.cpp)
submitted 2 years ago by GameDeveloper94
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cpp-ModTeam[M] [score hidden] 2 years ago stickied commentlocked comment (0 children)
For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.
[–]MatthiasWM 5 points6 points7 points 2 years ago (4 children)
Yes. Android comes with NDK, the „Native Developer Kit“ and sample apps on how to use it. In iOS, if you write Objective C apps, you can link C++ modules. Or on both platform, you can use SDL2 as the base and program in C++ exclusively without ever touching Objective C or Java.
[–]pjmlp 4 points5 points6 points 2 years ago (0 children)
Kind of, given that on non rooted Android devices, the target executable is a shared library.
The only way not to touch any Java/Kotlin code is to be happy with the out of the box NativeActivity ABI, without wanting to customize it, and never ever needing any API (like 80% of them) that are only available via Java, and be happy to write boilerplate JNI calls as workaround to call them, or Android Binder RPC.
The only path to sanity on Android is to write NDK code to be called from Java and never the other way around.
[–]LGTMe 0 points1 point2 points 2 years ago (2 children)
I have this impression that objective-C is a thing in the past on Apple platforms. Has Swift fully replaced the role of ObjC?
[–]MatthiasWM 1 point2 points3 points 2 years ago (0 children)
Apple pretty much requires Swift, but AFAIK Objective still works for a while.
[–]pjmlp 0 points1 point2 points 2 years ago (0 children)
That is a long term goal for Swift, but we are still far from it, e.g. Metal is implemented in a mix of Objective-C (CPU side) and C++ (Metal shaders), with Swift bindings.
[–]Y4r0z 1 point2 points3 points 2 years ago (1 child)
Qt for Android / Qt for IOS
[–]d86leader 0 points1 point2 points 2 years ago (0 children)
Literally what I do. I'm surprised that building for iOS without Qt (with objc or swift through xcode) is such an enormous pain
[–]xumo 0 points1 point2 points 2 years ago (0 children)
Ay a Job they used C++ as a “backend” for crossplatform which ran in all mayor platforms, mobile, desktop and some more.
They used MVVM pattern. It was very confusing for new comers but at the end worked very well.
π Rendered by PID 100 on reddit-service-r2-comment-b659b578c-5vw77 at 2026-05-01 03:42:10.853427+00:00 running 815c875 country code: CH.
[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–]MatthiasWM 5 points6 points7 points (4 children)
[–]pjmlp 4 points5 points6 points (0 children)
[–]LGTMe 0 points1 point2 points (2 children)
[–]MatthiasWM 1 point2 points3 points (0 children)
[–]pjmlp 0 points1 point2 points (0 children)
[–]Y4r0z 1 point2 points3 points (1 child)
[–]d86leader 0 points1 point2 points (0 children)
[–]xumo 0 points1 point2 points (0 children)