Type: Posts; User: 2kaud
Search took 0.11 seconds.
The c language and the 'c' part of c++ have some differences.
January 30th, 2015, 03:15 PM
When posting code, please use code tags as without using them it is almost impossible to read code. Go Advanced, select the formatted code and click '#'.
What's wrong with using the STL list...
January 30th, 2015, 12:44 PM
WM_INITDIALOG is sent to the dialog box procedure immediately before a dialog box is displayed. As the dialog box is not yet displayed, nothing can be shown on it!
January 30th, 2015, 10:56 AM
What happens if the number isn't found in the array?
January 30th, 2015, 06:57 AM
According to RFC 3851 (from 2004) which covers secure MIME, MIME is defined in RFC 2045, 2046, 2047, 2048, 2049.
Is there anything in RFC 2049 which covers MIME Conformance Criteria and Examples...
January 30th, 2015, 05:22 AM
This compiles as c with MS VS2013
#define secDay 86400
January 30th, 2015, 04:20 AM
#define NIF_SHOWTIP 0x00000080 //i add these const, because not all compiler(like mine) have it
This would usually be coded as
#define NIF_SHOWTIP 0x00000080
January 29th, 2015, 09:25 AM
Another way to approach this is as below. This will give you the required output. Note that it doesn't verify the start and end dates. This could be easily added if needed.
January 29th, 2015, 05:29 AM
cin >> inFile;
whatever you thought these lines do, they don't! You need to read in the name of a file. A file name will usually be of type string (or alternatively an array...
January 28th, 2015, 03:25 PM
Don't you need to define WINVER and _WIN32_WINNT ?
January 28th, 2015, 12:37 PM
You want to show the tooltip in a balloon rather than the standard rectangle?
If you set the text for .szInfo then this text is displayed in a balloon notification. See...
January 28th, 2015, 12:13 PM
You could do something like this if the file can be stored in a vector
using namespace std;
January 28th, 2015, 10:23 AM
Approx how many lines will they be in the file? And will each line always be made up of 6 numbers?
January 28th, 2015, 08:13 AM
Have you understand posts #8, #9, #13 and #14 re using code tags??????? :(
So before you ask further questions, I would suggest that you format your code properly as repeatedly requested.
January 28th, 2015, 05:30 AM
I'll look at the code when you follow the requirements of this forum and use code tags for your code as previously requested.
January 27th, 2015, 08:01 AM
Anti-virus software uses Windows services which need to be written as Window services. I gave you the link as to these details.
If you want to use an existing .exe as a service then you can use...
January 27th, 2015, 06:07 AM
AbortSystemShutdown() can only abort a shutdown initiated via InitiateSystemShutdownEx() or InitiateSystemShutdown() whilst the shutdown dialog box is displayed.
If the system is shutdown via...
January 27th, 2015, 04:35 AM
A program that starts whenever Windows starts is known as a service. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms685141%28v=vs.85%29.aspx for further details.
Also you can...
January 27th, 2015, 04:29 AM
Please use code tags as per my post #2 when posting code.
January 27th, 2015, 04:28 AM
Yes in a Windows program - See WM_QUERYENDSESSION https://msdn.microsoft.com/en-us/library/windows/desktop/aa376890%28v=vs.85%29.aspx
January 26th, 2015, 05:08 AM
What data are you actually reading?
tellg() returns the position of the current character in the input stream. In the code in post #1 you are trying to obtain the size of the file without setting...
January 25th, 2015, 06:21 AM
January 24th, 2015, 05:52 AM
HINTERNET hRequest = HttpOpenRequest(hConnect,"GET","/pcinfo/gate.php?hWid=hWid()&compName=getenv("COMPUTERNAME")&userName=getenv("USERNAME")&ip=127.0.0.1",NULL,NULL,NULL,0,0);
No, you can't do...
January 23rd, 2015, 05:40 PM
If tgt is "p", then your first find will return grid.end() as "p" is not an element of your vector. You need to pass "p--" which will be found.
For your second find, you need to find the first...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.