Can anyone tell me which graphics library will be suitable for using in C++. I am new in C++.
if there is any suitable library, please give me a tutorial link on that.
Thanks in advance.

Recommended Answers

All 3 Replies

c++ in vis studio has three type of programs.
1. console application
2. Windows forms application
3. Win32 projects
You can use graphics in 2 and 3
the folllowing code draws a rectangle on windows form
System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red);
System.Drawing.Graphics formGraphics;
formGraphics = this.CreateGraphics();
formGraphics.FillEllipse(myBrush, new Rectangle(0, 0, 200, 300));
myBrush.Dispose();
formGraphics.Dispose();

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.