cs_lang:c
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cs_lang:c [2011/07/12 10:47] – [Read a file] cedric | cs_lang:c [2011/07/12 10:48] – [Read a file] cedric | ||
---|---|---|---|
Line 42: | Line 42: | ||
{ | { | ||
- | char line[80]; | + | char line[1024]; |
fr = fopen (" | fr = fopen (" | ||
Line 55: | Line 55: | ||
</ | </ | ||
- | ===== Equivalent in python | + | ==== Equivalent in python ==== |
<code python> | <code python> | ||
for line in open(" | for line in open(" | ||
print line | print line | ||
</ | </ |
cs_lang/c.txt · Last modified: 2012/09/30 23:32 by cedric