I am looking for a function that returns what a value is...if it's a digit or a char.
Basically, here's what I'm trying to do:
// class outline
class mb
{
public: mb( int i );
...
Type: Posts; User: ariamundi
I am looking for a function that returns what a value is...if it's a digit or a char.
Basically, here's what I'm trying to do:
// class outline
class mb
{
public: mb( int i );
...
:D
Thanks!
I am using test code listed below.
it's giving me a segmentation fault at the delete []ch; line.
#include <iostream.h>
int main()
{
char* ch = new char[3];
ch = "ts";
cout << "ch is: " << ch...