943,733 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 631
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Mar 17th, 2009
0

IDE in C++ - How to?

Expand Post »
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
deadmancoder is offline Offline
14 posts
since Mar 2009
Mar 17th, 2009
0

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.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is online now Online
21,950 posts
since Aug 2005
Mar 17th, 2009
0

Re: IDE in C++ - How to?

hi ancient dragon.. thanks
so it is a big task after all..
but my stupid professors wont accept it
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
deadmancoder is offline Offline
14 posts
since Mar 2009
Mar 17th, 2009
0

Re: IDE in C++ - How to?

hi ancient dragon.. thanks
so it is a big task after all..
but my stupid professors wont accept it
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?
Featured Poster
Reputation Points: 2614
Solved Threads: 687
Posting Expert
VernonDozier is offline Offline
5,372 posts
since Jan 2008
Mar 17th, 2009
0

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++.
Reputation Points: 163
Solved Threads: 91
Posting Pro in Training
nucleon is offline Offline
476 posts
since Oct 2008
Mar 17th, 2009
0

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
deadmancoder is offline Offline
14 posts
since Mar 2009
Mar 17th, 2009
0

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??
Reputation Points: 10
Solved Threads: 0
Newbie Poster
deadmancoder is offline Offline
14 posts
since Mar 2009
Mar 17th, 2009
0

Re: 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
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
Reputation Points: 13
Solved Threads: 6
Light Poster
seanhunt is offline Offline
40 posts
since Oct 2008
Mar 17th, 2009
0

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.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is online now Online
21,950 posts
since Aug 2005
Mar 17th, 2009
0

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
Last edited by deadmancoder; Mar 17th, 2009 at 3:09 pm.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
deadmancoder is offline Offline
14 posts
since Mar 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Resizing created screen shot
Next Thread in C++ Forum Timeline: MFC help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC