*** empty log message ***
This commit is contained in:
parent
38da105ac1
commit
f9563b5103
@ -33,6 +33,7 @@
|
|||||||
#define _INCLUDE_CSTRING_H
|
#define _INCLUDE_CSTRING_H
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
//by David "BAILOPAN" Anderson
|
//by David "BAILOPAN" Anderson
|
||||||
class String
|
class String
|
||||||
@ -58,6 +59,13 @@ public:
|
|||||||
assign(src);
|
assign(src);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char * _fread(FILE *fp)
|
||||||
|
{
|
||||||
|
Grow(512, false);
|
||||||
|
char *ret = fgets(v, 511, fp);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
String(String &src)
|
String(String &src)
|
||||||
{
|
{
|
||||||
v = NULL;
|
v = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user