I'm sorry, but that makes no sense at all.
If you want to see what colours are produced, then write a simple program which sets small blocks to teh appropriate colours: Graphics.DrawRectangle[^] should do it.
But just asking that with no explanation on what you are trying to achieve? Not likely to get you the solution you are looking for.
And be aware: Not all monitors render colours the same, not all printers do either (which I why I have to spend ages trying to colour match one of my monitors to my printer...) - so the variation in "grey scale" for three different colours, none of which are grey is going to be a bit moot...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
There is only one part of this question that makes sense, which is that every pixel has R, G and B, all bytes, which is very likely since that's the most common type of pixel these days. The rest may make sense in some parallel universe but not in this one.
I have a DLL which exports two methods, getSc and releasesSc. The first returns a handle which is a pointer to a class instance. I wish to call the methods on that class instance. Unfortunately that class is not exported as dumpbin proves:
I am developing a simple Windows search application. I will pass the all the search filters (Name, size etc) to Windows explorer using my application. But I am not getting commands or codes to select the 'Sort by' type programmatically in the window that will open.
string startFolder = @"c:\start dir\";
// Take a snapshot of the file system.
System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(startFolder);
// This method assumes that the application has discovery permissions// for all folders under the specified path.
IEnumerable<System.IO.FileInfo> fileList = dir.GetFiles("*.*", System.IO.SearchOption.AllDirectories);
Other than manually setting up 64 ‘truth tables’, is there a more efficient method of finding the squares on a chessboard that a queen can not get too, given the queen is placed at random on the chessboard?
Depends on your interpretation of "efficient" and the whole scenario. If the queen is not the only piece on the board then you would have to check for "collisions" in any case. Calculating the fields that it can get to and then taking the complement of that would be my first approach.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
Last Visit: 31-Dec-99 18:00 Last Update: 7-Aug-22 18:16