☰
Debian Codegraph
@
1.5.5.8-1
/
/
examples
/
book
/
digital-artists
/
chapter1
/
Listing1.7.ck
☽
☼
examples/book/digital-artists/chapter1/Listing1.7.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// longhand math with integers
2
int myPitch;
3
220 => myPitch;
4
5
// multiply by 2
6
2 * myPitch => myPitch;
7
8
// subtraction
9
myPitch - 110 => myPitch;
10
<<< myPitch >>>;
11