Skip to product information
Exciting C Language with ChatGPT
Exciting C Language with ChatGPT
Description
Book Introduction
The C language is one of the most popular programming languages ​​and is often the first language chosen by beginners.
However, the C language may feel a bit difficult.
This book is for these beginners.
The content is structured thoroughly from the basics of programming so that even those with no programming knowledge can easily learn it.
No prior programming knowledge is required to study this book.
I tried to explain it to you like a friend, using everyday words rather than technical terms, at your level.
This article describes how to use ChatGPT, which has recently become a hot topic, to study programming.
Also, for beginners, we did not obscure important topics with unnecessary details.

index
CHAPTER 01 First Steps

01 Program and Programmer
02 What is a program?
03 What is a compiler?
04 What is the C language?
05 Features of the C language
06 Things you can do with the C language
07 Our Mentor ChatGPT
08 How to make the most of ChatGPT
Key points

CHAPTER 02 Installing Development Tools and Writing Programs

01 Program Development Stage
02 Visual Studio 2022
03 Installing Visual Studio
04 Project Concept
05 Getting Started with Visual Studio
06 Creating a Project
07 Creating a source file
08 Enter source code
09 Compile
If you see 10 compilation errors
11 Run the program
12 Open a saved project
Key points

CHAPTER 03 Understanding the Basic Program Structure

01 Brief description of the first program
02 main( ) function
03 What is a function?
04 Sentence Explanation
05 Include header file: #include 〈stdio.h〉
06 When there are multiple statements in a function
07 Line break character
08 Spaces and Indentation
09 Comments
10 Annotated Examples
Studying with ChatGPT #1
Studying with ChatGPT #2
Studying with ChatGPT #3
14 Studying with ChatGPT #4
15 Cases When ChatGPT Is Used Incorrectly
Key points

CHAPTER 04 Outputting to the Screen

01 Output to screen
02 Integers and Real Numbers
03 Print integers
04 Types of format specifiers
05 Characters and Strings
06 Escape Sequence
07 Escape Sequence Example
08 binary
09 Various outputs are possible
10 Studying with ChatGPT
Key points

CHAPTER 05 Using Variables

01 What is a variable?
02 Why are variables needed?
03 Declaration of variables
04 What is a data type?
05 Naming variables
06 Initial value of variable
07 To print the value of a variable
08 Variable values ​​can be changed as much as you want!
09 Let's assign another variable value to the variable.

To do 10 operations
11 Variables and Constants
12 symbolic constants
13 Advantages of Symbolic Constants
14 Studying with ChatGPT
Key points

CHAPTER 06 Receiving Input from Users

01 Interacting with users
02 scanf( ) function
03 Format Specifier
04 Input guidance message
Key points

CHAPTER 07 Understanding Data Types

01 What is a data type?
02 Integer
03 Calculating the size of data types
04 Unsigned integer
05 Real number
06 Real number example
07 Character type
08 ASCII code
09 Character Variables
10 Automatic data type conversion
11 Type Conversion Examples
Key points

CHAPTER 08 Calculating Formulas on a Computer

01 Computers and Formulas
02 What is a formula?
03 Arithmetic Operators
04 Remainder operator
05 Automatic type conversion
06 Explicit type conversion
07 Increment/decrement operators
08 Difference between ++x and x++
09 Assignment Operator
10 Compound Operators
11 Operator Precedence
12 Rules for combining operators
Key points

CHAPTER 09 Choosing One

01 Control statement
02 Relational Operators
03 Relational Operator Examples
04 Logical Operators
05 Explanation of Logical Operators
06 Logical Operator Examples
07 if-else statement
08 Compound sentence (block)
09 Nested if statements
Key points

CHAPTER 10 Selecting One from Many (Switch Statement)

01 switch statement
02 Switch statement example
03 What if there is no break statement?
04 default statement
05 Can a switch statement be changed to an if-else statement?
06 Conditional Operator
Key points

CHAPTER 11 Looping with Conditions (while Loop)

01 The need for repetition
02 while statement
03 Basic Example
04 do-while statement
05 Conditional expression form
06 Using Visual Studio's Debugger
Key points

CHAPTER 12 Repeating a Number of Times (for Loop)

01 for Moon
02 for inquiry execution process
03 Use of control variables
04 Comparison of for and while loops
05 Various for-inquiry forms
06 Nested loops
07 break statement
08 continue statement
Key points

CHAPTER 13 What is an array?

01 The need for arrays
02 Array declaration
03 Storing values ​​in an array
04 Arrays and Loops
05 Outputting array elements
06 Storing user input in array elements
07 Range of index
08 Array Initialization
09 Calculating the size of an array
Key points

CHAPTER 14 Let's apply arrays

01 Finding the minimum or maximum value in an array
02 Finding a specific value in an array
03 Two-dimensional array
04 Initializing a two-dimensional array
05 What is a string?
06 Why is a NULL character needed at the end of a string?
07 String Example
08 Initialization of character array
09 String Input/Output
Key points

CHAPTER 15 What is a function?

01 Why is function needed?
02 Function Concept
03 What is a function?
04 Definition of functions
05 Function Call
06 Function call example
07 Passing data through parameters
08 Passing arguments and calling functions
09 Complete function call program
Example 10 Function Writing
11 Function Call Example #1
12 Why we need function prototypes
Example 13 Function Writing #2
14 Function Call Example #2
Program design using 15 functions
Key points

CHAPTER 16 USING LIBRARY FUNCTIONS

01 Library Function
02 Random number generation function
03 Random number seed
04 Handling duplicate lotto numbers
05 Mathematical Functions
06 system() function
Key points

CHAPTER 17 Understanding Local and Global Variables

