86 lines and i learn jeegabytes of stuffs from it. i hardly use templates and STL and this codes are drowning me.
Type: Posts; User: jian2587
86 lines and i learn jeegabytes of stuffs from it. i hardly use templates and STL and this codes are drowning me.
oh george2, i actually meant your OWN implementation of a string class. sorry for the confusion.
that makes perfect sense! thanks cornedbee!
though, what if i want to access the overloaded [] from a specific instance of an array?
is this what i do?
myclasses[a][b] = something; // myclasses...
Raigne meant you have to DIY (he/she probably meant override not overload too. correct me if i'm wrong). i.e. we can't just call [] on an object and expect it to do what we want. for example you're...
question:
if I want to call C code from C++, apart from adding extern declarations in the C++ code, what else do I do? I gather it's this.
1. Compile C code with C compiler, creates object code A....
You have installed Visual C#, so I think it should work. How about this, don't open the sln file, instead, try opening the .csproj file. It should launch Visual C# IDE. Then goto menu build->build...
I see. I actually tried writing similar codes to test it out but it didn't come out right. apparently there's one crucial difference. When coercing the derived into the base type I used explicit...
well the interviewer didn't start out that way. She gave me codes in java, where a derived class overrides a function in the base class. She asked me if I invoke the overridden function of the...
oh krap...in one of my interviews the interviewer said when a derived class is cast to a base class object, the base class's virtual function gets run. i admit i'm puerile enough to have fall for...
lcd "C:\\Documents\ and\ Settings\\User\\Desktop"
or
lcd "C:\\Docume~1\\User\\Desktop"
or
lcd "C:/Docume~1/User/Desktop"
windows.h