Table of Contents
Shared folder to be used with Subversion here
Try to crea an svn account in a free Internet server. A viable option would be riouxsvn.com, but there other free hosting services.
Another option is to use redmine-IT with your IT account.
Click on proyectos
. Then, click on nuevo proyecto ("give a name"). Wait 20 minutes until the repository is created. Then, add
your colleges to the repository. After that, select configuracion and repositorios. You will see the repository url
you can use to check out your repository (e. g. https://svn.lab.it.uc3m.es/Redmine/prueba2013asng_XXXX)
Create an AUTHORS file with your information. Upload the AUTHORS file to the svn server.
Check that you may access the account with your two users. (second user: try to modify the AUTHORS file and add your information).
Show in the screen the history of the file you just uploaded.
getline
Subfolder
“Char_frequency
” in the shared
folder.
Available here
Using getline
, modify the program called
characters_frequencies.c
, stored in folder
Char_frequency
, so that it allows the user to enter a text
line. After introduce it, your program have to count the number of times
every character appears on the text line. Character 'A' is considered the same
as 'a' when counting. Note: It will be useful if you normalize the characters
to lower case before counting, with the function
int tolower(int c)
from the library ctype.h
.
When finished, if you are using svn, upload the file to the repository with
svn commit
.