Will this work if aperture is a string ? If not how would I do this ,Code:aperture is a string int ApertureNumber; ApertureNumber = atof(&aperture[1]);
convert string --> float ( it needs to start reading from the second character ).
I had a look at Taurus's thread , and iI want to do exactly the same as what him , however unlike him I'm using strings - should I use strtol() instead ? If that is the case can you explain how would I use it in this case ? Thanks a lot
http://cboard.cprogramming.com/showthread.php?t=93602