diff --git a/documentation/trunk/solutions/other-languages/cecil/cecil-samples/cecil-c-eiffel.wiki b/documentation/trunk/solutions/other-languages/cecil/cecil-samples/cecil-c-eiffel.wiki index 075b365a..4d1b004f 100644 --- a/documentation/trunk/solutions/other-languages/cecil/cecil-samples/cecil-c-eiffel.wiki +++ b/documentation/trunk/solutions/other-languages/cecil/cecil-samples/cecil-c-eiffel.wiki @@ -1,9 +1,11 @@ +[[Property:modification_date|Fri, 07 Aug 2020 10:28:41 GMT]] +[[Property:publication_date|Fri, 07 Aug 2020 10:28:41 GMT]] [[Property:title|CECIL - C to Eiffel]] [[Property:weight|0]] [[Property:uuid|c3b64ef2-28b2-920e-44fb-4cff2320c099]] ==array== This example shows how to create an Eiffel array from an existing C array. After you have done the appropriate steps to compile the example, you will get a `cecil.exe` on windows, or `cecil` on Unix. Launch the program and you will be prompted for 10 integers that will be inserted in a C array, it will then initialize the Eiffel array and calls display from the MY_ARRAY class. A typical output will be: - + $ ./cecil Enter 10 integers: Enter element 1: 1 @@ -32,7 +34,7 @@ Display an Eiffel Array: ==string== This example shows how to create an Eiffel string from an existing C string. After you have done the appropriate steps to compile the example, you will get a `cecil.exe` on windows, or `cecil` on Unix. Launch the program and you will be prompted for a string, it will then initialize the Eiffel string and calls io. put_string from the STD_FILES class. A typical output will be: - + $ ./cecil Enter a string to convert in Eiffel string: Hello World!