DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   IDE in C++ - How to? (http://www.daniweb.com/forums/thread182030.html)

deadmancoder Mar 17th, 2009 1:57 pm
IDE in C++ - How to?
 
Hello mates,
i am pretty new to this forum.. i am a midrange c++ programmer.
if i have to create an IDE in c++ that involves basic drawing tools, what should i learn and where should i start??
is it a big task?
can anyone explain me or direct me to a concept that explains this?
thank you :)

Ancient Dragon Mar 17th, 2009 2:04 pm
Re: IDE in C++ - How to?
 
>>is it a big task?
Yes -- Microsoft has been developing theirs for some 20 years now.

>>can anyone explain me or direct me to a concept that explains this?
Just buy the educational version (I assume you are a student, so you are eligible for huge discounts), install, and learn to use VC++ 2008. This will give you all the features you are looking for -- plus a lot you don't need for your project.

I don't know of a free IDE that contains drawing tools.

deadmancoder Mar 17th, 2009 2:15 pm
Re: IDE in C++ - How to?
 
hi ancient dragon.. thanks:)
so it is a big task after all..:-O
but my stupid professors wont accept it :D
you know, they want us to complete a project within a week..
here's what they say, ;)
1. You have to develop an IDE (Very simple) with drawing tools to create a pattern.
2. IDE should allow you to specify the dimension of brick. (i.e in the form of rectangular) For example: 400 height * 400 width
3. IDE should allow you to use all possible tools to draw shapes (Bezier curves, Line, and arcs) on rectangular base to get a desired pattern piece.
4. Finally, the created piece should be stored with accurate dimension in a file and later if we want then it must be reconstructed and displayed in the IDE.

is there a way that i could atleast get a grip of the basics..
like how to create an ide in c++.. what are the things that i need and what part of functions should i know??
is there anything that you recommend me to learn (for the basics in creating ide)?? just the basic part??
thanks for the reply :)

VernonDozier Mar 17th, 2009 2:26 pm
Re: IDE in C++ - How to?
 
Quote:

Originally Posted by deadmancoder (Post 826999)
hi ancient dragon.. thanks:)
so it is a big task after all..:-O
but my stupid professors wont accept it :D
you know, they want us to complete a project within a week..
here's what they say, ;)
1. You have to develop an IDE (Very simple) with drawing tools to create a pattern.
2. IDE should allow you to specify the dimension of brick. (i.e in the form of rectangular) For example: 400 height * 400 width
3. IDE should allow you to use all possible tools to draw shapes (Bezier curves, Line, and arcs) on rectangular base to get a desired pattern piece.
4. Finally, the created piece should be stored with accurate dimension in a file and later if we want then it must be reconstructed and displayed in the IDE.

is there a way that i could atleast get a grip of the basics..
like how to create an ide in c++.. what are the things that i need and what part of functions should i know??
is there anything that you recommend me to learn (for the basics in creating ide)?? just the basic part??
thanks for the reply :)


How is that an IDE? Sounds more like a basic Paint/CAD program. IDEs have text editors, debuggers, and stuff like that. If the question is how to draw/paint shapes in a GUI project, that's a different question. Is that the question?

nucleon Mar 17th, 2009 2:40 pm
Re: IDE in C++ - How to?
 
In this case, perhaps IDE means Interactive Drawing Environment!
IDE usually means "Integrated Development Environment," such as Visual-C++.

deadmancoder Mar 17th, 2009 2:40 pm
Re: IDE in C++ - How to?
 
basically, i know nothing abt c++ graphics..
they issued the papers and asked us to call them on after hours, if we have a doubt.. but they wont be available in the after hours.
if i assume that you can understand the problem statement..
in that case, can you direct me to a place/book where i can learn how to arrive at the solution.
thanks

deadmancoder Mar 17th, 2009 2:45 pm
Re: IDE in C++ - How to?
 
hey, if i understand correctly from you guys,

# i have to write a program that draws different shapes based on user inputs.
# store it in a file
# restore and display it when the file was specified..

is that it??

seanhunt Mar 17th, 2009 2:46 pm
Re: IDE in C++ - How to?
 
Quote:

Originally Posted by deadmancoder (Post 826987)
Hello mates,
i am pretty new to this forum.. i am a midrange c++ programmer.
if i have to create an IDE in c++ that involves basic drawing tools, what should i learn and where should i start??
is it a big task?
can anyone explain me or direct me to a concept that explains this?
thank you :)

If you are on Windows, drawing is handled in the GDI+ library (for most 2D tasks); it is both simple and fairly powerful for drawing in 2D in a Window, and it supports printing also. If you are trying to be platform independent, a cross-platform drawing library such as OpenGL is supported on most platforms, though it is a bit more complex (but there are libraries that sit on top of OpenGL such as GLUT that make the job easier).
The difficulty is more a matter of the feature set you are required to implement. Basic drawing tools ca be done on these libraries relatively simply.

Thanx...
Sean

Ancient Dragon Mar 17th, 2009 2:55 pm
Re: IDE in C++ - How to?
 
What operating system and compiler are you using ? *nix, MS-Windows, and MAC have very different drawing api functions.

If you are using Microsoft compilers on MS-Windows then you could probably write such a program using MFC, which is a c++ class that is like a wrapper for win32 api functions.

deadmancoder Mar 17th, 2009 3:05 pm
Re: IDE in C++ - How to?
 
yes, i use ms-windows (vista)
can you pls tell me what should i learn for this?
like mfc.. what other things are there?
and one more thing.. i know nothing about vc++. so for now, i need to go with c++
thanks


All times are GMT -4. The time now is 6:45 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC