tailieunhanh - Lecture Visual programming: Chapter 9 - Muhammad Bilal Zafar

This chapter presents the following content: Specification of tokens, strings and languages, operations on languages, regular expressions, regular definitions, extensions of regular expressions. | LESSON 09 Overview of Previous Lesson(s) Over View Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft Corporation, which is used to develop console and GUI based applications. .NET Framework is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperability across several programming languages 3 Over View Programs written for the .NET Framework execute in a software environment, known as the Common Language Runtime, an application virtual machine that provides services such as security, memory management, and exception handling. 4 Over View Structures A structure is a collection of simple variables. The data items in a structure are called the members of the structure. 5 Over View 6 A function groups a number of program statements into a unit and gives it a name. This unit can then be invoked from other parts of the program. The function’s code is stored in only one place in memory, even though the function is executed many times in the course of the program. Over View Arrays are like structures in that they both group a number of items into a larger unit. Structure usually groups items of different types, an array groups items of the same type. Items in a structure are accessed by name, while those in an array are accessed by an index number. 7 Over View 8 Multidimensional Array TODAY’S LESSON 9 Contents Pointers Memory Addresses Indirection Operator Pointers to Char Array of Pointers The sizeof Operator Classes Objects C++/CLI Programming 10 Pointers Each memory location that you use to store a data value has an address. A pointer is a variable that stores the address of another variable of a particular type. A pointer has a variable name just like any other variable and also has a type that designates what kind of variables its contents refer to. The type of a pointer variable includes the fact that it ’ s a pointer. 11 Declaring . | LESSON 09 Overview of Previous Lesson(s) Over View Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft Corporation, which is used to develop console and GUI based applications. .NET Framework is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperability across several programming languages 3 Over View Programs written for the .NET Framework execute in a software environment, known as the Common Language Runtime, an application virtual machine that provides services such as security, memory management, and exception handling. 4 Over View Structures A structure is a collection of simple variables. The data items in a structure are called the members of the structure. 5 Over View 6 A function groups a number of program statements into a unit and gives it a name. This unit can then be invoked from other parts of the program. The function’s code is stored in .