simple program of graphics and thier outpu display with
a want what is out put of graohics in c language

Answer Posted / manoj kumar

/* Simple program to illustrate use of a dialog box */

main()
{
/* Define default values: */

int n = 0;
float x = 0.0;

/* Define contents of dialog window */

create_int_dialog_entry("n", &n);
create_float_dialog_entry("x", &x);

/* Create window with name "Setup" and top-left corner
at (0,0) */

set_up_dialog("Setup", 0, 0);

/* Display the window and read the results */

read_dialog_window();

/* Print out the new values */

printf("n = %d, x = %f\n", n, x);
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

885


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3580


What is the use of extern in c?

850


pierrot's divisor program using c or c++ code

1966


What language is windows 1.0 written?

784


Write a program to reverse a string.

847


What is int main () in c?

868


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2419


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

886


What happens if header file is included twice?

899


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

4224


What is the purpose of sprintf?

821


What type of function is main ()?

812


What are the advantages of using new operator as compared to the function malloc ()?

1070


What is the use of gets and puts?

778