From: Bubba on
Joseph M. Newcomer's log on stardate 16 lip 2010

> You may *think* the assignment sucks. As a professional in the area,
> I can offer my expert opinion that this assignment *totally sucks*.
> I know this is small comfort to you and your fellow sufferers, but
> just know that it is not just your narrow opinion that this is a bad
> assignment. It *is* a bad assignment..

Although your words are not comforting, they make a lovely print for the
bulletin board on the college entrance. :)

Nevertheless, I'll do my best to see through everything that is in my
disposal, and will feel free to ask some (unfortunately, mostly stupid,
presumably) questions here.

Thanks to everyone once again! I'll make sure to post an epilogue of this
story. ;)

--
"If you lie to the compiler, �|� .-'``'-.,_,.-'``'-.,
it will get its revenge." �|� '-.,_,.-'``'-.,_,.-'
-- Henry Spencer �|� /��\
� http://math2.ath.cx � �|� '-.,_,.-'``'-.,_,.-'
From: somebody on
"Bubba" <nickname(a)banelli.biz.invalid> wrote in message
news:Xns9D99AF8B4181Cbubbachipsetone(a)130.133.4.11...
> Greetings,
>
> we were given short note for doing a project on college (two days ago, due
> is on Monday), that is related to OOP, or to be exact, MFC library.
> Unfortunately, we were given literally no documentation, so it's free for
> all.
>
> Basically, I have to create application with at least two forms or
> dialogues. Application has to be able to show persons in a list, and that
> those persons can be sorted by name or surname. They can also be sorted by
> city or address, but then we have to use tree control.
>
> Person can be removed, added or changed. Each person can get indefinite
> telephone numbers and previous addressee. It also must be possible to save
> data when exiting the application and loading them afterwards.
>
> I did some Googleing and got books, but none seems to have systematic for
> my problem, in other words, they seem to be to vast in handling the
> subject, so I'd like to know what's the best way to start doing this type
> of application.
>


MSDN and Google should be enough for a start. Although there are books like
Jeff Prosise's Programming Windows with MFC, it will not teach you more than
an MSDN or any of the examples found by googling.



Joseph tends to show MFC as something extremely complicated, which is not.
While I was a kid I created mu first MFC application in a few hours and I
don't find my intellectual capabilities above average. That doesn't mean
that I learned entire MFC in a few hours. The OP has no need to learn more
than necessary just to deliver this Address book assignment. He doesn't need
to know all the details on CEdit or CTreeCtrl for example. He can do it
later if he wants/needs to.



Once you become familiar with MFC basics, you might dive behind the scene to
see how it works. This part is slightly complicated, but nothing to be
afraid of.



If you are writing that "Address book" application, since you are in Zagreb,
post a message at hr.comp.programiranje too when you hit the wall. :-)


From: Bubba on
somebody's log on stardate 17 lip 2010

> NNTP-Posting-Host: 93-139-46-28.adsl.net.t-com.hr 93.139.46.28

/snip

> If you are writing that "Address book" application, since you are in
> Zagreb, post a message at hr.comp.programiranje too when you hit the
> wall. :-)

Oh. :) Thx. ;) I'm afraid I'll just have to, due to the obvious reasons...
:(

--
"If you lie to the compiler, �|� .-'``'-.,_,.-'``'-.,
it will get its revenge." �|� '-.,_,.-'``'-.,_,.-'
-- Henry Spencer �|� /��\
� http://math2.ath.cx � �|� '-.,_,.-'``'-.,_,.-'
From: Oliver Regenfelder on
Hello,

Goran wrote:
> BTW, if subject is C++, I would not say that exceptions, inheritance
> and templates are "advanced" techinques. All three are cornerstones of
> C++. There are advanced uses of all these, that's fine, but they
> themselves are pretty much indispensable.

Unfortunately that seems to be a common view point of professors on
C++ teaching. On my university too you would learn classes, virtual
inheritance and the basic OOP things, but templates and exceptions
were considered 'advanced' and who wants to learn them can do so
on his own.

So, the outcome is that you have a ton of people who think
they know C++ and all they do is C with classes.

Best regards,

Oliver
From: Oliver Regenfelder on
Hello,

Bubba wrote:
> we were given short note for doing a project on college (two days ago, due
> is on Monday), that is related to OOP, or to be exact, MFC library.
> Unfortunately, we were given literally no documentation, so it's free for
> all.

As somebody already mentioned try to get
Jeff Prosise 'Programming Windows with MFC'
it will help.

Also, this is some university assignment so I think they won't make a code
review and you can ditch a lot of the normally needed error code checking
error handling stuff and just pray that things work. Although, don't make
it a bad habbit!

Best regards,

Oliver