answersLogoWhite

0


Best Answer

It is not possible to create a window with C as the C language does not specify any standard libraries for doing graphical programming. It is possible to create a window with C and one of the many graphics libraries that have been written since C was created. For example, using the Gtk+ library: #include #include int main (int argc, char *argv[]) { GtkWidget *window; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_widget_show_all (window); gtk_main (); }

User Avatar

Wiki User

17y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

OS-dependent. For Windows: with function CreateWindow.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create window with c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Who create the window 98?

Microsoft


From what window is a Field Operator able to create a batch?

Batch Manager window


How do you bring up the chat window in anarchy online?

CTRL+C should bring up all chat options, allowing you to open, close, create, delete windows or chat tabs. the chat window is open by default.


Redirecting window page using wpf?

create an object of that window and call "show()" Example: window wd = new window(); wd.show();


In which language window vista is written?

mostly C# and C++


Create a spiral in C programming?

create spiral in c programming?


How do you hide the drive c?

DRIVE C IS KNOEN AS WINDOW DRIVE,SO ITS DIFFICULT TO HIDE DRIVE C.... but if you wnt to do so ,then install your window inanother drive......


What window do you go into on poptropica?

33-C.


Where is the small c clip that holds the window crank on a Chevy aveo?

behind the window crank


Window A/C Unit Installation?

form_title=Window A/C Unit Installation form_header=Keep cool during the summer with an A/C unit! Where will the air conditioner be installed?*= () In window opening () Wall mounted Is there an electrical power source available near the air conditioner?*= () Yes () No


How do you create .exe file in c plus plus?

You can create an exe-file from your C++ source, if you have a compiler.


What will happen if you run a window air conditioner inside?

A common misconception is that A/C units generate cold. However, Air conditioning works as a heat exchange system, so it removes heat from indoors and pushes it outside. By running a window A/C unit inside you are just moving the heat from one side of the a/c unit to the other, and since it is not a 100% efficient machine, you will in fact be generating heat and create an overall rise in temperature.