From e07d989f75636173d4baa1bd2dc1ce4a3a2a9b98 Mon Sep 17 00:00:00 2001 From: hugogogo Date: Fri, 15 Oct 2021 12:34:43 +0200 Subject: [PATCH] test code block text --- README.md | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 246c9fc..01b3b75 100644 --- a/README.md +++ b/README.md @@ -96,20 +96,15 @@ EXEMPLE : . . ### 3.1 tentative methode 1 : #### 3.1.1 pseudo code : - -``` -int q; // first quote -int c; // count -int i; - -q = 0; -c = 0; -i = 0; +```text +q = 0 // first quote +c = 0 // count +i = 0 while (str[i]) { - if (str[i] == ''') + if (str[i] == ') { - if (q == ''') + if (q == ') { c--; if (c == 0) @@ -122,12 +117,12 @@ while (str[i]) { c++; if (q == 0) - q = '''; + q = '; } } - if (str[i] == '"') + if (str[i] == ") { - if (q == '"') + if (q == ") { c--; if (c == 0) @@ -140,7 +135,7 @@ while (str[i]) { c++; if (q == 0) - q = '"'; + q = "; } } i++; @@ -150,7 +145,7 @@ while (str[i]) *[\go to sommaire](#markdown-header-sommaire)* #### 3.1.2 application : -```Shell +```text ['][a][r][g][1][ ]['][a][r][g][2]["][ ][a][r][g][3]["] c = 0 . . . . . . . . . . . . . . . . . . c = 1 . . . . . . . . . . . . . . . . . str[i] == ' ; q == 0 c == 0 -> c++; q = '