22 lines
211 B
C
Executable File
22 lines
211 B
C
Executable File
|
|
#include <stdio.h>
|
|
|
|
class int{
|
|
|
|
char * toText( ) {
|
|
|
|
char * textNumber = malloc( sizeof( char ) * 20 );
|
|
|
|
sprintf( textNumber, "%d", this );
|
|
|
|
return textNumber;
|
|
|
|
}
|
|
|
|
int negative() {
|
|
|
|
return 12;
|
|
|
|
}
|
|
|
|
} |