answersLogoWhite

0

C does not define a setpixel() function; it is a non-standard function. C is intended for general-purpose programming but graphics handling is system-specific. There are third-party libraries available to cater for graphics handling (many of which are generic) but without knowing which library you are using nor on which platform, it would be impossible to demonstrate a setpixel() function in any meaningful way. Best advice is to consult the documentation that came with your graphics library.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

Example of Password program code in assembly language?

How to write the program un Assembly language to set a password for personal computers?


How do you call an external function or program that is written in different programming language?

It doesn't matter what language the external program or function was written in since all executables must be converted to machine code. To execute an external function, that function must reside in a library to which your program is linked and you must know the prototype of the function you intend to call. This is usually found in the library header file which can simply be included in your program. You can then call the external function just as you would an internal function. To execute a specific function in another program, however, you must use the command line interface for that program.


How can a person write a program without using printf function in C language?

Here is an example:#include int main (void){puts ("Hello, world");return 0;}


What is language migrator?

language migrator makes a program compatible to all the operating systems. For example a program written in windows can run in linux using language migrator.


Can you use more than one function in c language?

Yes And even in the same program!


How to type a program for a function?

In C++ functions are lines of code that make up the workings of a program. A function can voluntarily change input parameters that permit informers to pass coding dialogued arguments into the function. A function can voluntarily return a value as output. If you know the C++ coding language, here is and example of a function: //FUNCTION EXAMPLE using namespace std; int addition (int a, int b) { int r; r=a+b; return r; } int main () { int z; z = addition (5,3); cout << "The result is " << z; }


What is the meaning of statement missing in function main in c language?

Every C program must have a function, named main(), which is where the program starts execution. If there is no function main(), the computer does not know where to start running the program. The function main() must also do something; if it is just empty, some smarter compilers will note that there is nothing for the program to do, and will give this sort of error message to indicate that you forgot to tell the program what to do.


What language used orthogonality as a primary design criterion?

LIPS a functional language is one in which computations are made primarily by applying function to given program


What is the difference between compiler and program?

A compiler is actually a program. However the function of a compiler it to take a programmers high level language code and render this as binary machine language instructions that a specific processor can execute.


What has the author Ellie Quigley written?

Ellie Quigley has written: 'PHP and MySQL by example' -- subject(s): Design, MySQL (Electronic resource), PHP (Computer program language), Web databases, Web site development 'Complete PERL Training Course, The' 'Unix Shells by Example (By Example)' 'PERL by example' -- subject(s): Perl (langage de programmation), Perl (Computer program language), Langage programmation, PERL 'JavaScript by example' -- subject(s): JavaScript (Computer program language) 'JavaScript by Example'


A c program to call a function without using function name?

It can be done via its address, for example: void function (void (*callback)(void)) { (*callback)(); }


Write a program to calculate the area of a cylinder using a function?

give an example of calculation of mathematics


What is language translator program?

This is usually the first stage in compilation. The source code is read and checked for syntax and usability then passed to the compile stage to be converted to object (or machine) code that the computer can understand.Translator translates program written in one programming language into (equivalent) program written in another language. For example, Java to C# translator would translate Java program into (equivalent) C# program. This is similar to as if you would translate some text in English into Spanish or vice versa.If target language is lower level language like assembly language, machine language, or pseudocode, translator is called compiler. For example, some C++ compiler could compile (translate) program in C++ into machine code.


What is the collective noun of skit?

There is no standard collective noun for a group of skits.A collective noun is an informal part of language. Any noun that suits the context can function as a collective noun; for example, a program of skits, a series of skits, etc.


How do you write a program using function that counts the number of vowels in a string in java language?

Use text-editor notepad++


What is an example of an undecidable language?

An example of an undecidable language is the Halting Problem, which involves determining whether a given program will eventually halt or run forever. This problem cannot be solved by any algorithm.


What is a compiler and an interpreter?

a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time


What are the phases and passes of a general language processor?

Language processor consist of two phases 1.Analysis phase 2.Synthesis phase Language processor pass is the processing of every statement in a source program, or its equivalent representation to preform language processing function pass 1-It analyses the source program and notes relevant information. pass 2- It synthesizes the target program


What are the procedure?

Procedures are nothing but a function used in TASM its used to reduce the length of program, TASM is a programming language which deals with microprocessor.


How do you call an external function or program that is written in a different programming language?

This depends on too many variables you didn't specify for us to answer.