Type: Posts; User: OReubens
Search took 0.10 seconds.
DOM: reads the entire xml in memory. you can then query the DOM via XPath. the advantage is that you can go back and forth as many times as you want. the disadvantage is that it needs memory for the...
this is actually at the core of the reasoning. And it has everything to do with the "members of structures" and "alignment".
bitfields only accumulate into a larger type in so far as the larger...
This is just there because on a 16bit compiler, the size of an int will be different.
in case you want to know,
on a 16bit compiler, the sizeof will be either 4 or 6, depending on the compiler...
is the file physically empty when you open it ?
or is it just in the directory/explorer that it is listed as 0? (this is normal, to a degree)
Are you sure the file you are copying FROM has been...
I do have support in the standard. Feel free to find it. Or alternatively, show me the 32-bit or higher compiler where it's less than 8.
This is actually part of the "headache" issues I pointed...
It never died, so it didn't need resurrecting.
same here, it is not in a coma, and it isn't on minimal life support.
Minimal life support would mean that Microsoft just puts in the...
September 21st, 2014, 08:25 AM
Regardless of implementation, for a compiler adhering to the standard, you'll get (at least) 8 bytes. And yes, I DO know that.
which 4x1bit and 1x4bits you get out of the 8 bytes is however...
September 20th, 2014, 05:03 PM
MFC has not been abandoned. it is still being supported and augmented. Although granted, it isn't a primary focus.
Considering it's age, it's actually better supported than some other newer...
September 20th, 2014, 04:58 PM
because it's documented to be that way. You have to find the bits and bobs from a few different places in the manual though.
Feel free to actually try it out.
September 19th, 2014, 07:37 AM
if you have a well configured, properly functioning LAN...
if you try it and it does help (significantly) it's really an indicator of something wrong somewhere.
but for the same money,...
September 19th, 2014, 07:28 AM
Like 2Kaud said: this is something called 'bitfields'.
Avoid using it, it is likely to cause you more headaches than it's worth.
The idea behind it is that you can use fewer bits and thus use...
September 19th, 2014, 07:11 AM
XPath is the means by which you query a DOM (typically loaded from XML, but this isn't a necessity). It's a "query language" allowing you to select one or more nodes from a DOM.
or if you want an...
September 19th, 2014, 07:02 AM
WPF is one way, it is not necessarily the 'only' or 'the best' way.
WPF also isn't the latest concoction some devs at MS conjured up, and it'll get 'old' soon enough as well.
If your app is using...
September 18th, 2014, 07:12 AM
Wasm has built in support for the DOS4GW (later called CauseWay) DOS extender.
This essently just means it'll link in the setup/interface/cleanup for the extender as well. IIRC, this lib isn't just...
September 18th, 2014, 06:59 AM
1) the totalcost approach in XBuilding is your problem area.
Either the base class needs to have an accumulation of the total (by having the totalCost double as member of the base class instead of...
September 17th, 2014, 01:00 PM
The inc command should assemble. If not, try adding square brackets around the variable name (some assemblers are picky about that).
but you will need to have code somewhere that initializes it...
September 17th, 2014, 06:51 AM
You cannot typically take decompiled output and use that as source for an assembler.
An assembler will typically need additional information the disassembler doesn't provide
and a disassembler...
September 16th, 2014, 07:12 AM
FTP has a considerable overhead on each file transfer. For 17000 that's going to count up.
- Consider using queued down/uploads
- part of the delay is in authentication, you can speed that up by...
September 15th, 2014, 07:02 AM
it works for CString only because of the very specific way CString has been created, it is essentially a wrapper around a const char*, so passing the CString object to sprintf makes a flat memory...
September 12th, 2014, 07:17 AM
10% write code
30% debug code
30% write help/documentation
40% look on the 'net for samples of how that darn API works.
yes that's 110% ! Always on overdrive.
September 12th, 2014, 07:15 AM
could be anything.
it mainly depends on what webserver software you'll be using.
if using MS IIS, then you'll probably do most of the server side scripting in asp.net and use SQL server as...
September 12th, 2014, 07:03 AM
there is such a thing as the general consensue where the vast majority will agree that some things are safe and other are better avoided. If you do use any of the "better avoided"...
September 12th, 2014, 06:49 AM
if you have a win 8
it is probably a 64bit edition of windows
DOS (16bit) programs do not run on windows 64bit.
you will need to find a windows (32bit or 64bit) based C++ compiler and/or...
September 12th, 2014, 06:45 AM
there are "lint" type checkers which do static code analysis
they also have "style" checks, but that's not really about indents, type annotation, and/or...
September 11th, 2014, 12:12 PM
I didn't claim MFC doesn't have uses. I clearly stated it handles the common scenario's well enough.
But saying it encapsulates "most of the windows API" is a big stretch. Maybe if you mean...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.