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