Very simple, but i donw know.
How to do:
unsigned short asize = 999; //or use const
int i1[asize];
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10070207.html
Zones:
C++Date Answered: 08/06/1998 Grade: A Views: 0
In one of my header files I put
const int MAX_ORGINALS = 30;
This causes a large number of errors which does not make sense to me. What am I doing wrong. I know you can use #define but wh...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10233096.htm...
Zones:
Windows MFCDate Answered: 11/16/1999 Grade: A Views: 0
Using ANSI C I/O, I need to parse ASCII files for certain tags. In my ASCII files, there is always an asterisk that comes before the tag.
For example: *MATERIAL_TRANSPARENCY
There is always at ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20033327.html
Zones:
C++Date Answered: 02/03/2001 Grade: A Views: 0
How do I convert a "const char*" to a "char*" ?
How do I make the following work:
char* pchar = str.c_str();
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20116803.html
Zones:
C++Date Answered: 05/14/2001 Grade: A Views: 0
Can someone explain the following to me?
X *const;
const X* const;
foc() const;
return *this; (inside class X, 'this' is of type X* const, so what is '*this'?)
How come in my book, I canno...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20151399.html
Zones:
C++Date Answered: 07/16/2001 Grade: A Views: 0
Hello,
When I tried to compile the following code, I am getting a syntax error that says 'Expression must be pointer type'. Can anybody tell me how I need to change that perticular state...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20408512.html
Zones:
C++Date Answered: 11/26/2002 Grade: A Views: 0
Beginner's question:
I have a form with several unbounded controls (like a textbox for instance). I update some other values on the form based on the information typed in the textbox. I'd like t...
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_20428640.html
Zones:
MS AccessDate Answered: 12/17/2002 Grade: C Views: 0
1. How safe is it to use "static" functions and data members?
2. I am using lot of strings and putting it in header as
#define XYZ "myXYz" and so on
#define ABC "myABC" and so on
XYZ is then us...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20684495.html
Zones:
C++Date Answered: 07/28/2003 Grade: A Views: 0
I have a const member function of a templatized class which alters a private data member, declared mutable (it's an internal index for the class called _iterator), which holds references to objects...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21053617.html
Zones:
C++Date Answered: 07/12/2004 Grade: A Views: 0
I am trying to understand the exact semantics of const in C++. So I wrote the following program:
#include <iostream>
using namespace std;
int main() {
const int x = 2;
int *p = (...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21146213.html
Zones:
C++Date Answered: 09/28/2004 Grade: B Views: 9