Computer ScienceScience & MathematicsEconomics & FinanceBusiness & ManagementPolitics & GovernmentHistoryPhilosophy

An Introduction to C & GUI Programming

by Simon Long

An Introduction to C & GUI Programming

Subscribe to new books via telegram channel

DescriptionTable of ContentsDetailsReport 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
Chapter 2
Variables and arithmetic
Chapter 3
Conditions and comparisons
Chapter 4
More advanced flow control
Chapter 5
Chapter 6
Chapter 7
Arrays and strings
Chapter 8
The string library
Chapter 9
User Input
Chapter 10
File input and output
Chapter 11
More about types and variables
Chapter 12
Header files and the preprocessor
Chapter 13
Introduction to GTK
Chapter 14
Your first GTK program
Chapter 15
Chapter 16
Labels and layout
Chapter 17
More advanced layout
Chapter 18
GUI user input
Chapter 19
Combo boxes and list stores
Chapter 20
Tree views
Chapter 21
Chapter 22
Chapter 23
Built-in dialogs
Chapter 24
Customising widgets
Chapter 25
Chapter 26
C quick reference

Book Details

An Introduction to C & GUI Programming
Computer Science
Raspberry Pi Press
ISBN13 Digital
ISBN10 Digital
PDF Size
9.3 MB

Related Books

Programming Persistent Memory
Beginning and experienced programmers will use this comprehensive guide to persistent memory programming. You will understand how persistent memory brings together several new software/hardware requirements, and offers great promise for better performance and faster application startup times - a huge leap forward in byte-addressable capacity compar...
Android on x86
Android on x86: an Introduction to Optimizing for IntelĀ® Architecture serves two main purposes. First, it makes the case for adapting your applications onto Intel's x86 architecture, including discussions of the business potential, the changing landscape of the Android marketplace, and the unique challenges and opportunities that arise from x...
Geometry with an Introduction to Cosmic Topology
Geometry with an Introduction to Cosmic Topology approaches geometry through the lens of questions that have ignited the imagination of stargazers since antiquity. What is the shape of the universe? Does the universe have an edge? Is it infinitely big? This text develops non-Euclidean geometry and geometry on surfaces at a level appropriate for ...
Moving Pictures
A free and open-source introduction to the art and science of cinema. From the earliest iterations to the latest innovations, this introductory text explores the tools and techniques of mise-en-scene, narrative form, cinematography, editing, sound and acting, how each has contributed to the evolution of cinematic language, and how that evolution im...
An Introduction to Matlab and Mathcad
This free book, or really a "coursebook" for a college freshman-level class, has been updated for Spring 2014 and provides an introduction to programming and problem solving using both Matlab and Mathcad. We provide a balanced selection of introductory exercises and real-world problems (i.e. no "contrived" problems). We include ...
Introduction to Neuroscience
Introduction to Neuroscience is designed for undergraduate students enrolled in introductory neuroscience courses. This book specifically targets students enrolled in Introduction to Neuroscience 1 and Introduction to Neuroscience 2 at Michigan State University and primarily contains topics covered in those courses. This first edition will guide...