01 Global and local variables
02 Valid scope of variables
03 Local variable names can be duplicated!
04 Local variables can also be declared in blocks!
05 Lifetime of local variables
06 Lifetime and initial value of global variables
07 Static variables
Key points

CHAPTER 18 What is a Pointer?

01 Pointer Concept
02 Address of variable
03 Address Operator &
04 Declaration and initialization of pointers
05 Indirect reference through pointer
06 Let's connect pointers and variables.
07 Pointer values ​​can be changed!
08 Pointer Usage Precautions #1
09 You can change variables through pointers!
10 Pointer Use Precautions #2
11 Pointer Operations
12 Pointer Arithmetic Examples
13 Why use pointers?
Key points

CHAPTER 19 Understanding Pointers and Functions

01 How to pass arguments to a function
02 Passing by value
03 Transmission by reference
04 How to make a function return multiple values?
05 How to prevent arguments from being changed?
06 The secret of scanf()?
Key points

CHAPTER 20 Understanding Pointers and Arrays

01 The array name is the same as the array address!
02 Is the name of the array a pointer?
03 Relationship between arrays and pointers
04 Can pointers be used like arrays?
05 What happens if you pass an array to a function?
06 Function Pointer
07 Function Pointer Example
08 Uses of function pointers
Key points

CHAPTER 21 Strings and Pointers

01 Pointers and Strings #1
02 Pointers and Strings #2
03 String Arrays vs. String Constants #1
04 String Array vs. String Constant #2
05 String Array vs. String Constant #3
06 How to store multiple strings #1
07 String Array Example
08 How to store multiple strings #2
Key points

CHAPTER 22 USING STRING FUNCTIONS

01 String library functions
02 Character input/output functions
03 String input/output functions
04 String processing functions
05 String copy function
06 String concatenation function
07 String Comparison
08 Find another string within a string
09 String token separation
10 String Tokenization Examples
11 String to Number Conversion
Key points

CHAPTER 23: Bundling Data into Structures

01 What is a structure?
02 Declaration of structure
03 Creating a structure variable
04 Accessing structure members
05 Example: Declaring and using a structure
06 Example: Student Data
07 Structure Initialization
08 Assignment and comparison of structure variables
Key points

CHAPTER 24: APPLYING STRUCTURES

01 Array of structures
02 Pointer to structure
03 Example: Pointers and Structures
04 Structures and Functions
05 How to pass a structure pointer to a function
06 Common Body
07 Union Basic Example
08 Example: Internet IP address
09 Enumeration
10 Enumeration Examples
11 Basic examples of enumerations
12 typedef
13 Combining structure declarations and typedefs
Key points

CHAPTER 25 Inputting and Outputting Files

01 Why is file input/output necessary?
02 File Concept
03 File Type
04 Line break character
05 Stream
06 Overview of File Input/Output
07 fopen() function
08 File Mode
09 Input/Output Library Functions
10-character unit input/output
Example 11: Creating a file and writing text
Example 12: Opening a file and reading text
13 String unit input/output
Example 14: Creating a file and writing a string
Example 15: Opening a file and reading a string
16 Formatted Output
17 fprintf() example 460 18 fscanf() example
Key points

CHAPTER 26 USING BINARY FILES

01 Concept of binary file
02 Reading and writing binary files
03 Example: Reading and Writing Binary Files
04 Random Access
05 fseek()
06 fseek() example
Key points

CHAPTER 27 USING THE PREPROCESSOR

01 What is a preprocessor?
02 #include directive
03 Simple Macro
04 Function Macro
05 Example of a function macro
06 #ifdef, #endif
07 #ifdef, #endif example
08 #if, #endif
Key points

CHAPTER 28 USING DYNAMIC MEMORY

01 Concept of dynamic allocation memory
02 Dynamic memory usage procedure
03 malloc()
04 Use of dynamic memory
05 Dynamic memory return
06 Structure Array Example
07 realloc() function
Key points

CHAPTER 29 ADVANCED FEATURES

01 Multiple source files
02 Header file
03 Multiple source files in Visual Studio
04 External variables
05 Bit Operations
06 Bit Operators
07 Bit Operation Example
08 Arguments of the main function
09 Example of arguments for the main function
Key points

CHAPTER 30: Creating a Quiz Program (Project #1)

01 Quiz System Development
02 Structure of the problem file
03 XOR encryption
04 STEP #1: Decrypting Encrypted Files
05 Array of structures where problems are stored
06 STEP #2: Reading the Decrypted Problem File
07 The hidden power of scanf()!
08 STEP #3: Randomly select from the entire problem
09 STEP #4: Take the Quiz
10 STEP #5: Writing the main() function
11 Challenge Problems

CHAPTER 31: Creating a Game with SDL (Project #2)

01 What is SDL?
02 Game Design
03 Implementation Stage
04 Installing SDL for Visual Studio
05 Step #1: Let's create a window.
06 Game Loop
07 Step #2: Moving the Spaceship
08 Step #3: Create Enemy Spaceships
09 Step #4: Building the Missile
10 Step #5: Collision Detection
Step 6: Create Multiple Enemy Spaceships
12 Challenge Problems

Publisher's Review
- Deleted the scratch content from the first edition and added examples.
- Important concepts are explained in an easy-to-understand manner using abundant illustrations.
- A selection of interesting key examples has been included.
- A slightly larger example is included under the name Lab.
- Explained how to use artificial intelligence CharGPT as a mentor.
- “Creating a quiz program” and “Creating a game using SDL” were presented as projects.
GOODS SPECIFICS
- Date of issue: July 22, 2024
- Page count, weight, size: 560 pages | 190*260*35mm
- ISBN13: 9791192932774
- ISBN10: 1192932773

You may also like

카테고리