source:
CIVL/mods/dev.civl.com/examples/library/civlc/havoc.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 189 bytes | |
| Line | |
|---|---|
| 1 | #include<civlc.cvh> |
| 2 | #include<stdio.h> |
| 3 | |
| 4 | int main(){ |
| 5 | int x,y,z; |
| 6 | |
| 7 | $havoc(&x); |
| 8 | printf("x=%d\n", x); |
| 9 | for(int i=0; i<5; i++){ |
| 10 | $havoc(&y); |
| 11 | printf("x=%d\n", y); |
| 12 | } |
| 13 | $havoc(&z); |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.
