User Tools

Site Tools


cs:c_language:file_reading_1
Return to Home page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cs:c_language:file_reading_1 [2020/11/26 23:18]
127.0.0.1 external edit
cs:c_language:file_reading_1 [2021/04/08 11:09] (current)
zioskenz
Line 19: Line 19:
 </file> </file>
   * The content read from the two files must be printed on the screen (in the case the file is read character-by-character, a space must be printed to separate characters)   * The content read from the two files must be printed on the screen (in the case the file is read character-by-character, a space must be printed to separate characters)
 +
 +**Video solution:**\\
 +Video with the explanation of the solution:
 +
 +<html>
 +<iframe width="560" height="315" src="https://www.youtube.com/embed/gzZB80GH7Fk" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
 +</html>
  
 **Soluzion:**\\ **Soluzion:**\\
Line 92: Line 99:
  
     /* Opening the file */     /* Opening the file */
-    printf("READING file2.txt\n");+    printf("\nREADING file2.txt\n");
     if ( (fp = fopen("file2.txt", "r")) == NULL){     if ( (fp = fopen("file2.txt", "r")) == NULL){
         printf("Error: impossible to open the file file2.txt\n");         printf("Error: impossible to open the file file2.txt\n");

If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at] skenz.it

You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url: https://www.skenz.it/cs/c_language/file_reading_1?do=diff&rev=1606429133&difftype=sidebyside
/web/htdocs/www.skenz.it/home/data/attic/cs/c_language/file_reading_1.1606429133.txt.gz ยท Last modified: 2020/11/26 23:18 by 127.0.0.1

Privacy Policy