-
62
pages
-
English
-
Documents
Description
Advanced programmingwithlcc-win32byJacob Navia and Friedrich Dominicus© 2000-2004 Jacob Navia and Q Software Solutions GmbH. This document is part of the lcc-win32 documentation. Distribution in any form is explicitly not allowed.Chapter 1 Containers 3Strings 3Design criteria 4The handling of exceptions 4Description 6String functions 10String collections 23The interface 23Memory management 25Using the library 25Implementation 26Strings in other languages 31Generalizing the string collection 32Subclassing 34Lists 37Creating a list 38Adding elements 39Chapter 2 Network Programming 41Introduction 41What is a network? 41Protocols 42The HTTP Protocol 42GetHttpUrl 43Implementation 43The FTP protocol 46Implementing the ftp “GET” 47Querying the network parameters 48Writing “ping” 52How does it work? 52Client/Server programming using sockets 54Common steps for server and client 54Server side 55Client side 56Sending and receiving data 56Simplifying sockets programming with lcc-win32 56Abstract data types 3Chapter 1Containers2.1 Abstract data typesAbstract data types are abstractions from a data structure that consists of two parts: a specifi-cation and an implementation. The specification defines how the data is stored without anyimplementation details, a set of operations that the user can invoke on the stored data, and theerror handling within the context of each operation.For a single implementation of an abstract data type ...
-
Publié par
-
Langue
English