In many environments, this program "works," and it compiles, executes, and prints "Hello, world. \ n" to the screen.
此程序可以在许多环境中“运行”,它编译、执行并将“Hello,world. \n”打印到屏幕。
The sample model you're going to use is a simple HelloWorld program, which does what all HelloWorld programs do and prints "Hello World" to the screen.
你将要用到的样例模型是一个简单的HelloWorld程序,和所有的HelloWorld程序一样,这个程序是把“HelloWorld ”输出到屏幕。
It’s one thing to write “Hello World, ” but it’s another to understand how the words appear on the screen.
写出“Hello World”,跟理解那些字是如何显示到屏幕上的是两码事。
This program will compare 7 and 5, and because 7 is greater than 5, it will print "Hello There!" to the screen.
这个程序将比较7和5,由于 7比 5大,所以它将向屏幕打印“Hello There!”
The first example is a simple program that prints Hello World on the screen, but with a slight variation.
第一个例子是一个简单的程序,它将在屏幕上打印hello World,但稍微有些变化。
Two lines in the hello world program-import GTK and import hildon-bring in everything you need to display the text on the screen.
helloworld中的两行—importgtk和importhildon—提供在屏幕上显示文本所需的所有东西。
Notice that we automatically get a "Hello World home" button at the top that allows us to go back to our home screen. Clicking on "Hello Universe" should get you.
注意,我们会自动地在顶部得到一个“Hello WorldHome”按钮,这样就能让我们返回到主界面上。
Notice that we automatically get a "Hello World home" button at the top that allows us to go back to our home screen. Clicking on "Hello Universe" should get you.
注意,我们会自动地在顶部得到一个“Hello WorldHome”按钮,这样就能让我们返回到主界面上。
应用推荐