January 25th, 2010, 09:53 PM
You can use
const_cast<char> (expression)
char chr[10] ;
const char * bhr = const_char<char*>(chr);
January 22nd, 2010, 03:43 AM
Hi,
I think you should read this before posting. It will increase chance of repliers.
http://www.codeguru.com/forum/misc.php?do=bbcode#url
Good luck
January 21st, 2010, 10:03 PM
Yes you can.It automatically save in HTML document.
You have to go look in your project folder and there is only one HTML document
(sometimes it is shown in Internet Explorer name)
January 21st, 2010, 09:57 PM
Only If and else if are OK
unsigned int input;
double result;
if (input < 16 ){
result = 0.38;
January 21st, 2010, 08:51 PM
January 21st, 2010, 08:48 PM
Try DoModal()
CDialog Dlg(IDD_TEXTURE, NULL);
DLGTEMPLATE DlgTemPlate;
DlgTemplate.style = DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS;
Dlg.CreateIndirect( DlgTemplate, NULL);
January 21st, 2010, 08:28 PM
This should help
http://msdn.microsoft.com/en-us/magazine/cc188910.aspx
January 21st, 2010, 08:09 PM
Just a suggestion, you should reserve array with default value 0
vector<double> u(21);
for (int i = 0; i < 21; i++){
u[i] = i*0.1 -1;
cout << u[i] << endl;
}
January 21st, 2010, 02:08 AM
You can check size, pixel and byte from BITMAP variable
[code]
typedef struct tag BITMAP{
LONG bmType;
LONG bmWidth;
LONG bmHeight;
LONG bmWidthBytes;
WORD bmPlanes;
WORD bmBitsPixel;
January 16th, 2009, 02:17 AM
I think ezway did the right thing.