Update examples

This commit is contained in:
Patrick Pelissier committed 2023-05-06 21:54:08 +02:00
1 parent 37770365a1
commit b1b0927e9f
3 files changed
+14 -15

No files matched your search

+2 -2
View File
@@ -14,8 +14,8 @@ int main(void)
{
// Let 's' be a string_t and initialize it.
M_LET(s, string_t)
// Let 'v' be a vector of integer and initialize it.
M_LET( (v, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10), vector_int_t) {
// Let 'v' be a vector of integer and initialize it.
M_LET( (v, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10), vector_int_t) {
int sum = 0, product = 0;
// Compute the sum of theses integers.