"The purpose of this review is clear: We must compile every piece of information that was known about the gunman, and we must learn what was done with that information.
VOA: standard.2009.11.16
So, it's getting more interesting but we'll soon see that things don't always compile as easily as this command suggests.
更有意思了,但我们很快就会发现,并不是所有的编译都,像这条命令这么简单。
So really, once we start writing more interesting programs, you would have to type out long annoying commands like that to just compile more sophisticated programs.
实际上,一旦我们开始写一些更复杂的程序时,你们可能要键入那样一些长的,讨厌的命令,来编译跟高级的程序。
In fact, this example would compile because you can use curly braces in this way to encapsulate lines of code, but realize for now, that, not good.
实际上,这个例子可以编译,因为你可以用这种方式来压缩代码行,但是请认识到,那个,不太好。
If you're getting these compilation errors, well, -- when you compile, notice there's a number of key help -- the number of helpful tidbits here.
如果你们得到了这些编译错误,当你编译的时候,注意这里有很多关键帮助-,这里很多帮助信息。
And I read the documentation, did what it said, and that's how I got my program to compile.
我阅读那个文档,照它说的做,那就是我如何便于我的程序的。
Now if I am difficult with the user positive1 and I compile make positive1, and I then run positive1.
现在如果我和用户有点不和谐,我编译正positive1,然后运行。
Essentially, this command make is just another program that uses GCC to compile my program for me but make is configurable.
从本质上来看,make命令就是一个,调用GCC来编译我们程序的程序,只不过make是可以配置的。
So now when I compile this fourth version with make math4 1 31 and then run math4, I indeed get 1.31.
所以现在我键入“make,math4“来编译第四个版本4,然后运行math4,我得到了。
progress2 So let me go ahead and compile progress2 instead and this time run this one.
让我们继续来编译,这次运行这个程序。
And let me go ahead and run-- how do I compile this?
继续运行,大家还记得怎么编译吗?
Now as an aside, this may very well compile.
此外,这个可以很好地编译。
There are no syntax errors so it does compile.
这里没有语法错误,所以它通过编译了。
I included the length, let me go ahead and compile this program called Holloway.c. No errors which means that's good.
我包含了那个长度,我们继续,编译这个Holloway,c程序,零错误,非常好。
So let's go ahead and compile this.
让我们继续编译它。
Let me go ahead and compile this.
我们接着编译。
So putting back that prototype allows me to compile this, because I'm saying proactively to the compiler hey, you're going to see a function called increment.
把那个原型放回原处使我能够编译它,因为我提前向编译器打了招呼,将看到一个叫做increment的函数。
Nano hello c We did Nano for hello.c or whatever I called it, GCC to actually compile into 0s and 1, and then step three is to actually run it.
首先,第二,GCC,hello,c把它编译成01二进制文件,第三,运行。
skittles So when you compile a program called A dot out, or skittles or wherever, and you double-click that program, or our in our command line environment, run it with dot slash skittles, that program is loaded Microsoft Word into memory just like Microsoft Word or whatever would be on your own computer.
当你编译一个程序a,out,或者,或其他的,你双击那个程序,或着在我们的命令环境中,采用,/skittles来运行它,那个程序被加载到,内存中,就像,或者你电脑上的其他程序。
And you can write your source code in it but to compile something you don't run a command like GCC and then the name of the file, you instead click a button.
你们可以在上面写源代码,如果要编译的话,不用像GCC这样要输入命令,文件名,只需点击按钮就可以了。
So, if I compile and run copy2.c now let's see what happens.
所以,如果我编译并运行copy2。c,现在让我们看看发生什么。
Let me go ahead and compile return one. All right.
我们继续编译return1,好的。
So let's go ahead and compile this gcc math1.c.
我们接着通过键入“gcc,math1,c“来编译这个文件。
应用推荐