answersLogoWhite

0

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

18y ago

What else can I help you with?

Related Questions

How can I draw to the desktop behind icons like winamp visualisation does with c sharp dot net?

To draw behind desktop icons in C# .NET, you need to create a transparent window that is layered on top of the desktop. You can achieve this by using the SetLayeredWindowAttributes function from the Windows API to make your window transparent. Additionally, you can set the window style using WS_EX_LAYERED and WS_EX_TOOLWINDOW to ensure it appears correctly. Finally, handle the drawing in the window's Paint event, using GDI+ or similar graphics libraries to create your visualizations.


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.


Who create the window 98?

Microsoft


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

Batch Manager window


In which language window vista is written?

mostly C# and C++


Is isle C a window seat?

Isle C typically refers to an aisle seat on an airplane, not a window seat. A window seat is usually designated as a seat located next to the window, while aisle seats are positioned next to the aisle for easier access. Therefore, isle C would not be a window seat.


Redirecting window page using wpf?

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


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......


Create a spiral in C programming?

create spiral in c programming?


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