Friend and Operator []547 (6/24/2003 1:31:20 PM) Hi, Why Overloaded operator [] cannot be a friend ? Thanking You. Avinash ... rash_avi(10)
how to read from a formatted file, and then call object's methods046 (6/24/2003 2:11:49 PM) I have got formatted files. All of these file takes this form: obj1 method1 obj2 string1 obj3 string2 argument. Of course, each file can have maximum fields as shown above, or minimun fields like this: obj1 me... d.f.zhou(8)
Q: how to force template instantiation on std::find() for vector769 (6/23/2003 8:44:08 PM) Hi there, We have a compiler specific issue which requires us to force template instantiation. This works fine. The problem comes when I try using std:find() on vector. Since vector has no member function find... yzhou(11)
Problem with multiple constructors155 (6/24/2003 11:59:45 AM) Hello, can anyone give me a solution for the following problem????????? I have a class Teller with two possible constructors : Teller() and Teller(int base) Then I have a class TellerInc that is based on the c... Zracer200(1)
Newbie Question144 (6/23/2003 9:59:54 PM) I have a simple question, im trying to access a dll called 'runtest.dll', with a routine with the header: void RunTest(LPVOID lpData, int nDataLen, LPSTR szstrResult, int nMaxResLen) Currently my code, gives ... groups3175(1)
cin and spaces262 (6/23/2003 5:28:54 PM) Hi, I'm trying to use cin to capture some input from the console, but it always seems to consider a space as the end of the string. I tried to use cin.getline() but it only works for char arrays, and I would r... sammyboyuk_NOSPAM_(48)
How to replace delete[] with a macro258 (6/23/2003 5:33:33 PM) I'm creating a debug class called debug_mem_allocation for the purpose of finding memory leaks. I used macro's to replace the new and delete operators. My problem is with trying to replace the delete[] operator... maisonave(28)
Programming Contest--ICFP059 (6/23/2003 9:12:42 PM) http://www.dtek.chalmers.se/groups/icfpcontest/ The ICFP cvompetition has been gaining momentum over the last few years and is now probably considered the ultimate test of a groups programming ability. It's ab... olczyk(38)
creating base class (or whatever it is called) ?353 (6/23/2003 5:58:15 PM) Hi!, I want to make a class that may do the following: class T { ...... } int main() { T k = new T(3, 3); /* k is now an array of 3, 3 integers */ k[2][1]=4; /* this is what I don't know how to do */ c... naughty_sonny(3)
check range of unsigned long053 (5/19/2003 5:32:48 AM) Hello, Suppose I have a Validator class who is used to check inputs from other interface classes' input. Particular there is bool Validator::checkUnsignedLongRange(unsigned long start, unsigned long end, uns... gokkog(77)