Search:
Type: Posts; User: alanjhd08
Search:
Search took 0.02 seconds.
-
June 15th, 2011, 10:20 AM
Hi,
Have you taken a look at using a RichEdit control to do this?
Alan
-
June 15th, 2011, 08:53 AM
Where do you define distroylist() ?
-
June 13th, 2011, 08:44 AM
Hi,
I took a look at the way various browsers and utilities implement this, and the default methods for a lot of them are very insecure. For Firefox for example, any user with admin rights on the...
-
The user doesn't need to enter a passphrase. If you ask it to store the password, it will provide it automatically when you are logging on to a site. Many other browsers have a similar...
-
I was going to suggest looking at FileZilla, since it's open source and allows you to store password for FTP/SFTP login. However, when I checked I see it stores them as plain text in an XML file, so...
-
Hi,
There's no obvious way to do it. You can specify the language you want to be used as the 3rd parameter. However, there's no way to check that MFC was actually able to find the string in that...
-
Yes, it's fairly blatant link spam
-
Hi,
I can't see the list of errors, but for what you are trying to do you need to declare p as static, and make sure it's in scope throughout your function.
You have a few other logic errors as...
-
You're right, it's very simple. Judging from post #15,
your executable is in "'C:\Users\Bryan\Documents\CSI 345\Palindrome\Debug\"
So, open a command prompt:
C:
CD...
-
This link has some useful general information about locale-dependent case comparision
http://lafstern.org/matt/col2_new.pdf
Key point is that the mapping between upper and lower case depends on...
-
Hi,
So I presume the 100% CPU load and what appears to be a memory leak are both symptoms of a bug in some application or service running on that machine. Alternatively, there is something...
-
Hi,
There's no API to do this, but I see that some people have reported succesfully changing the pagefile settings by editing the registry values at ...
-
Hi,
You should write it as binary, so open the file as:
std::ofstream outputFile("C:\\temp.jpg",ios::out | ios::binary);
-
Hi,
Just to clarify, as Paul pointed out the Dog destructor will only be called if the Mammal destructor is declared as virtual (which it isn't in the code that you posted.)
Alan
-
Also, you are reading into an array of 5 char pointers, not 5 chars. I think you meant char buff2[5].
The algorithm you are trying to use is also wrong. Try to get that right to start with, i.e....
-
Hi,
Do you have to use Win32 & C++ for the project?
If not, it will be quite a lot easier since you can use the Google Maps Javascript API: ...
-
Hi,
I've only seen this if any files were saved "in the future", e.g. if your PC date was set incorrectly at some stage and you saved a file.
Alan
-
Hi,
Note the difference between undefined and undeclared.
You have declared the class, but not defined it. So you could use a pointer to it in your Headquarters class (which is probably what...
-
Well, looks like the call expands out to something like:
((GtkFileChooser)*) g_type_check_instance_cast ((GTypeInstance*) file_chooser_button, gtk_file_chooser_get_type ())
so there's a cast to...
-
Hi Igor,
I've noticed this on flounder.com:
_beginthread(), _beginthreadex(), or CreateThread() in an MFC program
Is that right, and if so do you need some special approach when using the Win...
-
Hi,
I guess it comes down to what does G_TYPE_CHECK_INSTANCE_CAST do?
I don't know the answer, but what I find useful for something like this is to expand out all the macros to see the code that...
-
I'm not sure what you mean by what "makes" a class locale.
You need to #include <locale> and then use std::locale() if you want to create a locale object, but I don't think that's what you're...
-
Maybe smart decoration and good service? :-)
Do you mean locale, or a local class? A local class would be one declared within a function definition.
-
Hi,
I suggest taking a close look at the changes to the externs.
If you're using this to debug hardware, maybe some port accesses are getting optimized out, or changed in some way that affects...
-
Hi,
Yes, without the first const you could do something like this:
void foo(const dynamic_2d_array<int>& myArray)
{
myArray[0][0] = 1;
}
which shouldn't be allowed.
|
Click Here to Expand Forum to Full Width
|