New Reply

[C++] Tutorial 1: Discussion

 
Share Thread Thread Tools
Dec7-04, 03:45 PM   #35
 

[C++] Tutorial 1: Discussion


"Design patterns" is, as I said, for designing applications -- in any OO language.

For structured programming you are better of with Dijkstra's "Structured programming" book. His writing style is excelent.

Why exactly do you want to learn about MFC? It is old and a very good example of BAD library design. You would be much better off learning .NET class library or Java API.
Dec8-04, 02:08 AM   #36
 
Well, MFC are the libraries that I have in my compiler, Microsoft Visual C++ 6.0. But I'd be willing to learn any other libraries for GUI in C++.
Dec14-04, 01:37 AM   #37
 
Then have a look at:
http://lab.msdn.microsoft.com/express/ and
http://java.sun.com/

Both come with pretty comprehensive documentation (both tutorials and reference material).
Jan5-05, 07:44 PM   #38
 
I recommend the
Algorithms in C++ series by Robert Sedgewick
Code Complete (2nd Edition)
Code: The Hidden Language of Computer Hardware and Software - the book is on computer foundations and architecture, fair introduction to computer science

Ryan
Jan11-05, 03:14 AM   #39
 
LogiX: your recommandations are better than mine!
From the same area: The Pragmatic Programmer, a book full of practical advices presented thru analogies that helps you remember.

One example: The Broken Window Theory. The advice: Never leave something broken (if you know it is broken). Story: A study of NY police with sociology&psychology researchers was intended to shed some light on when property is destroyed. They left an expensive car in an ill-famed neighborhood. A few weeks nothing happened. Then they broke a window. Within a few hours the car was completely destroyed and set on fire. Conclusion: Never leave something broken.
Jan11-05, 04:25 PM   #40
 
Quote by ramollari
Well, MFC are the libraries that I have in my compiler, Microsoft Visual C++ 6.0. But I'd be willing to learn any other libraries for GUI in C++.
If you want to do GUI work outside of ms visual c++, I recommend using devcpp along with gtk and glade. Glade is just like the form builder you have in visual basic and it builds the code for you c/c++ project making use of GTK. The good thing is everything is free.
Jan11-05, 05:15 PM   #41
 
Quote by cipher
If you want to do GUI work outside of ms visual c++, I recommend using devcpp along with gtk and glade. Glade is just like the form builder you have in visual basic and it builds the code for you c/c++ project making use of GTK. The good thing is everything is free.
As well as cross-platform.
Jan11-05, 09:45 PM   #42
 
As well as cross-platform
The only thing that is not cross-platform is devcpp, which is only for windows.
Jan12-05, 06:09 AM   #43
 
visual basic is cross platform?
Jan23-05, 07:22 AM   #44
 
Quote by Alex
visual basic is cross platform?
I thought that cross-platform meant that something could work on multiple OSs or be compiled for multiple OSs. I didn't know that VB could do that.
Jan23-05, 12:06 PM   #45
 
It's important to understand that Dev-C++ is not a compiler. Dev-C++ is an IDE (Intregrated Development Environment) that uses the MingW (windows port of GNU GCC) compiler.

I personally recommend using wxWidgets as a GUI API. It's build in a very OO manner which makes it easy to learn and work with. And, it is extremely portable across multiple platforms. http://www.wxwidgets.com

Visual Basic executables are not cross-platform.

Ryan
Jan27-05, 01:56 PM   #46
 
Quote by cipher
I thought that cross-platform meant that something could work on multiple OSs or be compiled for multiple OSs. I didn't know that VB could do that.
What I meant was that you can write programs for many different platforms with c++, while Visual Basic limits you to Windows.
Feb8-05, 06:13 PM   #47
 
Just use Delphi, it gets ride of this annoying ActiveX files. If you are making a windows app, use VB, if you need speed, use Delpi or CPP, if you need platform control, use Java, c#, C++, ect...

I recomend for anyone who is new to programing to start off with Visual Basic, then move on to something else.
Feb11-05, 06:53 AM   #48
 
Quote by eNathan
I recomend for anyone who is new to programing to start off with Visual Basic, then move on to something else.
Let me say that Visual Basic is not the proper language to start with. It is too visual, too buggy, too inefficient, and too difficult to understand.
Feb11-05, 06:55 AM   #49
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
Not to mention that it's not free!

I thought QBASIC was a beautiful language, is VB really that bad? (Of course, I had not yet heard of Pascal or C++ at that time in my life)
Feb11-05, 07:09 AM   #50
 
Quote by Hurkyl
Not to mention that it's not free!

I thought QBASIC was a beautiful language, is VB really that bad? (Of course, I had not yet heard of Pascal or C++ at that time in my life)
It is all commercial: the language and the development environment. That is to the advantage of Microsoft.

Also by the way VB is little related with QBASIC. When I think of VB I think of 'drag and drop', not of programming.

VB is useful for prototyping and for RAD software development. But not for beginners who want to learn programming principles. C++ would be a good one.
Feb11-05, 06:00 PM   #51
 
I started out with VB, and I agree. After I started programing in C++ I felt like I wasted alot of time of VB. Oh well live and learn.
New Reply
Thread Tools


Similar Threads for: [C++] Tutorial 1: Discussion
Thread Forum Replies
CFD tutorial Mechanical Engineering 4
C# Tutorial Programming & Comp Sci 13
GR Tutorial Special & General Relativity 2
Probability tutorial Academic Guidance 0
Tutorial La Tec General Math 1