码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
Codeforces Round #195 (Div. 2) A. Vasily the Bear and Triangle
水题,注意数据范围即可#include #include #include using namespace std;typedef pair Point;int main(){ int x,y; cin >> x >>y; Point a,b; if((x>0 && y > ...
分类:其他好文   时间:2014-06-16 10:47:47    阅读次数:226
1.1.3 Getting Started_Budding Your First App_Building a Simple User Interface
The graphical user interface for an Android app is built using a hierarchy ofViewandViewGroupobjects.Viewobjects are usually UI widgets such asbuttons...
分类:移动开发   时间:2014-06-16 10:43:38    阅读次数:268
EF - 基础语法
1. 创建实体类 -> 使用 ef Power Tool2. 创建连接 -> 查询数据 -> 操作using (TestContext context = new TestContext()) { foreach (Model m in conte...
分类:其他好文   时间:2014-06-16 10:33:19    阅读次数:353
C++读取文本文件
Description在文件f1.dat中,提供了N(N是一个很大的数,程序中不需要用到)个正整数。请编程序,输出文件中前n(n 2 #include 3 using namespace std; 4 int main() 5 { 6 int a[10]={52,69,21,29,65,79...
分类:编程语言   时间:2014-06-16 08:48:46    阅读次数:257
HDOJ 1196 Lowest Bit
题目大意是给一个1-100的整数,要求首先转化成2进制,然后从最低位开始数起到不是0的位停止,输出这些位代表队额10进制数 1 #include 2 3 using namespace std; 4 5 int bits[7]={1,2,4,8,16,32,64}; 6 int judge(i...
分类:其他好文   时间:2014-06-16 08:10:21    阅读次数:226
重载 模板 inline
重载:函数名相同,参数类型和个数不同模板:函数名相同,个数相同,参数类型不同#include using namespace std;template T Max(T a, T b){ if(a > b) return a; else return b;}void main(){ int a = 1...
分类:其他好文   时间:2014-06-16 08:05:04    阅读次数:231
第十五章 链表
/**数组与链表的区别:数组易随机访问,链表易插入和删除链表组成:储存数据元素的数据域,储存下一结点地址的指针域链表易于插入与删除lists 的用法?????????????????????*///建立一个图书链表#include#include using namespace std;struct...
分类:其他好文   时间:2014-06-12 06:44:48    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!