 |

|
cool!
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers! We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP Linkify!|Fold With Us!
|
|
|
|

|
Peter,
Thanks for the link. Glad to do my part!
Mike
|
|
|
|

|
I want to give my "bit" of help as well. I went to the download page (at the moment not working "Many connections. Please try later") But I have seen there are 2 different versions. 5.03 Graphical (WinXP) or 5.04 Console (XP as well). Which one do you recommend me?
Grüße aus Regensburg.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|

|
Normally, the graphical client is the one - it's easy to install and to use, and it makes a decent screensaver.
I've never used the console-only / service client, is is intended for low-impact installations, (e.g. distribution in office network - provided the boss agrees), or server PCs that usually don't have an intractive user logged in.
Grüße aus Dresden!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist
|
|
|
|
| |

|
As response to a question how to learn C++ and become a "pro", "not only using DOS commands, but also MFC"
The following is a roadmap to "Mastering C++" - how I would teach it.
Some people might want to reorder the list which is fine with me - it all
depends on the teacher and the tools.
Chapter (I) Learning the language
- basic language: type system, control structures, functions, scope.
- basic concepts: programming style, structuring your program using
functions, the difference between contract, declaration and implementation
- language: pointers.
pointer arithmetic, referencing, dereferencing, pointers vs. references,
pointer to pointer, adress of pointer, allocating raw memory, etc.
If you didn't succeed with (3): learn pointers
If you don't get it the third time, give up. Really. I am serious.*
- debugging. assert, trace, using a debugger, distrusting yourself,
acquiring some programming style.
- language: Function overloading.
- language: classes. Member functions, constructor, destructor
- concepts: encapsulation, simple object design, encapsulating state
- lanuage: learn exceptions **
- repeat concepts: good programming style, contract vs. declaration
vs. implementation
- concepts: inheritance, polymorphy
- concepts: "enhanced" object design with the new knowledge
(exceptions and polymorphy)
- language: some refined points
const-correctness, default constructor, copy constructor vs. assignment
operator, how to make a class behave like a built in type (but skip operator
overloading)
- language: templates: function templates, class templates, template
specialization,
- get an introduction on the STL (standard template library, which
makes the biggest part of the C++ run time library)
- language: ok, now, just as sugar, operator overloading, and how to
make types truly act like built-ins
- libraries: refine your knowledge on the STL
NOW you are ready to leave the console window
Chapter (II) ...but also MFC
- Windows API basics: This helps understanding some of the
mumbo-jumbo and awkwardnesses in the MFC much better
Event Driven Programming, Windows, Window Handles, Window Messages
(you can omit *creating* windows here, since this is a painful task made much
easier by frameworks - but the rest is important to understand and makes
working with the MFC easier).
GDI, standard controls etc.
- Do the MFC "Scribble" tutorial, just following the main path (up to
"printing" or so). Don't try to understand everything, just get a feeling for
the "flow".
- Do the "Scribble" tutorial again, this time exploring the background
explanations etc.
Chapter (II) Become a Pro
- Notice that, once you are here, you are the last remaining person on earth
doing MFC
- Learn enhanced concepts: Exception Safety, Patterns etc. and all the fine
parts I have forgotten above
- Learn "Industry Power" stuff: Automated Tests, Version Control,
Finalizing, and everything that belongs to running a larger project.
<b>Warning:</b> this course is a pain. In the ass, in the back, in your
fingers, everywhere. Yet, it's IMO one of the shorter routes to a pro. To be
true, you could start with th MFC stuff pretty much after (I)-(j), but this
makes you only half-a-programmer, and you might acquire some misfeats that are
hard to get rid of later.
The order of the list itself clearly shows some drawbacks of the C++ language,
namely, the position of exceptions, and especially the STLBoth are standard
tools that should be introduced much earlier, but require good understanding of
the basic language features.
*) I pretty much agree with the thought that understanding pointers
needs a certain "wiring" of the brain. All other stuff in C++ can be learned
by a decently intelligent person. Pointers are different, you either get them,
or you don't. If you can't do pointers, C++ will be a pain all the
time.
**) that's really late, to late. They are an important tool for error
handling - and people should learn it as early as possible. However, it
doesn't make much sense wihtout a good grasp on scope and code flow. I would
do exceptions right after (b), but books/courses don't do it without classes.
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|

|
lol ,Peter is tired of being called "Mr. Chen",I suggest that you take a chinese name,just like chen pite
BTW,thank you for sharing your article, i'm learning MFC
|
|
|
|
| |

|
Imagine you are on the holiday trip of your life - south italy, just across Sicily. Your'e in a bar, there's this incredible girl with piercing black eyes, and you don't know if she just smiles at your veiled attempts to explain the bartender what you'd like to drink, or just smiles at you.
To break the ice, you scratch together your last italian, and say something to her.
In that moment, the whole bustling location freezes. Eyes either turn to you, or away. The bartender slowly puts down the bottle of whatever you did not want to order, but finally agreed on. A young italian boy, slender, moving like quicksilver, dark, angry eyes, turns around and asks you (in unintelligible italian, of course):
"What did you just say to my little kid sister?"
THIS is the kid sister rule.
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|

|
5! To funny
|
|
|
|
| |

|
Since it crops up frequently:
a) VC7 : makes the CStringT template available for both ATL and MFC projects
b) WTL (clickety[^]) : provides a 1:1 CString clone for ATL/WTL projects under VC6. The ATL/WTL framework emphasizes "link on demand", so you could basically create a raw Win32 application/library with CString
c) On Codeguru you'll find a macro that extracts the CString sources from your MFC library, so oyu can add them to any other project
d) there are some CString clones[^]. However, with the availability of WTL, there's rarely a need, unless you need to be portable
e) finally, you can "rip out" the WTL CString class. All that CString needs from the framework is the Ressource HINSTANCE for implementing LoadString and similar functions. (IIRC there are some more system-dependent elements, which can be easily replaced)
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
| |

|
"Have you tried Jesus?"
"Jesus? Oh, that guy. Tried to take the load of others, and couldn't even carry his own. He lived a life of agony and pain, and he died a horrible death. Now how can I load my own pain on the back of this guy!
Do you really think he was happy here? Look around. People are a pain. Everybody has one or two or a dozen who make all this bearable, but the rest - not that I dislike them, but I would miss their number, not them individually. Now imagine you walk around to get them all smiling, at once. And everytime five or six of them do, someone behind your back breaks into a curse.
I bet he found peace and his daddy only when sitting under an olive tree, watching an ant, and a stone, just be. This is where all that salvation and better afterlife comes from: HE just couldn't bear this life. If we wouldn't have killed him, he would have probably done this himself.
Do you know the scene, where Judas doubts his own plan, and doesn't want to go to Kaiphas? Jesus sees this and tells him his, Judas', task is harder than his own: carrying the burden of the traitor, rather than die for your fight. But to find an end, we need the traitor as much as the redeemer.
Who am I to burden this man with the dirt of my own? We went a few miles of our road together, but where he goes I cannot follow."
we are here to help each other get through this thing, whatever it is Vonnegut jr.
sighist || Agile Programming | doxygen
|
|
|
|
 |
|