Is there a way to cast a the contents of a char* buffer into an int?
Nemoticchigga
0
Junior Poster in Training
Recommended Answers
Jump to Postchar buf[100]; int i; strcpy(buf, "foo"); i = atoi(buf);
that?
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.