source:
CIVL/mods/dev.civl.com/examples/library/stdio/printfBad.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 178 bytes | |
| Line | |
|---|---|
| 1 | #include<civlc.cvh> |
| 2 | #include<stdio.h> |
| 3 | |
| 4 | $input double x; |
| 5 | |
| 6 | void main() { |
| 7 | printf("x=%l", x); //%l is not a valid conversion specifier, so this example will have a syntax error. |
| 8 | } |
Note:
See TracBrowser
for help on using the repository browser.
