summaryrefslogtreecommitdiffhomepage
path: root/ru-ru/go-ru.html.markdown
diff options
context:
space:
mode:
authorJody Leonard <me@jodyleonard.com>2015-10-26 19:38:36 -0400
committerJody Leonard <me@jodyleonard.com>2015-10-26 19:38:36 -0400
commitb31fda3a8e9f4d0ff021dc707f1e47af4add90ac (patch)
tree3278c6e2f465065f090266e592807f172ddd4be3 /ru-ru/go-ru.html.markdown
parent44ca091c73afe13ec8760021cfed1d77afc5e4a5 (diff)
Edit variable-length array example
The current example seems to be trying to set a size for a char buffer, use fgets to populate that buffer, and then use strtoul to convert the char content to an unsigned integer. However, this doesn't work as intended (in fact, it results in printing "sizeof array = 0"), and so adapt to a simpler fscanf example. Also remove some ambiguous language in the example output.
Diffstat (limited to 'ru-ru/go-ru.html.markdown')
0 files changed, 0 insertions, 0 deletions