需要一些帮助C语言编程 [英] Need some help with C programming

查看:97
本文介绍了需要一些帮助C语言编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的C语言编程,我理解常见的陷阱和C编程不同的库函数常见的用法有问题。有人可以点我一个很好的资源,我可以学习C语言编程微妙之处。也可以有人点我一个很好的资源学习调试工具,如GDB。

I am new to C programming and I am having problems understanding common pitfalls and common usages of different library functions in C programming. Can some one point me to a good resource where I can learn subtleties in C programming. Also can some one point me to a good resource learn debugging tools like gdb.

另外我想知道的是什么样的区别的char * C =你好; 字符C [10] =你好 。有些人能告诉我建议在其他在不同情况下哪一个。

Also I want to know what is the difference between char *c="hello"; and char c[10]="hello" . Can some one tell me which one is recommended over the other in different situations.

感谢和放大器;问候,

像老鼠。

推荐答案

刚看完 C程序设计语言并写入code。如果您是新的,那么你需要的第一手经验,这样你可以学到的奥妙是什么。只是阅读列表不会帮助一个巨大的数额。

Just read The C Programming Language and write code. If you're new to it then you need first-hand experience so you can learn what the subtleties are. Just reading a list won't help a huge amount.

这篇关于需要一些帮助C语言编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