An Introduction to C & GUI Programming, 2nd Edition

Paper Book

Freshly updated for GTK3, the 2nd edition of An Introduction to C & GUI Programming will teach you all you need to know to write simple programs in C and start creating GUIs, even if you’re an absolute beginner.

The first half of the book is an introduction to C, and covers the basics of writing simple command-line programs. The second half shows how to use the GTK user interface toolkit with C to create feature-rich GUI applications which can be run on the desktop.

  • 156 pages of essential information:
  • Create simple command-line C programs
  • Control flow with conditions and loops
  • Handle variables, strings, and files
  • Design graphical user interface applications in C
  • Handle user input with buttons and menus
  • Use advanced UI features such as data stores and dialogs

Errata:

On page 79, there is a typo in the command used to build a GTK application; single hyphens have been used where double hyphens should have been used.

The line

`gcc gtktest.c `pkg-config -cflags -libs gtk+3.0` -o gtktest`

should be

`gcc gtktest.c `pkg-config --cflags --libs gtk+-3.0` -o gtktest`

In the preceding paragraph, the pkg-config instruction has the same error; the line

`pkg-config -cflags -libs gtk+3.0`

should be

`pkg-config --cflags --libs gtk+3.0`

Conditions of Use

CC BY-NC-SAThis book is licensed under a Creative Commons License (CC BY-NC-SA). You can download the ebook An Introduction to C & GUI Programming, 2nd Edition for free.

Title
An Introduction to C & GUI Programming, 2nd Edition
Publisher
Author(s)
Published
2022-12-18
Edition
2
Format
eBook (pdf, epub, mobi)
Pages
156
Language
English
ISBN-10
1912047454
ISBN-13
9781912047451
License
CC BY-NC-SA
Book Homepage
Free eBook, Errata, Code, Solutions, etc.
Related Books