where can i start learning编程?
时间:2013-11-28
来源:互联网
作者: WesLucifer 发布时间: 2013-11-28
作者: 卡机杜 发布时间: 2013-11-28
作者: catcat1109 发布时间: 2013-11-28

作者: leoneo007 发布时间: 2013-11-28
If you are not good at math nor logic, then better to gain some solid knowledge abt them. They are the fundamental of programming. In some of the extreme cases, u may need to go for a low level programming to the bit level, maybe for image processing, or to communicate with a device or a chips. U must be very good at math.
Learn by yourselves won't give u any team-work experience nor deadline. But they are important in programming. You can never finish a complicated program by yourselves. Also, when u are learning basic c functions, yes, u can learn the basic by reading a book. But when u are learning complicated pointers, pointers of pointers, abstract data type, or more advance subjects like event-driven programming, objects, then u need a really good teacher to give u the hints and cues.
For all the iPhone apps, u will need event-driven programming and object-oriented design. Not easy to learn by yourselves unless you have a very strong c background and handling object experience.
See how well you can understand the below, a simple c function to generate a random number, and an Objective C codings to send a message to an object.
The c function should be easy to understand if u can put the logic and steps together.
The Objective C method looks simple and contains only a few lines, but the theory behind is far more complicated than the simple c function. It is in object-oriented programming (OOP). The keywords are IBOutlet, id, and self. And the id gives the Objective C a powerful feature than many of the other language in runtime.
Feel frightened or full of question marks in your brain??? Then better to give up at this point.
// c function
int generateRandomInteger(int lowest, int biggest)
{
int ran;
ran = abs(arc4random()) % (biggest +1);
/* make sure the random number not less than the lowest number */
while (ran < (lowest))
ran = abs(arc4random()) % (biggest +1);
return ran;
}
// objective c
- (IBAction)touch_to_shake: (id)sender {
[self shake];
}
[ 本帖最后由 b4321 於 2013-11-9 10:30 AM 编辑 ]
作者: tomtimemini 发布时间: 2013-11-28
作者: b4321 发布时间: 2013-11-28
semmes pretty difficult
but i will still try
btw thx for leo`s suggestion i will consider that
anyway thx
作者: a8d7e8 发布时间: 2013-11-28
作者: WesLucifer 发布时间: 2013-11-28
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28