Simple graphics library for C?

  • Thread starter Jaynte
  • Start date
  • Tags
    Graphics
In summary, a simple graphics library for C is a software library that provides tools and functions for creating and manipulating graphics in the C programming language. It offers benefits such as easier graphic creation, less code needed, and cross-platform compatibility. It is suitable for beginners and can be found online through various sources, but may have limitations for more complex projects. It is recommended to research and compare different libraries to find the best fit for your needs.
  • #1
Jaynte
79
0
Hi

Anyone knows a nice and simple graphics library for C (Windows 7) that is not openGL nor GT.

All I want to do is plot pixels on the screen. In a window or directly in the console.
 
Technology news on Phys.org
  • #2
You could use GDI.

http://msdn.microsoft.com/en-us/library/dd144871%28v=vs.85%29.aspx" to get the device context for the window that you want to draw to

then

http://msdn.microsoft.com/en-us/library/dd145078%28v=vs.85%29.aspx" to set a pixel
 
Last edited by a moderator:
  • #3
Thanx alot!
 

1. What is a simple graphics library for C?

A simple graphics library for C is a software library that provides a set of tools and functions for creating and manipulating graphics in the C programming language. It allows developers to easily create and display graphics on a computer screen or other output device.

2. What are the benefits of using a simple graphics library for C?

Using a simple graphics library for C can provide several benefits, such as making it easier to create and display graphics, reducing the amount of code needed, and allowing for cross-platform compatibility. It can also save time and effort for developers by providing pre-made functions for common graphic tasks.

3. Is a simple graphics library for C suitable for beginners?

Yes, a simple graphics library for C can be a great tool for beginners who are learning to code and want to create basic graphics. It provides a user-friendly interface and easy-to-use functions that can help beginners get started with creating simple graphics.

4. Are there any limitations to using a simple graphics library for C?

While a simple graphics library for C can be useful for creating basic graphics, it may have limitations when it comes to more complex graphics or animations. Additionally, it may not have as many advanced features as other graphics libraries, so it may not be suitable for more advanced projects.

5. Where can I find a simple graphics library for C?

There are many simple graphics libraries for C available online, such as SDL, Allegro, and OpenGL. They can be easily downloaded and installed from their respective websites or through package managers. It is recommended to do some research and compare different libraries to find the one that best fits your needs.

Similar threads

  • Programming and Computer Science
Replies
15
Views
5K
  • Programming and Computer Science
Replies
24
Views
1K
  • Programming and Computer Science
Replies
9
Views
1K
  • Programming and Computer Science
Replies
2
Views
379
  • Programming and Computer Science
Replies
15
Views
2K
  • Programming and Computer Science
Replies
13
Views
6K
  • Programming and Computer Science
Replies
4
Views
3K
  • Programming and Computer Science
Replies
10
Views
3K
  • Programming and Computer Science
Replies
3
Views
3K
  • Programming and Computer Science
Replies
2
Views
1K
Back
Top