My Computer Forum Computer Science Forum

Go Back   My Computer Forum > Computer Science Forum > Programming

Programming Programming Languages, Interpreters, and Compilers - Assembly, Declarative, Machine, Object Oriented, Iterative


Reply
 
LinkBack Thread Tools Display Modes
April 5th, 2008, 12:51 AM   #1
 
Joined: Apr 2008
Posts: 8
I want to begin learning again

Hi as the topic is written, I want to begin learning again
Can any of u post me a link to a good compiler and beginners manual


Thank you very much
zaiken is offline  
 

My Computer Forum is free to register and we welcome everyone!

April 5th, 2008, 08:39 AM   #2
 
Joined: Dec 2007
Posts: 138
Re: I want to begin learning again

Assuming you're using a Windows machine, Blood-shed DevC++ is a good IDE with a friendly interface, and rather helpfully large library.

Otherwise, just learn your way around the terminal (if you haven't already) and use gcc.

As far as tutorials go, the help file that comes with DevC++ is actually not bad; And the intarwubs are good places to find tutorials

Also! Get K&R. It isn't fully applicable to C++, but just the amount of C you'll learn from that book will make you a much better C++ programmer.
cknapp is offline  
April 5th, 2008, 10:16 AM   #3
 
Joined: Dec 2007
Posts: 187
Re: I want to begin learning again

Microsoft has a good C++ compiler program that you could use (I bought a C++ textbook last year in a bookstore, and it came with a CD). Or, you could download a C/C++ compiler in internet (http://www.microsoft.com/express/vc/). I use a little bit earlier version of Visual C++ program on my desktop computer, but you can download the latest version of Visual C++ software.

If you want to learn C/C++, I highly recommend you to buy a book (a good book). I have a C++ book by Y. Daniel Liang, and he did a good job explaining things in his book. I don't know if he publishes C books, but if you want to buy a C textbook, then you could use cknapp's C book suggestion.


Good luck,

j.
johnny is offline  
April 5th, 2008, 03:19 PM   #4
 
Joined: Apr 2008
Posts: 8
Re: I want to begin learning again

umm i dont like to buy books atm since i got loads of book mostly php and technical stuffs, i just need a manual and a compiler, and at my time which was long time ago the compiler we are using are just c++ not visual c++(which is from microsoft) i dont know much about visual but i am willing to learn more, I will check the web site the u gave me

Im also more into open-source coz im kinda out of budget which sucks hehehe

tnx for the replies
zaiken is offline  
April 5th, 2008, 05:15 PM   #5
 
Joined: Dec 2007
Posts: 138
Re: I want to begin learning again

Quote:
Originally Posted by zaiken
i just need a manual and a compiler, and at my time which was long time ago the compiler we are using are just c++ not visual c++(which is from microsoft) i dont know much about visual but i am willing to learn more, I will check the web site the u gave me
In that case, I would really recommend Dev-C++. Apparently the project hasn't been active in over 3 years, but some poeple have added onto it, making wxDev-C++, so I guess check that out instead of Bloodshed.
cknapp is offline  
April 5th, 2008, 05:29 PM   #6
 
Joined: Dec 2007
Posts: 187
Re: I want to begin learning again

Isn't Visual C++ compiler basically same thing as an C++ compiler, just the brand name is different?
johnny is offline  
April 5th, 2008, 09:16 PM   #7
 
roadnottaken's Avatar
 
Joined: Apr 2008
Posts: 3
Re: I want to begin learning again

As to learning C++, I would recommend http://cplusplus.com/doc/tutorial/.
roadnottaken is offline  
April 5th, 2008, 10:19 PM   #8
 
Joined: Apr 2008
Posts: 8
Re: I want to begin learning again

I tried downloading visual c++ well it is good, though i dont want to buy it, Im looking for an opensource C++ something like the one that I used to use before, dont know where to find it now =( im gonna check wxDev-C++ recommended by cknapp tnx btw
zaiken is offline  
April 6th, 2008, 12:51 PM   #9
 
Joined: Dec 2007
Posts: 232
Re: I want to begin learning again

Quote:
Originally Posted by johnny
Isn't Visual C++ compiler basically same thing as an C++ compiler, just the brand name is different?
Not really.

1. Visual C++ has the whole 'visual' part where you build code to make forms and other window-related objects without actually typing in code, just moving objects about in a window.
2. Visual C++ compiles down to MSIL, which is sort of like Java's bytecode. Thus you need the .NET framework to run the program, and you get the benefits (security, etc.) and costs (slower speed and a bit of overhead) of that.

Quote:
Originally Posted by zaiken
I tried downloading visual c++ well it is good, though i dont want to buy it, Im looking for an opensource C++ something like the one that I used to use before, dont know where to find it now =( im gonna check wxDev-C++ recommended by cknapp tnx btw
Visual C++ Express is a free download from Microsoft, you don't need to buy it. Personally, I use Visual Studio (though C# rather than C++) when I want an IDE and gcc (with either C or C++) otherwise.
CRGreathouse is offline  
April 6th, 2008, 12:56 PM   #10
 
Joined: Dec 2007
Posts: 187
Re: I want to begin learning again

Quote:
Originally Posted by CRGreathouse
Quote:
Originally Posted by johnny
Isn't Visual C++ compiler basically same thing as an C++ compiler, just the brand name is different?
Not really.

1. Visual C++ has the whole 'visual' part where you build code to make forms and other window-related objects without actually typing in code, just moving objects about in a window.
2. Visual C++ compiles down to MSIL, which is sort of like Java's bytecode. Thus you need the .NET framework to run the program, and you get the benefits (security, etc.) and costs (slower speed and a bit of overhead) of that.
Oh okay.

Currently, I am using Visual C++ compiler in my desktop computer, and when I compile my source code, and show it on computer screen, it comes with C:\ screen. Does the original C++ compiler support C:\ to show the results?
johnny is offline  
April 6th, 2008, 01:48 PM   #11
 
Joined: Dec 2007
Posts: 138
Re: I want to begin learning again

Just open up your command prompt and DOS away.
cknapp is offline  
April 6th, 2008, 02:51 PM   #12
 
Joined: Dec 2007
Posts: 187
Re: I want to begin learning again

Does that process work for every type of C++ compiler?
johnny is offline  
April 6th, 2008, 03:05 PM   #13
 
Joined: Dec 2007
Posts: 138
Re: I want to begin learning again

Umm... Most of them... If you get the gcc, it definitely will. dev-c++ (or whatever the new "version" is called) should as well.
cknapp is offline  
April 6th, 2008, 04:57 PM   #14
 
Joined: Dec 2007
Posts: 232
Re: I want to begin learning again

Almost all compilers can be run from the command line. Visual C++ and Visual C# can be run from the command line; the IDE just helps you put the code in place. I run Visual C# from the command line all the time (more than I use the IDE).
CRGreathouse is offline  
July 23rd, 2009, 03:59 PM   #15
 
Joined: Dec 2007
Posts: 187
Re: I want to begin learning again

Quote:
Originally Posted by mark123456
to learn you should know first C language and for it you should prefer let's C.
You don't necessary need first C language to learn C++, etc.
johnny is offline  
Reply

  My Computer Forum > Computer Science Forum > Programming

Tags
begin, learning



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning Java and C++ chetanbhasin Programming 6 February 22nd, 2013 01:24 AM
New to HTML, where to start learning. chetanbhasin Programming 6 December 25th, 2011 06:49 PM
Learning Python SidT Programming 7 March 2nd, 2010 04:21 PM





Copyright © 2018 My Computer Forum Forum. All rights reserved.