vs c++
-
how to read and write in file in case of vs 6.0
-
how to read and write in file in case of vs 6.0
use STL :
std::ifstream
andstd::ofstream
are what you're looking for, in case of C++,fopen()
,fread()
,fwrite()
,fscanf()
,fprintf()
,fclose()
otherwise
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
how to read and write in file in case of vs 6.0
-
use STL :
std::ifstream
andstd::ofstream
are what you're looking for, in case of C++,fopen()
,fread()
,fwrite()
,fscanf()
,fprintf()
,fclose()
otherwise
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
Hi TOXCCT, I want to create a cpp file template through MFC application. If i specified the class name( TestClass ) the application will automatically create the file TestClass.cpp with some codes like #include TestClass.h . . . TestClass::TestClass() { } . . . someComments...etc. if i want to do the same method or any other method is there????:doh: Dream bigger... Do bigger...Expect smaller aji
-
Hi TOXCCT, I want to create a cpp file template through MFC application. If i specified the class name( TestClass ) the application will automatically create the file TestClass.cpp with some codes like #include TestClass.h . . . TestClass::TestClass() { } . . . someComments...etc. if i want to do the same method or any other method is there????:doh: Dream bigger... Do bigger...Expect smaller aji
Its meI want to
hey, YOU want, of jitenderbansal wants ??? :omg:
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
how to read and write in file in case of vs 6.0
fread and fwrite Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Its meI want to
hey, YOU want, of jitenderbansal wants ??? :omg:
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
Its meI want to
hey, YOU want, of jitenderbansal wants ??? :omg:
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
if u kno, then please tel me, whether there is any other way to create cpp files Dream bigger... Do bigger...Expect smaller aji
Its meif u kno, then please tel me,
i won't, as far as i don't understand your request...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
fread and fwrite Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Its meif u kno, then please tel me,
i won't, as far as i don't understand your request...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
how to read and write in file in case of vs 6.0
You could use standard CFile/CStdioFile classes to read/write from/to files. Here's a good example - Johan Rosengren's CTextFile: A handy helper[^]