|
-
Feb 9th, 2001, 11:45 AM
#1
Thread Starter
Addicted Member
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.
-
Feb 9th, 2001, 12:18 PM
#2
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.
-
Feb 9th, 2001, 12:23 PM
#3
Frenzied Member
-
Feb 9th, 2001, 12:32 PM
#4
Thread Starter
Addicted Member
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?
-
Feb 9th, 2001, 01:35 PM
#5
Thread Starter
Addicted Member
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
-
Feb 12th, 2001, 09:46 AM
#6
Addicted Member
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.
-
Feb 12th, 2001, 09:49 AM
#7
PowerPoster
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?
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Feb 12th, 2001, 02:05 PM
#8
Addicted Member
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.
-
Feb 12th, 2001, 02:13 PM
#9
Frenzied Member
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.
Harry.
"From one thing, know ten thousand things."
-
Feb 14th, 2001, 01:24 PM
#10
Addicted Member
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.
-
Feb 14th, 2001, 01:27 PM
#11
Monday Morning Lunatic
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)
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 14th, 2001, 01:58 PM
#12
Frenzied Member
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.
Harry.
"From one thing, know ten thousand things."
-
Feb 14th, 2001, 06:35 PM
#13
Fanatic Member
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.
Alcohol & calculus don't mix.
Never drink & derive.
-
Feb 14th, 2001, 06:59 PM
#14
Frenzied Member
I think they're included with Win 2k. Well that's what I heard they were going to do, I'm not certain though.
Harry.
"From one thing, know ten thousand things."
-
Feb 16th, 2001, 05:12 PM
#15
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|