Re: converting string into integer
- From: "Peter Nilsson" <airia@xxxxxxxxxxx>
- Date: 17 Jul 2006 15:28:20 -0700
priyanka wrote:
Hi there,
I want to convert a String into integer.
...
But I got errot message :error: cannot convert `std::string' to `const
char*' for argument `1' to `int atoi(const char*)'
Try comp.lang.c++ down the hall. We only deal with C.
[And just in case: No, C is not a subset of C++, and no, the C solution
is
not 'okay' for a C++ program.]
--
Peter
.
- References:
- converting string into integer
- From: priyanka
- converting string into integer
- Prev by Date: converting string into integer
- Next by Date: Re: convert int to string without using standard library (stdio.h)
- Previous by thread: converting string into integer
- Next by thread: Re: converting string into integer
- Index(es):
Relevant Pages
|