Initial commit
This commit is contained in:
22
application/source/int.c
Executable file
22
application/source/int.c
Executable file
@@ -0,0 +1,22 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
class int{
|
||||
|
||||
char * toText( ) {
|
||||
|
||||
char * textNumber = malloc( sizeof( char ) * 20 );
|
||||
|
||||
sprintf( textNumber, "%d", this );
|
||||
|
||||
return textNumber;
|
||||
|
||||
}
|
||||
|
||||
int negative() {
|
||||
|
||||
return 12;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user