An Introduction to C & GUI Programming - Original PDF

دانلود کتاب An Introduction to C & GUI Programming - Original PDF

Author: Simon Long

0 (0)

توضیحات کتاب :

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

سرچ در وردکت | سرچ در گودریدز | سرچ در اب بوکز | سرچ در آمازون | سرچ در گوگل بوک

501 بازدید 0 خرید

ضمانت بازگشت

ضمانت بازگشت

فایل های تست شده

فایل های تست شده

پرداخت آنلاین

پرداخت آنلاین

تضمین کیفیت

تضمین کیفیت

دانلود فوری

دانلود فوری

C is a very versatile and widely used programming language. It has been used to write pretty much everything, from low-level routines to control the hardware in embedded microcontrollers to complete operating systems like Linux with graphical user interfaces. In spite of this huge flexibility, it is also relatively simple – the language only has about 20 or so keywords, but there are huge libraries of additional functions that you can call on when you need them. In the first part of this book, we are going to concentrate on learning about the keywords, with a few of the more commonly used library functions; the second part of the book shows how to use the GTK library to make it easy to write graphical interfaces in C. Many of the languages that you may have seen, such as Python, are what are called interpreted languages. This means that the code you write is run directly: each line of code is read in and interpreted as you run it. C is different: it’s a compiled language. This means that the code you write, known as the source code, is never run directly. The source code is passed through a program called a compiler, which converts it into a machine-readable version called an executable or a binary; you then run the resulting executable. This may seem complex, but it has a few big advantages. First, it means that you don’t need to have a copy of C itself on every computer you want to run your program on; once compiled, the executable is standalone and self-contained. Second, the compilation process will find a lot of errors before you even run the program (but it won’t usually find all of them). Most importantly, the compilation process means that the time-consuming translation of human- readable code into machine-readable instructions has already happened, which means that compiled code generally runs many times faster than interpreted code would.

چکیده فارسی

 

C یک زبان برنامه نویسی بسیار متنوع و پرکاربرد است. تقریباً برای نوشتن همه چیز استفاده شده است، از روتین های سطح پایین گرفته تا کنترل سخت افزار در میکروکنترلرهای تعبیه شده تا سیستم عامل های کامل مانند لینوکس با رابط های کاربری گرافیکی. علیرغم این انعطاف پذیری زیاد، این زبان نیز نسبتاً ساده است - این زبان فقط حدود 20 کلمه کلیدی دارد، اما کتابخانه های عظیمی از توابع اضافی وجود دارد که می توانید در صورت نیاز با آنها تماس بگیرید. در بخش اول این کتاب، ما می‌خواهیم بر یادگیری در مورد کلمات کلیدی، با تعدادی از توابع کتابخانه‌ای که بیشتر استفاده می‌شوند، تمرکز کنیم. بخش دوم کتاب نحوه استفاده از کتابخانه GTK برای آسان کردن نوشتن رابط های گرافیکی در C را نشان می دهد. این بدان معنی است که کدی که می نویسید مستقیماً اجرا می شود: هر خط کد در هنگام اجرا خوانده می شود و تفسیر می شود. C متفاوت است: یک زبان کامپایل شده است. این بدان معنی است که کدی که می نویسید، که به عنوان کد منبع شناخته می شود، هرگز مستقیما اجرا نمی شود. کد منبع از طریق برنامه ای به نام کامپایلر ارسال می شود که آن را به یک نسخه قابل خواندن ماشین به نام اجرایی یا باینری تبدیل می کند. سپس فایل اجرایی حاصل را اجرا می کنید. این ممکن است پیچیده به نظر برسد، اما چند مزیت بزرگ دارد. اول، به این معنی است که شما نیازی به یک کپی از خود C در هر رایانه ای که می خواهید برنامه خود را روی آن اجرا کنید ندارید. پس از کامپایل، فایل اجرایی مستقل و مستقل است. دوم، فرآیند کامپایل خطاهای زیادی را قبل از اجرای برنامه پیدا می کند (اما معمولاً همه آنها را پیدا نمی کند). مهمتر از همه، فرآیند کامپایل به این معنی است که ترجمه زمان‌بر کدهای قابل خواندن توسط انسان به دستورالعمل‌های قابل خواندن توسط ماشین قبلاً اتفاق افتاده است، به این معنی که کد کامپایل شده معمولاً چندین برابر سریع‌تر از کد تفسیر شده اجرا می‌شود.

 

ادامه ...

GET

FASTER Download from an IPFS distributed storage, choose any gateway:

download from the Tor mirror
(make sure you're accessing via Tor)

An Introduction to C & GUI Programming

cover

Author(s): Simon Long

Publisher: Raspberry Pi Trading, Year: 2019

ISBN: 1912047659, 9781912047659

Search in WorldCat | Search in Goodreads | Search in AbeBooks | Search in Amazon.com

Description:
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 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

ادامه ...

AN INTRODUCTION TO C AND GUI PROGRAMMING7 Contents Chapter 1: Getting started 010 Learn how to use C to program the Raspberry Pi Chapter 2: Variables and arithmetic 014 Create variables and do maths Chapter 3: Conditions and comparisons 019 Control the flow of your C programs Chapter 4: More advanced flow control 024 For loops and case statements Chapter 5: Pointers 030 Variables have addresses too Chapter 6: Functions 035 Split your code into bite-sized chunks Chapter 7: Arrays and strings 041 Handle lists of values, and letters Chapter 8: The string l;ibrary 046 Simplify common operations on strings Chapter 9: User Input 052 Reading and interpreting user input Chapter 10: File input and output 058 Learn to read from and write to files 8AN INTROD U C TION TOC AND G U I P R O G R A M M I N G Chapter 11: More about types and variables 063 Type definitions, enumerations, and more Chapter 12: Header files and the preprocessor 068 Splitting code up into multiple files Chapter 13: Introduction to GTK 074 Get ready to start creating GUIs Chapter 14: Your first GTK program 077 Start coding in C with the GTK library Chapter 15: Buttons 081 Make your window more interesting by adding a button Chapter 16: Labels and layout 085 Use a box widget to add a text label to your window Chapter 17: More advanced layout 091 Expand your window, and position and resize buttons automatically Chapter 18: GUI user input 097 Enable users to enter text and select options Chapter 19: Combo boxes and list stores 103 Create combo boxes for user input and associate list stores with them Chapter 20: Tree views 109 Use the GtkTreeView widget to display information Chapter 21: Menus 115 Create menu bars with drop-down menus Chapter 22: Dialogs 120 Give users information and ask them questions AN INTRODUCTION TO C AND GUI PROGRAMMING9 Chapter 23: Built-in dialogs 123 GTK contains some ready-made dialogs Chapter 24: Customising widgets 131 Change the properties of widgets Chapter 25: Glade 135 Create window layouts for applications Chapter 26: C quick reference 144 Cheat sheets and code examples

ادامه ...
برای ارسال نظر لطفا وارد شوید یا ثبت نام کنید
ادامه ...
پشتیبانی محصول

۱- در صورت داشتن هرگونه مشکلی در پرداخت، لطفا با پشتیبانی تلگرام در ارتباط باشید.

۲- برای خرید محصولات لطفا به شماره محصول و عنوان دقت کنید.

۳- شما می توانید فایلها را روی نرم افزارهای مختلف اجرا کنید(هیچگونه کد یا قفلی روی فایلها وجود ندارد).

۴- بعد از خرید، محصول مورد نظر از صفحه محصول قابل دانلود خواهد بود همچنین به ایمیل شما ارسال می شود.

۵- در صورت وجود هر مشکلی در فرایند خرید با تماس بگیرید.