码迷,mamicode.com
首页 >  
搜索关键字:structure    ( 2775个结果
struct和typedef struct的用法
我首先想到的去MSDN上看看sturct到底是什么东西,虽然平时都在用,但是每次用的时候都搞不清楚到底这两个东西有什么区别,既然微软有MSDN,我们为什么不好好利用呢,下面是摘自MSDN中的一段话:Thestructkeyword defines a structure type and/or a ...
分类:其他好文   时间:2014-12-06 11:18:39    阅读次数:138
C数据类型
结构体因为数组中各元素的类型和长度都必须一致,以便于编译系统处理。为了解决这个问题,C语言中给出了另一种构造数据类型——“结构(structure)”或叫“结构体”。它相当于其它高级语言中的记录。“结构”是一种构造类型,它是由若干“成员”组成的。每一个成员可以是一个基本数据类型或者又是一个构造类型。...
分类:其他好文   时间:2014-12-05 16:56:48    阅读次数:165
三种缓存模式
(这是一个MIT同学整理的6.004 Computation Structure的课程的笔记,内容清晰易懂,看一遍可以简单了解计算机组成的基本内容,一共55页,计划全部译成中文。转载请注明出处。)(笔记原文:https://app.box.com/s/hj73i5cnek38kpy9yw22)存储层...
分类:其他好文   时间:2014-12-05 00:29:39    阅读次数:550
Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-12-03 21:14:01    阅读次数:198
【Daily Scrum】12-03:Sprint 3 Planning
Sprint 3(12.03-12.16)最主要的任务是完成structure-based ASC art generation,也是我们最初设想中的一个很有亮点的feature。除此之外,还包括一些bug的修复、已有功能的优化等,并添加以下新的功能:Generate color ASC artGe...
分类:其他好文   时间:2014-12-03 20:56:39    阅读次数:176
【LeetCode】Recover Binary Search Tree
Recover Binary Search TreeTwo elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A sol...
分类:其他好文   时间:2014-12-02 13:27:30    阅读次数:154
[Leetcode] Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-12-02 07:50:37    阅读次数:171
[Leetcode]Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty straight forward. Could you devis...
分类:其他好文   时间:2014-12-01 22:34:27    阅读次数:309
代码是灵魂,注释是心声
在以前一些关于代码注释的文章中,我发现,你不需要的注释才是最好的注释。不要急着批判,请允许我阐述一下。首先代码应该尽量地简洁,尽可能地做到不需要依赖注释就可以理解。只有那些真的没法更易于理解的代码,才需要我们添加注释。 有一本非常经典的书叫《Structure and Interpretati...
分类:其他好文   时间:2014-11-28 19:57:13    阅读次数:176
[ACM] sdut 2882 Full Binary Tree (满二叉树的公共祖先)
Full Binary Tree Time Limit: 2000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 In computer science, a binary tree is a tree data structure in which each node has at most two children...
分类:其他好文   时间:2014-11-27 20:34:56    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!