Free C/C++ compiler for iPhone?

I have recently gotten interested in programming. I'm quite good at programming in Lua, but I would like to learn other languages as well. I want to start out with C/C++ but I can't find any free compilers for the iPhone. There's a paid one, and I'm willing to get it if there are no free ones. Anyone know of one?

For iPhone application development you need a mac system and XCode which can be downloaded from

https://developer.apple.com/...dex.action

you need to register for a free developer program.

or you can download titanium sdk see this:

http://docs.appcelerator.com/titanium/latest/#!/guide/Quick_Start

I'd like to suggest CppCode. It's the first and the only offline C/C++ IDE & Compiler on iOS!
No jailbreak required, no internet connection required, no ads, free(mium) app.
App feature list, screenshots and video on Vimeo/Youtube and even quick start at http://cppcode[dot]info