For embedded stuff, I started of with a Microchip PIC dev board, then built my own, played with it, then moved to STMicroelectronics ST7's, then AVR Micro's, and the last ones I've been playing with...
Type: Posts; User: _Elixia_
For embedded stuff, I started of with a Microchip PIC dev board, then built my own, played with it, then moved to STMicroelectronics ST7's, then AVR Micro's, and the last ones I've been playing with...
^XOR: The compiler is IAR.
Salem: Thanks, I did actually want the said behavior, but at least I know now /why/ the compiler was complaining. Since other people may want to edit the code once it's...
I'm using a compiler that is a lot more strict on the C language than normal (it's meant to help create less bugs in the code).
One thing I'm confused at is that it complains about the following...
Thanks for the quick reply, I assumed each side of the == would be evaluated seperately.
I've got the following code in a C-style function:
if (disk&0xF0 != 0xF0)
{
// code //
}
For memory management reasons, I'm overloading the operators 'new' and 'delete' in my program. I'd like to know where the memory is allocated and freed, so I add additional parameters. So for...
If your going to be using it later for professional apps, then I'd certainly recommend the professional version, if only for the optimiser and profiler.
Buying a book such as "Practical Visual C++" may be a good first step if neither you or your teacher knows how to use it...
Indeed it would. Oops!
They are in there as normal ascii, but without any alternatives - for example, "A" and "a" are both 65. "0" and "!" are both 48 (0x30). etc...
If you have the MSDN installed, then look here for a...
Here's something I wrote a while ago to do that:
HANDLE hProcessSnap = NULL;
PROCESSENTRY32 pe32 = { 0 };
hProcessSnap = CreateToolhelp32Snapshot (...
"put" will do what you want. However, as long as you give "write" the correct size, it should work also. Ie. Don't use "sizeof"
Feb'03 Platform SDK is getting on a bit now. If you subscribed to MSDN to get it, you should have got the October version way back, which, if the bugs in the SDK, will probably have this fixed.
...
Doesn't matter if you have access to an SMTP server or not, the question is - do the people using your software have access to your SMTP server? Most of the time this will be "No", as otherwise it'll...
CxImage here, doesn't come with much documentation, but it does come with some examples and full source code :) Also supports most of the major image formats.
Can be got from Codeproject - CxImage
Sure, I wrote the entire software for the products on this page and coded software for parts of other products not shown here.
I've not got anything published as such, but since my daytime job involves lot of Embedded C++ coding, I do get satisfaction seeing the final product working and other people using it.
When you need more control over your memory allocate than what "malloc" provides. Check the MSDN.
My first C++ book was called "C++ The Complete Reference" by Herbert Schildt. Pleasure to read and contains a lot of very useful information. Not really a beginners book, but I found it easy enough...
Right, I've never used "using namespace" within functions, I didn't even think it was possible! To be honest however, I normally specify namespaces directly for each variable.
Not suprising really. Why are using trying to use " using namespace std;" within a statement block anyway?
If you are using/porting to Linux, you may want to look at NCurses.
getchar() ? Eughh.. Please, this is a C++ forum! :mad:
;)
Also, since you are providing an overlapped structure, you should really wait for completion by allocating an event handle, storing that in the overlapped structure, and then WaitForSingleObject or...
I would have thought if he wanted to write an in-memory virus, he wouldn't want it on the applications tab of the process manager either.
It can be removed from the taskbar easily enough, and...
If you want to use MFC to make your windows apps easier to write and you don't have vc++, or don't know MFC yet, then an alternative maybe something compiler/os independant such as WXWindows. This is...