|
-
January 7th, 2012, 10:55 AM
#1
Visual C++ and Dev C++
Hi!!
Im new in windows programming. Someone please tell me whats the main difference between programming in visual c++ to that in dev c++. I compiled a simple windows program that pop ups a dialog box, in both dev c++ and visual c++. The output of visual c++ was perfect. When I run the program in dev c++, the dialog box came with a console window. Is this the difference? Please help.. Thanks in advance 
ashik thomas
-
January 8th, 2012, 02:51 AM
#2
Re: Visual C++ and Dev C++
 Originally Posted by ashikthomas
Hi!!
Im new in windows programming. Someone please tell me whats the main difference between programming in visual c++ to that in dev c++. I compiled a simple windows program that pop ups a dialog box, in both dev c++ and visual c++. The output of visual c++ was perfect. When I run the program in dev c++, the dialog box came with a console window. Is this the difference? Please help.. Thanks in advance 
ashik thomas
Both are so called IDEs (Integrated Development Environments). Visual C++ is targeted towards Windows developments and Dev C++ supports Windows developments. In principle you should be able to use any of these and arrive at a Windows application with exactly the same look & feel (other parameters such as speed and size may vary somewhat because the IDEs use different compilers).
The difference you report most likely is just a question of usage. With the right settings you should be able to arrive at the same result on both IDEs.
There is one thing though. Dev C++ doesn't seem to be actively developed anymore. So in my opinion it's better to use Visual C++ (or find an alternative other than Dev C++).
-
January 8th, 2012, 04:39 PM
#3
Re: Visual C++ and Dev C++
 Originally Posted by ashikthomas
Hi!!
Im new in windows programming. Someone please tell me whats the main difference between programming in visual c++ to that in dev c++. I compiled a simple windows program that pop ups a dialog box, in both dev c++ and visual c++. The output of visual c++ was perfect. When I run the program in dev c++, the dialog box came with a console window. Is this the difference?
There is no difference in programming, I believe. As the issue's root cause most probably and very likely is project setup. If you setup your project to build console exe, the console is invariably created. Please inspect your DevC++ project settings.
Best regards,
Igor
-
January 9th, 2012, 03:05 PM
#4
solved!!
thanks a lot 
Where i went wrong was actually i copied the 12 line code to a new FILE->NEW->Source and compiled it instead of starting a new Windows Application Project. That was why I got the console window displayed along with the output.
thanks
ashikthomas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|