main.cxx#include #include #include #include using
namespace std; int main() { sqlite3* file; int flag; flag =
sqlite3_open("./stu.db", &file); if(...
分类:
数据库 时间:
2014-06-29 14:36:03
阅读次数:
254
resource.load上来一张贴图就行。 详细可参看:unity圣典 “Resources
资源”、“Resources.Load 加载”相关篇幅介绍。using UnityEngine;using System.Collections;public
class example : MonoB...
分类:
其他好文 时间:
2014-06-29 14:24:46
阅读次数:
261
1 //这里f()为被积函数,输入a,b为积分上下限, 2
//eps为计算精度[这里要注意假收敛,一般设小一点好] 3 #include 4 #include 5 #define eps 1e-6 6 using
namespace std; 7 double f(double x){ 8...
分类:
其他好文 时间:
2014-06-07 05:22:57
阅读次数:
239
#include #include struct pos2d{ int x; int
y;};using namespace std;int main(){
//boost::interprocess::shared_memory_object类是按照单个字节的方式读写共享内存,用...
分类:
其他好文 时间:
2014-06-07 03:57:20
阅读次数:
277
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 6 using System.IO; 7 using
System.Web; 8 usi...
分类:
Web程序 时间:
2014-05-29 01:07:43
阅读次数:
392
构造函数 自动初始化对象的特殊的成员函数 与所属的类名同名
可以在类中声明并定义构造函数,或在类中声明而在外部定义 可以同时有几个含有不同参数的构造函数,实例化时通过不同参数定义不同的对象 1 #include 2 3
using namespace std; 4 5 class da...
分类:
编程语言 时间:
2014-05-28 23:57:40
阅读次数:
366
using UnityEngine;using
System.Collections;using UnityEditor;public class ImportModflyTextures :
AssetPostprocessor{ private uint m_Version = 0; ...
分类:
其他好文 时间:
2014-05-28 21:20:56
阅读次数:
427
ChangeTextureImportSettingsUnity3 for Unity3.x程序代码
csharp 代码using UnityEngine; using UnityEditor; //
////////////////////////////////////////////////....
分类:
其他好文 时间:
2014-05-28 21:16:58
阅读次数:
363
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
分类:
Web程序 时间:
2014-05-28 18:29:46
阅读次数:
378
1 // 08win32console-ATL.cpp : 定义控制台应用程序的入口点。 2
// 3 4 5 #include "stdafx.h" 6 #include 7 #include 8 9 using std::cout; 10 using
std::en...
分类:
其他好文 时间:
2014-05-28 12:48:07
阅读次数:
369