Archived

This topic is now archived and is closed to further replies.

Converting input char array to float int double...

This topic is 5745 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hail I want to create a console or somthing like that. Or use it for a calculator.
    
int main()
{


char input[40] = "5.666 * 32 + 43";

// I need to analyze this array, and but them in float, int.

// How can I do this.




return 0;
}




    
Edited by - leadorn on March 22, 2002 1:34:56 AM

Share this post


Link to post
Share on other sites