compiler vs ide , is there a difference ?

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2008
Posts: 29
Reputation: shadowfire36 is an unknown quantity at this point 
Solved Threads: 0
shadowfire36 shadowfire36 is offline Offline
Light Poster

compiler vs ide , is there a difference ?

 
0
  #1
Jan 30th, 2008
ok i just got my ass chewed by my professor cause he gave us a a program to build and i used visual studio to build it .

he told me he wants his programs built in a compiler , i told him i was using visual studio , he yelled at me and said that not a complier he said it was an "IDE", then told me to get a compiler for the rest of the semester.

so here is my questions

1- is there a difference between ide and a compiler ?
2- where can i get a compiler for free ?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,343
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1460
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: compiler vs ide , is there a difference ?

 
0
  #2
Jan 30th, 2008
An IDE is just a visual interface for a compiler. Visual Studio C++ is an IDE and a compiler. When you select Build in the menu the IDE invokes the compiler to compile the program.

I suspect what you teacher wants you to use is a command-line only compiler such as g++. If he wants you to use a specific compiler then he should have told you which one to use. MinGW is commonly used
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 29
Reputation: shadowfire36 is an unknown quantity at this point 
Solved Threads: 0
shadowfire36 shadowfire36 is offline Offline
Light Poster

Re: compiler vs ide , is there a difference ?

 
0
  #3
Jan 30th, 2008
do they contain anything in difference ???

if i get MinGW does it need any run time libraries that i would need to get ?

cant i just use visual studio from the command line ?


is one better than the other ?

no he dint name any specific compiler just said there are plenty of free ones out there , wish he had told me that for i paid visual studio .
Last edited by shadowfire36; Jan 30th, 2008 at 11:00 pm.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,343
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1460
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: compiler vs ide , is there a difference ?

 
0
  #4
Jan 30th, 2008
>>do they contain anything in difference ???
Yes -- and IDE and a compiler and not the same thing. Is a dog and a monkey the same kind of animal?

>>if i get MinGW does it need any run time libraries that i would need to get ?
The download should give you everything you need, including the libraries

>>cant i just use visual stuido from the command line ?
Do I look like your teacher? You'll have to ask him. My guess is no, from the response you posted earlier about what he said.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 66
Reputation: superjacent is an unknown quantity at this point 
Solved Threads: 3
superjacent's Avatar
superjacent superjacent is offline Offline
Junior Poster in Training

Re: compiler vs ide , is there a difference ?

 
0
  #5
Jan 30th, 2008
I'm not really following the point of this thread. I can't see what the problem is. (other than a cranky professor) At the end of the day, you have to hand in your assignment and no doubt it's the source code that's handed in. Isn't it the source code, which is your solution to a given problem, that is marked or assessed.

That source code should be able to be compiled, as is, under any compiler -- is that the point.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,343
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1460
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: compiler vs ide , is there a difference ?

 
0
  #6
Jan 30th, 2008
Maybe he cranky teacher wants a make file as well as all source files. You can't get a make file with visual studio -- VC++ 6.0 was the last compiler that created one, and then it probably couldn't be used by other compilers.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,089
Reputation: vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all 
Solved Threads: 164
vijayan121 vijayan121 is offline Offline
Veteran Poster

Re: compiler vs ide , is there a difference ?

 
0
  #7
Jan 30th, 2008
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,951
Reputation: Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of 
Solved Threads: 214
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: compiler vs ide , is there a difference ?

 
0
  #8
Jan 31st, 2008
I think your professor is an idiot and a jerk.

Tell him that an IDE is an "Integrated Development Environment", meaning that it is at least a compiler and a nice text editor.

Tell him also that if he has further problems with your choice of a compiler he can
  1. Tell the class explicitly which compilers (other than VisualStudio's, of course) are acceptable
  2. Take it up with the Ombudsman or Dean for Student Affairs (in which case he will also need to explain why VisualStudio's compiler is unacceptable and why your homework failed to meet the assignment's criteria.)

There is absolutely no excuse for a professor to loose his cool with a student.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,114
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 281
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: compiler vs ide , is there a difference ?

 
0
  #9
Jan 31st, 2008
Originally Posted by Ancient Dragon View Post
>>do they contain anything in difference ???
Yes -- and IDE and a compiler and not the same thing. Is a dog and a monkey the same kind of animal?
Better analogy:
Car engine vs. vehicle itself.

The same engine (compiler) can be put into multiple cars (IDE). The car makes it easier to use the engine. IDE makes it easier to develop a program.


Originally Posted by shadowfire36 View Post
cant i just use visual studio from the command line ?
Yes. Check in the bin direcory for a short file name like cl.exe or mc.exe, something like that. At the command line, type in the name and a list should be displayed of all the switches available. First line of the display should tell you if it's the compiler.

Originally Posted by Duoas View Post
I think your professor is an idiot and a jerk.

Tell him that an IDE...
Tell him also that...
Bad advice. You can't tell an idiot and a jerk anything without dire consequences. Just get a command line compiler and forget it. I use Borland 5.5
A little older but it still works great.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC