Eight-Byte Data Types
Question: I am looking for a data type in C++ that takes eight bytes. I have tried long, long int, and so forth, but they are all four bytes on
Question: I am looking for a data type in C++ that takes eight bytes. I have tried long, long int, and so forth, but they are all four bytes on
Question: I have two questions. How do I pass an array of objects as an argument? How do I fix an error like “do or while loops are not expanded
Question: When using C++, is it better to use stack or free store memory for data objects of medium to large size? I have multiplatform concerns on the answer. The
Question: I am a Computer Science student, and I am trying to compile a program where I use multiple files and my own header file for the first time. But
Question: How do I create a template library so that I can export templates and use them in different programs? Answer: I’m not sure I understand what you mean by
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