Programming

Harrypotter_fan said:
does visual C++ come with a compiler?
it does, but visual C++ is waayyy tooo advanced for newbies.
heck, even i went for it after about 3yrs of progamming.

actually, u will use visual C++ when u start to make programs for windows, but problem with windows programing is that a simple "hello world" program would span about 100 lines, compared to 5 in console based apps.

otherwise, for console based apps, stick to borland or dev-cpp.
 
Yes i find VB.NET very nice.


btw,what is the use of making basic(small) apps. in C++(windows based) if it requires so much code?

I think using wizard to create an app. skeleton in C++ is a good idea
 
Last edited:
Pak_cricketer said:
I'm starting to hate Dev C++, so I have started downloading Turbo C++.. By my understanding, it is the same thing as Borland 5.5 Compiler?
Turbo c++ is used to create console applications
U can also use visual c++ for that.
In Visual c++ u can create console as well as window based applications.

Harrypotter_fan said:
Yes i find VB.NET very nice.


btw,what is the use of making basic(small) apps. in C++(windows based) if it requires so much code?

I think using wizard to create an app. skeleton in C++ is a good idea
U dont need to necessarily write a lot of code to create applications in c++ u can use the MFC wizard if u dont want to write the code ur self.
Anyways it's not that hard.

Also i might add that VB.NET or Visual Basic is way too easy but it is good for creating simple applications in quickly
u need to learn C++ if u want to be a serious programmer.
 
Last edited:
u can create console based apps in visual C, but doing that is too much of work.u have to create projects, go through some loads of options which u would hardly understand, and finally write, then find the compile button, then get it to run... it's lots of work

in Borland 5.5, u write and compile and voila! program running.

also, the very important thing is that borland libraires are the very best when it comes to console programming, visual C, dev-cpp cant match it.

the best part is the fact that these libraries would be used extensively even by the niewbies.. the biggest example is the clrscr() function.
clrscr() function is used to clear the console screen and start from first line.Such a simple function isn't avalible in visual C, dev-cpp because it is copyrighted by borland!

it's because of the fact that huge no of programs were developed in TurboC in days of DOS.

and yeah, u can use MFC to create apps.But's it's akin to hiring a driver to drive a porsche for u, because u can't drive it yourself. :p
 
blackleopard92 said:
learning c\C++ from ground up can be generally divided into 3 parts,
1.learning the data tyes, simple constructs like functions and structures and using pointers
2.learning various data structures
3.getting hang of OOP concept of programming.

first thing first, no need of going for C, as C++ is just and extension of C and u would have to learn it while learning C++ itself.

for starting C++, u can take any simple primer stuff.check wiley publications for it.they are best for technical books.i can't recommend any primer because basically all are same (to me)
one i know of and recommended is "the C++ primer" by sams publishing.
this book starts from basic and focuses on hands on learning.

after that, u need a advanced book and a refrence. the holy grail of C++ programming is "The C++ programming language" by Bjarne Stroustrup.
what's better than the book by the maker of the language itself!

after this, try your hands on a nice big program.using all u learnt.

if u want to divulge further, u need to learn data structures,
a good book to start would be "C++ unleashed" by sams publishing.


for compiler, i would recommend
borland 5.5, it went free quite around 2000.
it comes with all of borland's libraries that are soo important in classroom teachings.
(that's why classrooms still use TurboC, a ancient DOS based compiler/editor, but by borland too. went free around 94)

the problem with dev-cpp is that it uses gcc/g++ compiler,(open source, GNU) and hence is quite cumbersome.
Someone only asked for chapter 1 and you made him read the whole book :p
 
i must apologise... borland 5.5 that has been made free is just a compiler.
no editor has been included with it.
so there are two choices, u can use this link and find how to manually configure 5.5 and get it running with scite.
http://csjava.occ.cccd.edu/~gilberts/bcc55.html

download borland 5.5 command line tools here.


or u can download borland 5.02/Turbo C 4.5 , complete with editor and stuff , from torrents. :p
 
Last edited:
imo... go in for C++, as leo said, it is an extension on C, and is really helpful if you want to understand programming, once u have gained some confidence in C++ prog (maybe in about 1-2 years) u could switch to JAVA, which is quite similar to C++...
 
I heard JAVA is easier to use, and the interface and debugging is better. So far I have reached Chapter 2 of the book without too much difficulty.
 
Pak_cricketer said:
I heard JAVA is easier to use, and the interface and debugging is better. So far I have reached Chapter 2 of the book without too much difficulty.
which book?
java and C/C++ they have things in common,but are two different things altogether.
learning one or another depends on u totally, since they both cater to different fields.
 
C++ How to Program by H.M. Deitel/ P.J. Deitel

Its pretty good because its made by a professor and a student so there are 2 different perspectives.
 
Pak_cricketer said:
C++ How to Program by H.M. Deitel/ P.J. Deitel

Its pretty good because its made by a professor and a student so there are 2 different perspectives.
if u are comfortable with it (essential),then its best for u :)
 

Users who are viewing this thread

Top