-
Hello yalll,
Okay I am wondering what to do next.
Ive heard before that you should learn C then C++ and so on.
Well I went up to Chapter 12 in my C book which starts to go into Graphics and so on. I feel comfortable w. all arrays, pointers, and structs. So my quiestion is, am I ready for C++. I want to start programming window apps in C instead of VB. So am I ready for it? And where do I start w. building apps?
Thanks.
-
Many people say that you should familiarize yourself with C before C++, but I've read many articles where many people think otherwise. Nevertheless, If you feel comfortable with C, then by all means, I suggest you go on to C++, where you will be introduced to classes.
I recommend you check out this site for starters. Also some books such as Teach yourself Visual C++ in 21 days can be quite helpful.
-
-
Okay thanks for the advice guys.
Vlatko: I took C because I needed it for a class, and I want to do lower level programming one day. I think C would be a good thing to know?
:)
-
Couple more questions,
Could one of you also tell me about MFC?
What is it used for?
Is a gui c++ compiler the only way to build gui apps.
Example VC++.
Could I build a windows app from a command line compiler?
What is the difference between building an app on Linux and building an app on windows. Apis?
Thanks alot :)
-
I don't believe you have to know C in order to learn C++. C++ has the "C root" but it is very different. C emphasizes on building functions while C++ emphasizes on building classes. IMHO, pointer is the hardest part of learning C++, if you already understand that, you should be able to pick up C++ very shortly.
As I always said, there is more than one way to skin a cat. But to build Windows apps, using tools like VC++ and C++Builder will make your life so much easier.
Hope this helps.
substring.
-
If you learn C++, and then want to program somethingk in C, will knowing c++ first, and then moving to C make it harder to learn C?
-
I don't know if it is a good comparison, but IMHO, going from C++ to C is almost like going from C back to Fortran or Assembler. Once you learn how powerful C++ is, you don't want to go back.
substring.
-
Hmm... depends what you mean by powerful. VB is powerful, in that you can make complex Windows apps very quickly. C is powerful in that it's very fast and efficient though. C++ is powerful in terms of making a design a reality by more intuitive models.
I don't think you can say C++ is more powerful than C, or vice-versa. Just better at different things.
-
Well, what I meant by powerful is that C++ gives you, the programmer, a lot of controls. But of course, it depends on which angle you are looking at, it could also be bad.
I never look at VB as powerful. It is just a quick tool to get the job done fast.
substring.
-
This is their official line:
C allows you to model in the solution domain (you can see line-for-line exactly what's happening)
C++ allows you to model in the problem domain (you can see what's happening to things, but the exact code isn't visible)
-
riiiggghhhhttt..... whatever.
substring - 'quick', 'fast', doesn't that make VB powerful? Like I said, it depends on what you mean by powerful. You can't deny VB is a very useful tool, and in a lot of situations far more appropriate than C++.
Not that I'm a big VB fan, in fact I haven't written a line of VB code in months. I'm more of a C/C++ person nowadays.
-
I've heard that you shouldn't learn C first, because you will have to "unlearn" lots of stuff. I don't speak from experience though, so don't go on just m opinion. Also, i don't like VB because one has to have it installed to run VB apps. For as long as they've had it, they should at least include them with windows.
-
I think they're included with Win 2k. Well that's what I heard they were going to do, I'm not certain though.
-
Wynd,
You are correct that you don't have to learn C first, in order to learn C++.
You said...
i don't like VB because one has to have it installed to run VB apps.
If I understand your statement correctly, it is not true. As long as all the DLLs are included when you build your install program, the VB app will run on the computer without VB itself. Well, of course, you need to have Windows as your OS. =)
substring.