Sorry if this is a super easy question, but I am very new to C. I want to be able to cast char*s into doubles and ints and can't seem to find an explanation as to how.
Edit: I am reading in user input, which is a char*. Half of the input I want to convert from, say, "23" to 23 and half from, for example, "23.4" to 23.4.