English 中文(简体)
能否将 C 编译器嵌入iPad 应用程序? [已关闭]
原标题:Is it possible to embed a C compiler in an iPad app? [closed]
  • 时间:2012-05-23 19:57:48
  •  标签:
  • ios
Closed. This question is off-topic. It is not currently accepting answers.

想要改进这个问题吗? 更新了问题 ,因此用于堆积溢流的

Closed 11 years ago.

我很快就要去旅行了,我希望能在我的iPad上开发C。我知道苹果公司不会让这样的应用程序进入商店,但它对我有用。问题是如何在应用程序中设置 C 编译器,以及如何在那里运行程序?

问题回答

I would suggest using a SSH connection app to connect to a computer with access to a C programming environment and compiler. This does require use of a second computer, but its not too difficult to set up and allows access to other utilities as well. I have used this in the past on my iPhone, so I can confirm it works. There are a number of SSH / VPN apps on the App store, but I cannot recommend one in particular for iPad. Unlike the Code2Go app, this can be free. Hope this helps.

首先,您需要破解您的 iDevice (在网络中这样做有许多一步一步的教程), 然后启动 Cydia 商店, 一旦在 Cydia 中搜索“ 开发” 部分, 安装 < code> GNU C 编纂器 , 一旦在您的 iDevice 中安装了编译器, 建立 ssh 连接( 使用窗口上的粘贴或键入 Linux 上的终端), 在您最喜欢的编辑器中编辑您的来源, 并通过 ssh 上传它们( 在 Windows 上使用 WinSCP 或在 Linux 上的终端打字) 。

一旦您上传了您的文件, 在您 iDevice iDevice 上已经建立的 ssh 会话中引用编辑命令, 您应该能够编辑/ 上加/ compile/ fix, 或者在设备中运行您的程序, 不受 Apple 限制 。

如果您需要整个过程的更多细节, 请张贴注释





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签