mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-12 13:00:47 -05:00
ex51 cleaned up wording
This commit is contained in:
parent
0fea5bc00c
commit
14199cfdca
1 changed files with 4 additions and 5 deletions
|
@ -8,13 +8,12 @@
|
||||||
// ALL OF THIS RELATE TO THE DATA IN OUR ZIG PROGRAMS? LET'S HEAD
|
// ALL OF THIS RELATE TO THE DATA IN OUR ZIG PROGRAMS? LET'S HEAD
|
||||||
// BACK UP TO THE TEXT EDITOR AND FIND OUT.
|
// BACK UP TO THE TEXT EDITOR AND FIND OUT.
|
||||||
//
|
//
|
||||||
// (Conversational) Ah, that's better. Now we can look at some
|
// Ah, that's better. Now we can look at some familiar Zig code.
|
||||||
// familiar Zig code!
|
|
||||||
//
|
//
|
||||||
// @import() adds the imported code to your own. In this case,
|
// @import() adds the imported code to your own. In this case,
|
||||||
// compiled code from the standard library is compiled in with your
|
// compiled code from the standard library is added to your program.
|
||||||
// program. It is loaded into RAM with the code you write when it
|
// It is loaded into RAM with the code you write when it runs. And
|
||||||
// runs. And that thing we give a const name? That's a struct!
|
// that thing we give a const name? That's a struct!
|
||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue