Sketch C++是一款IOS设备上C++语言编辑及运行的程序。可用于学习C++语言编程。
含有以下功能:
1.代码编辑:语法高亮,自动缩进
2.代码编译运行:直接本地编译运行,不需要网络。
3.AppStore唯一一款可以调试。
支持C++类,继承,重载,虚函数,模板等各种特性
内含标准C及标准C++库
新加库:
posix,
ipc,
zlib,
socket,
sqlite3,
jpeg,
opengles1-3,
Core Foundation(由IOS SDK7.0移植),
Core Graphics(由IOS SDK7.0移植),
UIKit(CCView,CCLabel,CCImageView,CCButton,CCTextField,CCCanvasView)
支持Debug:
Help: ? : help
help : help
/[keyword] : search keyword in help information
Source: v {[line]}: view source code {around [line]}
V [stack] : view source code in function call stack
t : show function call stack
Evaluation: p [expr] : evaluate expression (no declaration/loop/condition)
Evaluation: s [expr] : step into expression (no declaration/loop/condition)
Evaluation: S [expr] : step over expression (no declaration/loop/condition)
{[statements]} : evaluate statement (any kind)
Monitor: g {[var]} : list global variable
l {[var]} : list local variable
proto {[scope]::}[func] : show function prototype
class {[name]} : show class definition (one level)
Class {[name]} : show class definition (all level)
typedef {name} : show typedefs
function : show interpreted functions
macro : show macro functions
template : show templates
include : show include paths
file : show loaded files
where : show current file position
return [val] : return undefined symbol value
Run: S : step over function/loop
s : step into function/loop
i : ignore and step over
c {[line]}: continue {to [line]}
e : step out from function
b [line] : set break point
db [line] : delete break point
a [assert]: break only if assertion is true
Quit: q : quit