Delete io.nas
This commit is contained in:
parent
327a91c1d4
commit
da27e9beae
|
@ -1,29 +0,0 @@
|
||||||
# the function print is written by Cpp: std::cout
|
|
||||||
# the function input is written by Cpp: std::cin
|
|
||||||
# so the code is fake XD but the definitions are of great use
|
|
||||||
# the definitions are set to avoid redefinition
|
|
||||||
# made by github user: ValKmjolnir
|
|
||||||
|
|
||||||
# print function use dynamic parameters
|
|
||||||
var print=func(args...)
|
|
||||||
{
|
|
||||||
return __call_cpp_ostream_std_cout(args);
|
|
||||||
};
|
|
||||||
|
|
||||||
# the return type of input is __var_string
|
|
||||||
var input=func()
|
|
||||||
{
|
|
||||||
return __call_cpp_istream_std_cin();
|
|
||||||
};
|
|
||||||
|
|
||||||
# read from file and return a vector of strings
|
|
||||||
var read=func(filename)
|
|
||||||
{
|
|
||||||
return __call_Cpp_ifstream(filename);
|
|
||||||
};
|
|
||||||
|
|
||||||
# write a vector of strings into a file
|
|
||||||
var write=func(filename,vector)
|
|
||||||
{
|
|
||||||
return __call_Cpp_ofstream(filename,vector);
|
|
||||||
};
|
|
Loading…
Reference in New Issue