|
It certainly leaves a lot to be desired in many ways. But I would hate to write a large, complex windows app without it! If you had been around pre-1993 trying to put together a large windows app (not a little in-house job that VB is for) you would appreciate it more.
|
|
|
|
|
Yes, this is often extremely helpful. Learning a little asm will be well worth your time.
Oh, and the VC++ debugger is pretty good, for user mode programs at least. What have you used that's any better??
|
|
|
|
|
SoftICE
-Ben
---------
On the topic of code with no error handling -- It's not poor coding, it's "optimistic"
|
|
|
|
|
it helps sometimes if i'm doing low-level optimizations. but, i could easily get along without it. benchmarking is usually a better way of telling which tricks are faster.
-c
------------------------------
Smaller Animals Software, Inc.
http://www.smalleranimals.com
|
|
|
|
|
Well, perhaps ppl, like experts use it.
|
|
|
|
|
John Robbins excellent book 'Debugging Windows' tells you how to figure what line of code you crashed on using the disassembly window. It also tells you how to write crash handlers and lots of cool stuff. It's not just about how to push F10 and F11 in the debug Window ( like the useless 'Desigining user interfaces' book, has anyone actually *bought* that. No weait, don't tell me. ).
Anyone who doesn't have this book should buy it.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
Christian, do you mean "Debugging Applications" by Robbins? That was the only one I saw on Amazon.
|
|
|
|
|
Yes, sorry
Buy it, buy it, buy it !!!!!
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
|
C++ Builder is much better than VC++.
|
|
|
|
|
so go use c++ builder and leave us in peace
---
"every year we invent better idiot proof systems and every year they invent better idiots"
|
|
|
|
|
Would you care to elaborate? I have used both and personally feel VC++ to be superior.
|
|
|
|
|
Yeps and there tons of examples and documentation, we also have a MSDN with tons or resources.
Obviously the above statement is a complete lie and thats why I use Visual C++ and not C++ builder.
C++ Builder is for C++ programmers you cant program.
|
|
|
|
|
Then use Visual Basic then and leave Visual C++ to the professionals.
|
|
|
|
|
It's funny, I accidentally corssposted into comp.lang.java.advocacy with the comment 'java sucks' a few months ago. I wasn't trolling like this anonymous clown, I was actually talking about languages to do graphics in, the user had asked about java ( hence the cross post I did not see ).
I must say that we are a far more restrained lot than the guys ( and gals I s'pose ) on c.l.j.a. Talk about starting a firestorm......
To the clown who started the thread - have the guts to put your name to your posts, and the intelligence to either present your case if you want to discuss it, or shutting up and going away if you're just looking for attention.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
Are you gay or something?
|
|
|
|
|
I've only recently started playing with it, and like most such tools it has it's good points and it's bad. I find it anoying that with a very small ammount of use I've been baffled by two unrelated compiler faults and one, shall we say, infelicity of design in MFC which meant going all round the houses to do something which ought to be trivial (replacing one of the windows under a splitter).
There seems to be a certain ammount of too clever by half about MFC. Fancy techniques used where simple techniques would have been more flexible.
I find much of the documentation nearly useless, being formulaic in nature when it ought to be explanatory. It's also irritating that the class references are on CDROM and take forever to acccess (it also interferes with my listening to music while I hack).
On the other hand I find the IDE surprisingly useful. Compiler errrors tend to be vague but runtime errors are quite well handled. The debugger seems quite good (is there an "evaluate expression" anywhere?).
|
|
|
|
|
In this age of 40 gig drives, you'd be mad not to have the MSDN fully installed on your hard drive.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
So when was the old law: Files expand to fill the space available repealed?;)
Actually it's probably just parsimonius habbits (that, and having three separate opertating systems).
|
|
|
|
|
I want the MFC or sdk methods for obtaining the status of each processor such as load, queue length etc in a network.
arunkc
|
|
|
|
|
read HKEY_PERFORMANCE_DATA
|
|
|
|
|
I am new in Visual C++6.
I want to learn.
How I can do a profile like:
Profile
Last name:_______
First name:______
and an user can complete this form and his data to be stored in a data base.
Can you help me please?
I can change the fonts just for the first line?
Thank you!
|
|
|
|
|
It's great that you want to learn, and also ( for you ) great that you've found this site. Can I just ask a couple of questions ?
1/ If I asked you to do this task on a console line ( like a DOS window ), could you do it ? If I asked you to write a simple calculator, could you do that ? If not, then step one is learning some C++, then worry about the Windows world. Otherwise it's too much to take in at once and you're setting yourself up to be a bad Windows programmer.
2/ Assuming you know some C++ and want to move to Windows, you're probably talking a dialog application here, or a Form based view. Either way, what you're looking to do is not difficult - the first step involves creating the 'form', using the dialog editor to position your controls. Then you can use the drop down window in the Wizard bar to associate messages with functions, so you can recieve notification if a button is pressed, or text is typed into a edit box. You press Ctrl-W to get up the class wizard, where you can associate a control with a variable, either a string or number, or a control ( which means you use GetWindowText to get the contents of a text box ). NEVER use DDX with validation, i.e. never create an edit box and create an int or float and type in a minimum or maximum value. The DDX stuff jst blows, it is very annoying to end users. I alaways roll my own.
Database support is something I have little experience in, but from memory you create a project in the wizard with database support and associate it with a database, and you get a class that opens the file and provides methods for reading and writing values in and out. Or you can use serialisation or CFile to create your own if you don't need a relational database, but just a file with a list of details.
If I've lost you along the way, feel free to ask for more info, but also consider if you need to choose something simpler at this stage. Also, buy a book. Everyone here is very helpful, but there's no substitute for good references. I have a bookshelf full of programming books. Initially I thought along the lines of getting stuff for free online, why spend money, books are $100 each, etc. Now I love buying books, because I learn so much better from a book, and because I see it as an investment in myself. ( That may not be a wise investment, but I have a vested interest )
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|
|
Thank you very much for your explanations, I’m really interested in learning this programming language.
I started to learn last week and till now wasn’t very difficult.
|
|
|
|
|
*grin* It gets difficult, but that's the fun of it. If you learned an easy language you'd have something that
a. any monkey could do and
b. wasn't very powerful. A language is easy when it protects you from the details, which in turn limits your options.
Christian
#include "std_disclaimer.h"
People who love sausage and respect the law should never watch either one being made.
The things that come to those who wait are usually the things left by those who got there first.
|
|
|
|