Search:
Type: Posts; User: sunil_cguru
Search:
Search took 0.03 seconds.
-
September 9th, 2010, 06:04 AM
Normally backslash is used as an escape character in a string so when you actually need a backslash in your string you need to use double backslashes which gets interpreted as '\'
-
September 9th, 2010, 05:50 AM
use double slash '\\' instead of single like ""c:\\DOCUME~1\\AMAL..."
-
July 16th, 2010, 01:47 AM
Did you open the file in binary mode?
-
The problem is that here if(word[i] == letter) you are comparing a char to a string.
Since you need just a letter you could change string letter; to char letter; and it should work.
-
Difficult to say unless you show us the code and what you are trying to do
-
IDE is the environment that you use to write and debug your programs which is Visual C++ express edition in your case and Visual C++ express edition comes bundled with a C++ compiler as cilu pointed...
-
June 27th, 2010, 11:07 PM
You can check a paths existence using the following API 'PathFileExists'
-
It has to do with your
do{ missing a closing while statement.
-
You declared gamount as a double but did not assign any value to it and then you proceed to multiply it with some value which would give undefined results. So you need to initialize gamount with some...
-
You will have to override WM_CTLCOLOR for your button class
-
One way would be to add your applications path to the registry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\.
This would launch your app on startup.
-
You might have to switch the module state.
Try doing this AFX_MANAGE_STATE(AfxGetStaticModuleState( )); in your exported Dll function.
-
Try with 'PathIsNetworkPath()' API
-
To kill the thread get the thread handle m_hThread from myThread and call TerminateThread on the handle. Be warned though that terminating threads in this fashion is not recommended, the proper way...
-
You could store your history data in the registry and read it on reboot to know which was the last file/folder scanned.
-
Check out how to use a do-while loop in C++.
-
AFAIK you can't undo the execution of a line but you can step back one or few lines as per your requirement using the 'Set Next Statement' option during debug.
-
Why dont you search for "testing " since every word would have a space at the end
-
Did you try CString::Find function?
-
or you can use stl string and stringstream
stringstream ss;
ss<< myNumber <<count;
string out = ss.str ();// appended output
-
Perhaps it has to do with some calling conventions mismatch since you are using this in a C file but the linker output seems to indicate some different calling convention leading to mangling of the...
-
put this as the first line in matrix.h
#pragma once
-
try...
//main.cpp
#include "matrix.h"
-
April 30th, 2010, 12:56 AM
Check the spelling please..it should be SWP_NOZORDER
-
April 30th, 2010, 12:39 AM
It should be
CFont *pOldFont = pDC->SelectObject(pFont);
|
Click Here to Expand Forum to Full Width
|