Search:
Type: Posts; User: Linenoise
Search:
Search took 0.02 seconds.
-
April 8th, 2004, 01:08 PM
First off, I don't see how the number given to you has anything to do with the number of bits you reverse. Are you saying that if the user gives you 13, you reverse the lower 4 bits, but if the user...
-
April 8th, 2004, 11:32 AM
I'm still not sure what you're trying to do.. but you keep assigning x to either 0 or 1, so I'll assume that's the only range they can have, and that you want to end up with:
y = 0000 abcd
with...
-
April 7th, 2004, 07:02 PM
If you're looking to buy one, SlickEdit. Best editor out there, hands down. It does everything Codewright does, but better (IMHO of course), plus it has a C-variant macro language that can do just...
-
April 7th, 2004, 06:57 PM
I don't understand what you're trying to accomplish. First, you take the value of x, and set bit 0x8000. You assign that to y, which will cause the value to be truncated, as x is an int and y is a...
-
April 5th, 2004, 04:59 PM
In respect to #1, I ran across an effort to make an open-source version of the .NET system. Mono
They've apparently gotten support/funding from Novell, so it's pretty safe to say it'll work. ...
-
March 16th, 2004, 07:59 PM
You probably don't want to use the finalizer anyway (~Classname). This isn't the same as the C++ destructor. It is called implicitly by the garbage collector at some point over which you have very...
-
March 4th, 2004, 01:01 PM
You should also avoid using variable names like "i", "ii", and so on. You're just making it more confusing for yourself.
i = StudentIdx
ii = CategoryIdx
iii = GradeIdx
making the final...
-
December 18th, 2003, 07:11 PM
If all you want to save is the last element, could you simply save it locally, DeleteAllItems, then add it back?
-
December 17th, 2003, 07:42 PM
If this is a general-use program, I'm not sure you could do it by controlling that DSL-login thing DSL provides supply. Most of them don't really do anything, which is why you're able to set up one...
-
December 15th, 2003, 01:35 PM
There's always a tradeoff between how broad (one function that calls X others in order) and how deep (one function that calls one function that calls one function...) you go. Too far either way and...
-
December 11th, 2003, 02:56 PM
It really depends on what the function does. You only have a problem if calling the function results in two threads doing the same thing at the same time - to the same object. Consider two simple...
-
December 10th, 2003, 02:09 PM
Memory. We use them for resource allocation tables. If you have a large set of resources and simply want to know if it's allocated or free, you can use 1/sizeof(bool) of the ram by packing the bool...
-
December 10th, 2003, 01:59 PM
Most regular expression engines I've seen have a "not" condition (cant imagine how you get around not having that..). So you'd want something like:
^~(astring).*
or whatever the syntax would...
-
December 8th, 2003, 05:26 PM
For the keys, the KeyPress and KeyDown events get posted multiple times if the key is held down, I believe (depending on the repeat rate that is set elsewhere in windows) - just call the procedure...
-
December 8th, 2003, 05:22 PM
On the flip side:
C# is interpreted, so it will be slower
C# appears to be pretty easy to reverse-engineer (it relies on obfuscators to get around this), so it may not be a good choice for some...
-
December 8th, 2003, 05:17 PM
The hash table stores data. If you create the table on the button click handler (and declared the variable in there too) you're sort of implying that the data belongs to the button. That probably...
-
December 4th, 2003, 12:23 PM
Yes, TRACE will help you. Logging is even better since you don't need the IDE to see the output (it usually saves to a file).. there's lots of free logging libraries on this site.
I can't imagine...
-
December 4th, 2003, 12:20 PM
You mean..
GramErrorWord GEWArray[10];
GEW *lrggew;
lrggew = &(GEWArray[10]);
-
December 3rd, 2003, 04:21 PM
Is m_Settings declared anywhere? It's not in the couple of lines you pasted. You'll have to give alot more info for anyone to be able to help..
-
December 2nd, 2003, 02:31 PM
That's really fast.. can windows even service an interrupt and task switch fast enough to support that?
-
December 1st, 2003, 02:56 PM
Looks like the compiler is padding out the structure to make memory accesses a bit faster. If the CPU needs to read memory 32-bits at a time, if the Char is at the top of those 32 bits, you have to...
-
December 1st, 2003, 02:44 PM
MFC for windows only. Windows API for windows only. C# for Windows with .NET systems only. C/C++ for DOS or Unix systems. Java for running on all systems.
It depends on what your target...
-
December 1st, 2003, 02:41 PM
I wouldn't think so. I'd be concerned if it actually CAME on a floppy.
Alot of great programs are tiny. My editor's .exe file is 540K. That's not counting DLL's and such, but with enough...
-
December 1st, 2003, 02:38 PM
I've looked at this a little bit, after I saw an article about Gator suing people for callling their software "spyware". Gator is this program that used to come bundled with other software, and it...
-
November 25th, 2003, 03:57 PM
I think -BOTH- are important. Writing good, clean code that works right is very important, but doesn't mean jack if you don't have the vision to see how all the parts fit together. Likewise,...
|
Click Here to Expand Forum to Full Width
|