The file has an unusable function, it will be changed
This commit is contained in:
		
							parent
							
								
									2c72c6970b
								
							
						
					
					
						commit
						1f0a8d59f7
					
				
					 1 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,6 +1,8 @@
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
 | 
					#include <string.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int lirechl(char *s, int n);
 | 
					int lirechl(char *s, int n);
 | 
				
			||||||
 | 
					void squeeze( char *s , char *t, char c);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int lirechl(char *s, int n)
 | 
					int lirechl(char *s, int n)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					@ -20,9 +22,12 @@ int lirechl(char *s, int n)
 | 
				
			||||||
int main()
 | 
					int main()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	char string[10];
 | 
						char string[10];
 | 
				
			||||||
	int bla = lirechl(&string[0], 7);
 | 
						printf("Écrivez puis appuyez sur 'Entrée' : ");
 | 
				
			||||||
	printf("Nombre de caracteres jusqu'a saut de ligne : %d \n",bla);
 | 
						int nb = lirechl(&string[0], 7);
 | 
				
			||||||
 | 
						printf("Nombre de caracteres jusqu'à saut de ligne : %d \n",nb);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// This is for another exercise.
 | 
				
			||||||
void squeeze( char *s , char *t, char c)
 | 
					void squeeze( char *s , char *t, char c)
 | 
				
			||||||
{	
 | 
					{	
 | 
				
			||||||
	int i = 0;
 | 
						int i = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue