User Tools

Site Tools


cs_lang:c

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cs_lang:c [2011/07/12 11:53] cedriccs_lang:c [2012/09/30 23:32] (current) cedric
Line 15: Line 15:
 { {
     printf("Hello World");     printf("Hello World");
- 
- 
 } }
 </code> </code>
Line 46: Line 44:
  
     printf("Inc: %d\n", value + 1);     printf("Inc: %d\n", value + 1);
-    return value+1;+ 
 +    return 0;
 } }
 </code> </code>
Line 77: Line 76:
  
 main() main()
- 
 { {
    char line[1024];    char line[1024];
- 
    fr = fopen ("./file.txt", "rt");  /* open the file for reading */    fr = fopen ("./file.txt", "rt");  /* open the file for reading */
    /* "rt" means open the file for reading text */    /* "rt" means open the file for reading text */
cs_lang/c.1310464401.txt.gz · Last modified: 2011/07/12 11:53 by cedric