PDA

Click to See Complete Forum and Search --> : What next


Help
Feb 9th, 2001, 10:45 AM
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, 11:18 AM
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 (http://www.programmingtutorials.com/tutorial.asp?id=cplus) for starters. Also some books such as Teach yourself Visual C++ in 21 days can be quite helpful.

Vlatko
Feb 9th, 2001, 11:23 AM
Yeah, definetly start C++. Why did you even bother wit C. You could have started with C++ console apps and then begin windows apps. Anyway here are some graet sites and free online books.

Sites:
http://www.cplusplus.com/
http://www.strath.ac.uk/CC/Courses/NewCcourse/ccourse.html
http://www.aul.fiu.edu/tech/visualc.html
http://www.gator.net/~garyg/c/cref.html

Books:
"thinking in c++"
http://www.codecuts.com/codecuts/pdfs/bruceeckel/TIC2Vone.pdf
http://www.codecuts.com/codecuts/pdfs/bruceeckel/TIC2Vtwo.pdf

http://www.itknowledge.com/reference/archive/0672310708/ewtoc.html

http://newdata.box.sk/bx/c/

Help
Feb 9th, 2001, 11:32 AM
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?

:)

Help
Feb 9th, 2001, 12:35 PM
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 :)

substring
Feb 12th, 2001, 08:46 AM
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.

sail3005
Feb 12th, 2001, 08:49 AM
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?

substring
Feb 12th, 2001, 01:05 PM
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.

HarryW
Feb 12th, 2001, 01:13 PM
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.

substring
Feb 14th, 2001, 12:24 PM
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.

parksie
Feb 14th, 2001, 12:27 PM
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)

HarryW
Feb 14th, 2001, 12:58 PM
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.

Wynd
Feb 14th, 2001, 05:35 PM
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.

HarryW
Feb 14th, 2001, 05:59 PM
I think they're included with Win 2k. Well that's what I heard they were going to do, I'm not certain though.

substring
Feb 16th, 2001, 04:12 PM
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.