Sunday, July 26, 2009

!!All C/C++ programmers should click here!!?

Which is a better compiler----Dev C++ or Microsoft Visual Express 2008?





Why?





Which one do you use?





Can you please explain me classes?





The most exhaustive answer gets 10 points!


(But dont just copy-paste frm another website coz i will be putting the thing in quotation marks to Google it)

!!All C/C++ programmers should click here!!?
Dev C++ isn't a compiler. It is an IDE. It uses MINGW, which is based off of GCC.


So are we talking compiler or IDE? With that said, Microsoft latest compilers 2005 and 2008 are excellent, and they are ANSI compliant, so that argument about being proprietary is bs. Sure you can down that path, but you are not required. The only quirk I have found between the two was in a student's program, where when compiled in Dev-C++ it caused the OS to throw an exception, and it didn't in Microsoft. My conclusion was based on the code, that Microsoft compiler initialized the variable with 0, and thus prevented the exception; whereas, GCC didn't. You can look at this as either good or bad.





Now as far as IDEs, Visual C++ is slower to load, but beyond that it is far superior to Dev-C++, especially when it comes to debugging. The debugger in Dev-C++ is still problematic. The intellisense in Dev-C++ is also much slower than that with Visual C++.





I personally usually have more than one compiler, and have both of these installed, plus some others, but if you were only going to go with one I would go with Microsoft's. I also find Visual Studio's error messages to be more verbose and precise.





Classes are only part of C++, and not C. They are used to support object-oriented programming. Object-oriented programming is programming in which data and the particular functions that perform work on that data are combined into structures called classes that act as a blueprint to make objects.





Classes are very similiar to structures. In object-oriented programming, you make objects. For example, you can make a class called Car. This car has variables to hold the make, model, and year of the car in the class. It also has methods or functions to perform operations on that class or change the data or state of that class. From this class Car, objects can be created. For the most part a class is a complex data type, just like int, bool, char. An object is an instance of the data type. It is like a variable name that is declared.(eg. int x)
Reply:I use Visual Studio because friend and foe agree that it's by far the best IDE out there. Admittedly, MS does not completely adhere to all standards (it's spelled 'proprietary' btw) but if you as a programmer are knowledgeable you can always force yourself to abide to standards.





And if you want a light footed compiler that adheres to standards, you should go for gcc... :-)
Reply:i use Dev C++ i tend to avoid Microsoft's propriatery stuff...





Microsoft usually adds their own set of garbage into the mix. Dev C++ has a much lighter footprint and is fully-functional.
Reply:I use Dev always have done and always will,


1) Good gui


2) It is not microsoft


I have it on my 2 desktops and my laptop, it is light and works on most OS even the old 95-Me for windows
Reply:When I was trying to learn C (I didn't get very far), I used dev C++





If C doesn't work out for you, try to learn BASIC. Yes, BASIC is old, but it's easy to learn.





http://www.anime.web.tr/download/qbasic4...

dried flowers

No comments:

Post a Comment