can you use cin and cout with the winapi ? such as drawtext() and the other functions ? of so how ?
i was thinking
Code:
cout<<drawtext()<<endl
something like that.
also little trouble figureing out exactly what is going on with this ':' in the inline function
Code:
public:
Rectangle(int w = 0, int h = 0)
: wide(w), high(h) {}
and
MyType::MyType(int i) : Bar(i) { // ...
MyType2::MyType2(int i) : Bar(i), m(i+1) { // ...
so bar(i) is in the scope of mytype2 or just share the variable i ? same i or different i ? passed by ? reference or address ?
inline inside class rectangle with var wide and high ? yes ?
!giffcopy==idea.bad ?
You realize why you can not do this ?
Code:
/* regiff.cpp */
#include <string>
#include <fstream>
using namespace std;
int main() {
ifstream in("File.gif"); // Open for reading
ofstream out("File2.gif"); // Open for writing
string s;
while(getline(in, s)) // Discards newline char
out << s << "\n"; // ... must add it back
}
because it would be considered regiffing. meow.