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

Write a code to determine the total number of stops an elevator would take to serve N number of people.

1011


What is a list in c?

811


How do we open a binary file in Read/Write mode in C?

987


What is the purpose of 'register' keyword?

909


How can I read a binary data file properly?

861


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1447


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1683


What is the difference between new and malloc functions?

856


What is context in c?

752


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2880


given post order,in order construct the corresponding binary tree

2556


In c language can we compile a program without main() function?

868


Why structure is used in c?

841


What do you mean by dynamic memory allocation in c?

871


Can you tell me how to check whether a linked list is circular?

1099