- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
13 Posted Topics
What OS does your PC run?
Alright I got two parts to my reply. The first will be over the compilers that are free that I use. I personally like Code::Blocks. I haven't used it all that much yet, but I like it so far. I also use Visual C++ 2008 Express Edition, except that's more …
In an if...else logic test an else cannot take values to test against. The "else" is the catch-all. So, you should remove the condition you're testing for within your else.
All I know of are Windows compilers. Some good ones are: [LIST] [*]Visual-C++ 2010 Express Edition [*]WxDev-C++ [*]Codeblocks [/LIST] I personally use Visual C++ integrated in Visual Studio 2008 and 2010 professional edition. I've played around a little with WxDev-C++ and it's not bad. I've played with codeblocks and again, …
Also, make sure you format your code within **Code** tags next time you have a question to clear up any confusion with your code. Right now it looks like a bunch of smiley faces, no sweat though.
Do you mean Case Break statements where it's like: [CODE] switch(condition) { case 1: //does something break; case 2: //does something else break; default: //does the default action if now condition is met } [/CODE] Is that what you were looking for?
[QUOTE=jwenting;1220855]All those "for dummies" books teach you a LOT of BAD things as shortcuts to actual correct procedures and practices. That's how they get to be short and seem to provide rapid progress.[/QUOTE] Yeah, those aren't good books. They teach you what to do, but they won't explain it, or …
I believe you need to change, in your project settings, that you're using a multi-byte character set instead of Unicode. That should solve your problem.
Can you show us where you define the array itself? It might be easier if you post most/all of the source code.
Alright, so it has become apparent to me that Microsoft has switched up the Win32 API in Visual Studio 2010 (I'm not too experienced in the API already, I was just starting to get the hang of it). Does anyone know what exactly they changed and where a good tutorial …
Your best bet is to learn the Win32 API. I'm the process of doing that right now. It's actually pretty straightforward. I read somewhere that it's best to learn the Win32 API before you delve into the MFC because the MFC is built on top of the Win32 API, so …
It appears the answer book is only good with the 3rd Edition, not the 4th Edition. I read somewhere that the exercises (for the answer book) are totally different than the 4th Edition ones.
Yeah the first answerer is correct. The side effect is in line 3 because when you pass the parameters into the method you're passing a reference to param2. This means that anything you do to the reference happens to the original variable which may lie in a separate function entirely. …
The End.
Spartan-S63