0

I wanna view the coding of the function GetFloat(). Okay. I know how to ask for a float using scanf and all, but i want to know how they coded the GetFloat so that it automatically rejects blank spaces and strings and combination of integers and char (eg. 12w as input). Please tell me a way to view the code.

0

Execute vim /usr/src/cs50.c in Terminal.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .