answersLogoWhite

0

Can you plot a graph using C graphics?

Updated: 10/4/2022
User Avatar

Mamidannapravallika

Lvl 1
15y ago

Best Answer

C has no native support for graphics. You would either have to use your local APIs or use an external library (ex: OpenGL).

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you plot a graph using C graphics?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What header file do you need to produce a plot in c plus plus?

There is no such header in the standard library because graphics are a non-generic, platform-specific feature. For graphics output, including a plot, you need a graphics library and API suitable for your platform and hardware.


How do you implement a program to display the Indian flag with colors using c graphics?

ANSI/ISO C does not and never has done graphics.


How do you take graphics printout written in C?

To take graphics printouts in C, you can use libraries like OpenGL or SDL to create graphics and render it on the screen. After rendering your graphics, you can take a screenshot of the screen using platform-specific functions or libraries. Another option is to save the graphics to an image file format like PNG or BMP using libraries that support image output in C.


How do you run graphics program in C?

pro c language to implement linear search using pointers


How do you draw Logic Gates in C language?

The C language is not a graphics language and you cannot draw logic gates using it. C is a programming language, and it is possible to use a graphics library to do so, but you did not specify which library you were using. Please restate the question.


How do you use bgi graphics of c plus plus on tft screen?

TFT or CRT doesn't make difference in using BGI graphics.


Why graphics mode use in c?

C has nothing to do with graphics.


How do you print a vertical graph on c plus plus?

C++ is a generic language and, as such, has no built-in graphics capability. Graphics are platform-dependant, thus if you want to use graphics in C++ you must use a graphics library and API that caters for your hardware and platform. The API needn't be written in C++, may be generic and may be as abstract as suits your needs. For example, for Windows graphics, you'd either use generic DirectX or OpenGL API calls. But not knowing which platforms you are targeting, it's impossible to provide you with the specific code your require. Consult your IDE documentation to see which, if any, graphics libraries are provided.


Code for binary trees written in C using graphics?

cg code for binary tree


Explain use of graphics in C language?

C has nothing to do with graphics.


Program a line roating about xy plane using C plus plus programming?

C++ has no built-in graphics methods, including line drawing. Graphics is platform-specific and, as such, requires a graphics API and library specific to your platform and hardware. As a result, there is no generic, one-size-fits-all C++ code for drawing graphics of any kind.


List of graphics commands in C?

1. There are no commands in C.2. Graphics can be used by system-dependent libraries so you have to specify the platform you are using (MS DOS, MS Windows, X Window, etc).