首先先尝试一下最基础的Hello World!using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Cons.....
分类:
编程语言 时间:
2015-03-16 20:52:54
阅读次数:
112
最近看linux0.11源码时,看到任务切换函数switch_to,感觉很晦涩,于是在网上查了一些资料,现在终于有些眉目,特记录于此,以方便大家参考,有什么错误或不足之处,还请大家指出~switch_to源码/** switch_to(n) should switch tasks to task ....
分类:
其他好文 时间:
2015-03-16 20:51:22
阅读次数:
167
One of the tasks students routinely carry out in their mathematics classes is to solve a polynomial equation. It is, given a polynomial, sayX2- 4X+ 1,...
分类:
其他好文 时间:
2015-03-14 12:24:41
阅读次数:
186
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace day12{ class Program { static...
分类:
其他好文 时间:
2015-03-14 09:32:04
阅读次数:
168
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace day10{ class Class1 { static ...
分类:
其他好文 时间:
2015-03-13 09:18:49
阅读次数:
132
using System;using System.Collections;using System.Linq;using System.Text;using System.Threading.Tasks;namespace day09{ class Program { struct student...
分类:
其他好文 时间:
2015-03-13 09:17:17
阅读次数:
124
using System;using System.Collections;using System.Linq;using System.Text;using System.Threading.Tasks;namespace day11{ class Class1 { struct huiyuan....
分类:
其他好文 时间:
2015-03-13 09:16:14
阅读次数:
130
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
//Singleton设计模式(单实例)
namespaceConsoleApplication6
{
classProgram
{
staticvoidMain(string[]args)
{
//案例:
Singletons=Singleton.getSinglet..
分类:
其他好文 时间:
2015-03-13 02:02:55
阅读次数:
132
const 常量字段使用方法 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace Project5_42{ ...
1.task declaration 个人喜欢ANSI C格式的声明: task mytask(output int x,input logic y); ...... endtask注意端口列表的方向和数据结构,容易犯错,最好每个逐一显示声明。2.static and automatic tasks...
分类:
其他好文 时间:
2015-03-12 06:21:40
阅读次数:
1932