Circular Pointers
Question: I’m trying to make two classes point to one another. I know the syntax is weird, but it’s just to illustrate: class x{ y* ptry; }class y{ x* ptrx;
Question: I’m trying to make two classes point to one another. I know the syntax is weird, but it’s just to illustrate: class x{ y* ptry; }class y{ x* ptrx;
Question: In our project we are using many long macros. How we can debug them (setting breakpoints, etc.)? Is there any solution for that in Visual C++ 6.0? Answer: Unfortunately,
Question: Is it considered acceptable to use default argument initializers both in a definition of a function (e.g., void foo(int x =10) {…}) as well as its declaration? Stroustrup, in
Question: I’ve always used memset() in C to do char array initialization, but in C++ is it normal/acceptable practice to initialize a char array during declaration using this syntax? char
Question: When executing a system call, how can I return a value back? My program will already return a value back. Example: String blah = system(“some command”); Is this correct?
Question: How do I extract dates from SQL where the date type is a datetimestamp? I have the following SQL statement: select * from Patient where PatientDOB = “03/01/58” It
Question: I have two tables and both tables have a one-to-many relationship. I want to add a new single record in the first “transheader” table (key is autonumber) and get
Question: How can I modify and update XML docs that are stored in the cache using a DCOM model (client side)? Answer: Given that caching is an IIS (Internet Information
Question: I have created a database of journal articles and want to offer users the ability to search the Author field for the surnames of authors. Most of the articles