Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

An Introduction to C & GUI Programming
An Introduction to C & GUI Programming
An Introduction to C & GUI Programming
Ebook225 pages1 hour

An Introduction to C & GUI Programming

Rating: 0 out of 5 stars

()

Read preview

About this ebook

The popular C programming language is used for a huge range of applications, from the tiny microcontrollers used in toasters and watches up to complete operating systems. The first half of this book is an introduction to C, and covers the basics of writing simple command-line programs. The second half of the book shows how to use the GTK user interface toolkit with C to create feature-rich GUI applications which can be run on the desktop. No previous experience of C or GTK is required - even if you are an absolute beginner, this book will teach you all you need to know.

In this book, you'll learn how to:

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

Updated for GTK3, this book will teach you all you need to know to write simple programs in C and start creating GUIs. Although the examples in this book were developed on a Raspberry Pi running, Raspberry Pi OS, you can follow along on other operating systems, including Linux, macOS, and Windows with the Windows Subsystem for Linux.

LanguageEnglish
Release dateDec 18, 2022
ISBN9781916868298
An Introduction to C & GUI Programming
Author

Simon Long

Simon Long is an engineer working for Raspberry Pi. He is responsible for the Raspberry Pi Desktop and its associated applications. Before joining Raspberry Pi, he worked for Broadcom, where he first met Eben Upton, and before that spent ten years working as a software engineer and user interface designer for a major consultancy firm. In his spare time, he enjoys solving those really hard crosswords without any black squares.

Related to An Introduction to C & GUI Programming

Related ebooks

Programming For You

View More

Related articles

Reviews for An Introduction to C & GUI Programming

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    An Introduction to C & GUI Programming - Simon Long

    {*fbook_preview_excerpt.htmlZnIruHCk# (]]fUeMe[_l|OK^DfU6Icg)222Eċz}y* o7[ 7g^zg޺aڍ W>䥩3~m3Uf X~ۦڶn\0vokzv&x]q0/TckGCU;cj/ͻlm0+Z} jpx&ۛf,Q҅Y1=imzhU0ftkrg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