An Introduction to C & GUI Programming

by Simon Long

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

Even if you are an absolute beginner, this book will teach you all you need to know to write simple programs in C and start creating GUIs.

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.

- 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

This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download An Introduction to C & GUI Programming ebook for free in PDF format (9.3 MB).

Table of Contents

Chapter 1
Getting started
10
Chapter 2
Variables and arithmetic
14
Chapter 3
Conditions and comparisons
19
Chapter 4
More advanced flow control
24
Chapter 5
Pointers
30
Chapter 6
Functions
35
Chapter 7
Arrays and strings
41
Chapter 8
The string library
46
Chapter 9
User Input
52
Chapter 10
File input and output
58
Chapter 11
More about types and variables
63
Chapter 12
Header files and the preprocessor
68
Chapter 13
Introduction to GTK
74
Chapter 14
Your first GTK program
77
Chapter 15
Buttons
81
Chapter 16
Labels and layout
85
Chapter 17
More advanced layout
91
Chapter 18
GUI user input
97
Chapter 19
Combo boxes and list stores
103
Chapter 20
Tree views
109
Chapter 21
Menus
115
Chapter 22
Dialogs
120
Chapter 23
Built-in dialogs
123
Chapter 24
Customising widgets
131
Chapter 25
Glade
135
Chapter 26
C quick reference
144

Book Details

Subject
Computer Science
Publisher
Raspberry Pi Press
Published
2019
Pages
156
Edition
1
Language
English
ISBN13 Digital
9781912047659
ISBN10 Digital
1912047659
PDF Size
9.3 MB
License
CC BY-NC-SA

Book Hashtags

Related Books