码迷,mamicode.com
首页 >  
搜索关键字:using stacks    ( 53729个结果
POJ - 2080 Calendar
题意:求2000.1.1(周六)过n天后,是哪年哪月哪日星期几 思路:看到过好多次了这种题,细心点模拟就是了 #include #include #include #include using namespace std; char w[7][10]={"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ,...
分类:其他好文   时间:2014-05-10 09:28:33    阅读次数:266
cocos2d-x 之 CCCallFunc CCCallFuncN CCCallFuncND
#include "HelloWorldScene.h" #include "SimpleAudioEngine.h" using namespace cocos2d; using namespace CocosDenshion; CCScene* HelloWorld::scene() { CCScene *scene = CCScene::create(); HelloWo...
分类:其他好文   时间:2014-05-10 09:26:12    阅读次数:337
【来写个2048吧】—— 创建卡片类以及添加
一、创建卡片类 首先想想卡片是一个精灵,那么我们就继承精灵类。然后还要有数字,背景颜色。基本就这些,那么看代码吧。 Card.h代码 #ifndef _CARD_H_ #define _CARD_H_ #include "cocos2d.h" USING_NS_CC ; class CardSprite : public Sprite { public : ...
分类:其他好文   时间:2014-05-10 09:25:46    阅读次数:280
CareerCup之1.3字符串去重
【题目】 原文: 1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two additional variables are fine. An extra copy of...
分类:其他好文   时间:2014-05-07 08:48:12    阅读次数:372
No! More!! Long!!! Days... at Work!!!!
Nido Framework at Use - The diagram below shows how Nido Framework reduces the size of your DAL and BLL. Nido Framework is a reusable and highly generic code library developed using Microsoft ....
分类:其他好文   时间:2014-05-07 07:22:40    阅读次数:333
[渣译文] 使用 MVC 5 的 EF6 Code First 入门 系列:MVC程序中实体框架的Code First迁移和部署
这是微软官方SignalR 2.0教程Getting Started with Entity Framework 6 Code First using MVC 5 系列的翻译,这里是第五篇:MVC程序中实体框架的Code First迁移和部署原文:Code First Migrations and ...
分类:Web程序   时间:2014-05-06 13:16:59    阅读次数:511
分苹果
题目:穷举法:由于3 1 1和1 3 1 是一种分法,所以也就是说在N个篮子里的苹果数目是 n1 2 using namespace std; 3 int count; 4 int foo(int n,int m,int prei,int temp[10]) 5 { 6 int i=0,j=...
分类:移动开发   时间:2014-05-06 13:08:55    阅读次数:489
POJ1474 Video Surveillance(半平面交)
很多道相似的半平面交,但只过了这个,心都碎了。。#pragma warning(disable:4996)#include #include #include #include #include #include #include using namespace std;#define maxn 2...
分类:其他好文   时间:2014-05-06 12:58:01    阅读次数:344
POJ3525 Most Distant Point from the Sea(半平面交)
今天打算做两道半平面交,一题卡太久了,心都碎了。。。#pragma warning(disable:4996)#include #include #include #include #include #include #include using namespace std;#define maxn...
分类:其他好文   时间:2014-05-06 12:27:57    阅读次数:389
unity3D和串口之间的通信,接收下位机数据和发送指令
using UnityEngine;using System.Collections;using System.IO.Ports;using System;using System.Collections.Generic;using System.Threading;public class Por...
分类:其他好文   时间:2014-05-06 10:15:17    阅读次数:5671
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!