The view of the C language
来源:互联网 发布:mac 下载 编辑:程序博客网 时间:2024/05/21 06:26
The C language was created for the specific purpose, to design the UNIX operating system. So the C language has the feature of its own history.
Now for my opinions, list some of the features of the C language:
v The C language is a high efficiency and portability language.
v The C language is a powerful and flexible language.
You can manipulate the point directly. however,if you are not careful,a lot of errors will occur, especially the security issues. Now list some of the errors:
1. If you apply for a block of memory by the pointer, after you use it, you must release the memory by this pointer. Otherwise, it will lead to memory leak, and it is immoral. After the memory is released, you must set the pointer to null. Otherwise, it is likely that you will cause damage to others, that is to say that you can’t manipulate the memory that don’t belong to you.
2. If a pointer is null, you can’t get the content that it point to. Otherwise, it will lead to a exception.
3. You can’t return a pointer to the stack. Because the address is invalid out of the life circle of the function.
v The C language is a process-oriented language.
However, in some situations, the C can support polymorphism. That is to use the linker smartly. What you need do is that you can only indicate the linking order. The reason is that. When the linker finds the action, the linker will not look for the action from the other object file.
- The view of the C language
- The view of the C++ language
- The key of C Language
- The Development of the C Language
- study of The C Programming Language
- The error of C language compilation
- C Language Study - the use of symbol '##'
- C Language Study - The importance of "Debug"
- C语言的发展史(The Development of the C Language)
- The Histroy of language
- The language of learning
- Leading Programmers Remember the Impact of The C Programming Language
- The C programming language
- the c programming language
- The C program language
- The C Programming Language
- a expample of the c programming language.(temp)
- The amazing efficiency of pointer in C Programming Language
- PCSC
- 开发人员漂亮的代码vs漂亮的界面(试用期不得不注意的问题)
- 动手写了一个乒乓球积分排名表
- javascript支持火狐提交
- 尽信书不如无书
- The view of the C language
- Linux新手要了解的十个知识点
- js生成word文档有关资料
- funny
- 我从11楼跳下去思考人生
- c#操作Access数据库的简单例子
- Java设计模式 -- 观察者模式(push方式)
- 某装饰系列企业网站源码
- PHP技巧:得到一个字符串的最后一个字符