Search Results

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: nattylife ; Forum: C++ and child forums
Forum: C++ Aug 18th, 2005
Replies: 4
Views: 5,605
Posted By nattylife
since get and getline write to a char*, just use atoi, for example
#include <stdlib.h>
int main(void)
{
char *buf1 = "42";
char buf2[] = "69.00";
int i;
double d;
...
Showing results 1 to 1 of 1

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC