In most systems languages like C and C + +, you have to do memory management.
在大部分系统语言中,比如c和c++,您必须进行内存管理。
These tools all generate output for the C language.
这些工具都可以为 C 语言生成一些文件。
Short answer: no, at least not in C. You can construct such constructs in other languages and in theory even c.
简单回答:没有,至少在C语言里是没有的,你可以,在C语言或其他语言中创建这样一个结构体。
You can stack these things in C. So if you want to do if - and then rather -- let me tweak this just so simplify -- if you want to stack these things and do this in one case or that in the other, can you stack them like this?
你们才可以在C语言中使用这些东西,所以如果你想做,-让我把这个弄得更简单点-,如果你想把这些代码堆集在一起,在一个情况中,或在另一个情况中处理,你能够像这样把他们集在一起吗?
And I don't quite remember from reading or from class how big these things are, well, it turns out -- and this is sometimes useful, later on more likely than now -- but C has a size of operator that takes an argument in parenthesis and it will tell you how much space is used to store that particular data type.
我不太记得类中的这些类型,是多大的,嗯,结果是--这个在以后比现在,可能是更有用的--不过C语言中有个sizeof的操作符,其中括号里有一个参数,它会告诉我们,要存储一个类型的数据,需要占用多大空间。
应用推荐