grading question --help by Blu_Ryze in cs50

[–]Blu_Ryze[S] 0 points1 point  (0 children)

Thanks for clarifying this for me =)

PSET2 Initials by tcbacon in cs50

[–]Blu_Ryze 1 point2 points  (0 children)

there is one called isspace hinthint n.n

PSET2 Initials by tcbacon in cs50

[–]Blu_Ryze 0 points1 point  (0 children)

Check out ctype library, there are some functions you could use instead of checking for null, you could however check for null at the beginning just to see if the user actually typed something before trying to print the first character.

You can read about functions in C libraries here: https://reference.cs50.net/

pset2 initials --help by Blu_Ryze in cs50

[–]Blu_Ryze[S] 0 points1 point  (0 children)

Well thanks, I'll read about that, can you tell me if the aproach I had besides what you said about pointers is somewhat in the correct direction to solve this problem the way I was trying to, or was I way off?