365key.com
发现·保存·分享@天天网摘

Q版365key  设为首页 加为收藏 帮助

 首页  网址  添加  我的网摘  我的订阅  最新网摘  收录榜  点击榜  同好  配置  工具箱  标签  兴趣小组 
  IT168 |  华军下载 |  猫扑 |  VeryCD |  CSDN技术 |  DoNews |  9Flash |  中金 |  游侠 |  股票天下 |  游戏公会 |  电子工程 |  白银时代 |  和365Key合作

fangjian的网摘列表 RSS格式输出  365Key邮件订阅,每天可以定期收到邮件通知  使用 POTU 订阅
搜索词: 时间:
分类:     排序:
 
刷新列表 共1页、4项网摘
STL标准模板库点击:18
 分类:STL 时间:2006-4-7 13:40:38 fangjian收录 复制到我的网摘
http://www.supfly.net/xSTL/
C Language Tutorial点击:66
 分类:c; STL 时间:2005-12-22 14:02:59 fangjian收录 (还有1人收录) 复制到我的网摘
C Language Tutorial

These tutorials explain the C language from its basics up to the newest features of ANSI-C , including basic concepts such as arrays or classes and advanced concepts such as polymorphism or templates. The tutorial is oriented in a practical way, with working example programs in all sections to start practicing each lesson right away.

# Introduction

* Instructions for use

# Basics of C

* Structure of a program
* Variables. Data Types.
* Constants
* Operators
* Basic Input/Output

# Control Structures

* Control Structures
* Functions (I)
* Functions (II)

# Compound Data Types

* Arrays
* Character Sequences
* Pointers
* Dynamic Memory
* Data Structures
* Other Data Types

# Object Oriented Programming

* Classes (I)
* Classes (II)
* Friendship and inheritance
* Polymorphism

# Advanced Concepts

* Templates
* Namespaces
* Exceptions
* Type Casting
* Preprocessor directives

# C Standard Library

* Input/Output with files
http://www.cplusplus.com/doc/tutorial/
针对C程序员的TopCoder C++ 点击:16
 分类:STL 时间:2005-12-22 14:00:48 fangjian收录 复制到我的网摘
#include
#include

using namespace std;

class StringBuilder {
public:
string buildString(vector array) {
//创建将要返回的string
string s;

//循环读取数组中的每一项
for(int i = 0; i < array.size(); i++) {
s = s + array[i];
}

//返回创建的string
return s;
}
};
https://www.topcoder.com/pl/?module=Static
A Crash Course in the C++ Standard Template Library点击:18
 分类:STL 时间:2005-12-22 13:59:47 fangjian收录 复制到我的网摘


A Crash Course in the C++ Standard Template Library
Thursday, August 28, 2003

By Yarin
TopCoder Member

Introduction
This course tries to quickly teach how to use the Standard Template Library for the most common tasks without having to rely on other sources. It tells very little how things work, but instead gives several code snippets from which it should be possible to figure out how to use some parts of the STL. Since it's a crash course, a lot of things are left out and some things are simplified so much they're almost lies...

The STL is a collection of containers and simple algorithms. A container is something that holds several elements of the same type. The containers described in this course are vector, set and map, but the STL have several more containers. The STL header files required in this course are vector, set, map and algorithm. I also use iostream and string (the latter is not part of the STL, even though it in many ways have the same functionality). All classes are declared in the namespace std, so having the following lines at the beginning of your code is a good idea:

#include
#include
#include
#include
#include
#include

using namespace std;

vector

A vector corresponds to a 1-dimensional array in C. A vector is declared like this:

vector a; // Declare a vector of integers
vector b; // Declare a vector of MyStruct
http://www.topcoder.com/index?t=features
页码: [1 共1页、4项网摘

使用帮助 |  如何保存网摘 |  给365Key提建议 |  媒体报道 |  站长推广须知
Copyright (C) 2004 365Key.com--天天网摘 All Rights Reserved