mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 12:51:04 +00:00
21 lines
488 B
C++
21 lines
488 B
C++
float glob1[7] = { 10, 20, 30, 40, 50, 60, 70 };
|
|
float glob2[7] = { 100, 200, 300, 400, 500, 600 };
|
|
float globs[] = { 1, 2, 3 };
|
|
|
|
void main() {
|
|
float i;
|
|
print(ftos(glob1[0]));
|
|
for (i = 1; i != 7; ++i)
|
|
print(" ", ftos(glob1[i]));
|
|
print("\n");
|
|
|
|
print(ftos(glob2[0]));
|
|
for (i = 1; i != 7; ++i)
|
|
print(" ", ftos(glob2[i]));
|
|
print("\n");
|
|
|
|
print(ftos(globs[0]));
|
|
for (i = 1; i != 3; ++i)
|
|
print(" ", ftos(globs[i]));
|
|
print("\n");
|
|
}
|