Hands-on C Programming

所在平台: Udemy

课程主页: https://www.udemy.com/course/handson-c/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:Hands-on C Programming** **课程概述:** 在当前生成式AI和Copilot盛行的时代,理解代码的生成机制和底层逻辑至关重要。C语言作为C++、Java、Python等众多编程语言的“母语”,其编程构建块(如变量、数组、控制流、字符串、结构体、循环等)构成了现代编程的基础。Java在语法上与C语言更为接近。C语言在操作系统、游戏引擎、设备驱动、Java Native Interface(JNI)以及Python库(如NumPy)的实现中扮演着核心角色。 “Hands-on C Programming”课程全面涵盖了C语言的各个方面,从基础概念到高级应用,旨在帮助学习者掌握C语言的编程技能: **主要学习内容:** * **C语言的重要性与入门:** 了解C语言在当前的地位,学习字符集、常量、变量、关键字和变量类型规则。 * **第一个C程序与构建过程:** 编写第一个C程序,深入理解预处理、编译、链接、加载和执行的完整构建流程。 * **输入输出与指令:** 学习如何接收用户输入,在屏幕上打印输出,以及掌握算术指令、控制指令和类型转换(整型转浮点型)。 * **运算符与决策控制:** 理解运算符的优先级和结合性,并掌握if语句、if-else语句、嵌套if-else以及逻辑运算符的使用。 * **循环结构:** 学习循环的必要性,掌握while循环、for循环、do-while循环,以及嵌套循环、break和continue语句。 * **Switch Case:** 学习switch case语句的应用。 * **函数:** 理解函数的作用,学习函数间的值传递、参数传递顺序、库函数的使用,以及返回类型和从函数返回。 * **指针:** 深入理解指针的概念,学习通过指针实现“Call by reference”,以及在函数调用和返回中使用指针。 * **数据类型与存储类:** 了解编译器与数据类型的关系,认识不同数据类型占用的内存,并学习存储类(auto, register, static, external)。 * **数组:** 学习数组的介绍、初始化、元素传递、内存映射,以及指针与数组的关系,如何将整个数组传递给函数。 * **排序算法:** 学习选择排序、冒泡排序、插入排序和快速排序等常见排序技术。 * **多维数组:** 掌握二维数组及其内存映射,以及指针与二维数组、如何将二维数组传递给函数。 * **字符串:** 学习字符串的介绍、指针与字符串、C语言提供的字符串函数,以及如何处理包含多个字符串的二维字符数组和字符串指针数组。 * **内存分配:** 学习运行时/动态内存分配。 * **结构体:** 了解结构体的必要性,学习结构体的声明、初始化、元素访问、内存映射,以及结构体数组、指向结构体的指针和结构体嵌套。 * **递归:** 理解递归的概念,学习编写递归函数。 * **文件输入/输出:** 掌握文件操作,包括文件的打开、读取、写入和关闭,以及文本文件和二进制文件的处理。 本课程提供全面的C语言知识体系,帮助学习者打下坚实的编程基础,从而更好地理解和驾驭现代软件开发中的复杂技术。

课程评论(0条)

课程详情

In these days of Generative AI, copilot one needs to understand the code that is generated, the logic behind it. It' not a exaggeration that C is mother of all languages like C++, Java, Python and Scripting languagesProgramming constructs are based on C like variables, Arrays, Decision Controls, Strings, Structures, Loops etc.Java is more closer to C than C++. C is used in major portions of OS, game engines, device driver, java native interfaces and libraries. Python libraries. e.g numpy makes use of C array.The "Hands-on C Programming" course covers following topics:Importance of C in today's worldIntroductionGetting StartedCharacter set, Constants, Variables, KeywordsTypes of Variables , Rules about ConstantsFirst C ProgramBuild Process IDEPreprocessing, Compilation, Linking, Loading, ExecutionReceiving Inputs, Printing on displayInstructionsArithmetic InstructionsControl InstructionsType conversions (Integer to Float)Operators, Operators PrioritiesAssociativity of OperationsMaking Decisionif statementif else statementNesting of if-elseworking with if else ifLogical Operators and its useOperators PrioritiesLoopsNeed for loopswhile loopsfor loopdo-while loopNesting of loopsbreak statementcontinue statementSwitch caseUse of switch caseFunctionsNeed for functionsPassing values between functionsOrder of passing argumentsUse of Library functionsReturn Type and Returning from functionPointersWhat is a pointer?Call by reference, using pointers during function calls and returnMore on Data TypesCompiler and data typesKnowing memory usage by various data typesStorage classes (auto, register, static, external)ArraysArrays IntroductionArray Initialization, passing array elements, memory mapPointers and Arrays, Passing entire array to a functionInternals of how pointers work with arraysSorting techniques Selection SortBubble SortInsertion SortQuick SortMultidimensional Arrays, 2D ArraysMemory map of 2D arrayPointer to an Array, pointers and 2D ArrayPassing 2D Array to a functionStringsStrings IntroductionPointers and StringString support in C languageDeveloping our own string functions2D Array of Characters, Multiple StringsArray of Pointers to StringsMemory Allocation (Runtime/Dynamic memory allocation)StructuresNeed for StructuresDeclaring a Structure, Initialization, Accessing Structure elementsMemory map of StructureArray of StructuresPointer to a Structures, UsageNesting of StructuresRecursionRecursion OverviewRecursive functionsFile Input / OutputFile OperationsOpen, Read, Write, ClosingText and Binary Files

课程标签

0人关注该课程

主题相关的课程