#include
void HN(int n,char a,char b,char c);
int main(int argc,char *argv[])
{
int Dish_num;
printf("Please Input the Dish num: ");
scanf("%d",&Dish_num);
while(Dish_num != 0){
printf(...
分类:
其他好文 时间:
2015-06-22 15:02:22
阅读次数:
144
typedef struct mystruct{ int a; double b; char c[0];}Ms,*Pms;int main(int argc, char* argv[]){ Ms test; coutc,c); cout<<sizeof(*pms)<<endl; free(pms);...
分类:
编程语言 时间:
2015-06-20 19:32:04
阅读次数:
112
main.m 1 #import 2 #import "TestClass.h" 3 4 int main(int argc, const char * argv[]) { 5 @autoreleasepool { 6 NSString *purposeInfo = @"...
分类:
其他好文 时间:
2015-06-20 11:53:04
阅读次数:
109
直接上代码://
// main.m
//
// Created by on 15/4/2.
// Copyright (c) 2015年 . All rights reserved.
//#import
#import "Tire.h"
int main(int argc, const char * argv[]) { //NSSt...
分类:
其他好文 时间:
2015-06-20 10:35:46
阅读次数:
210
今天为QT设计开机界面,从网上copy的是代码先张贴如下:#include #include #include #include int main(int argc, char *argv[]){ QApplication app(argc, argv); QSplashScreen *...
分类:
其他好文 时间:
2015-06-20 10:34:02
阅读次数:
110
main.cpp#include #include #include #include #include #include #include int main(int argc, char *argv[]){ QApplication app(argc, argv); QPixmap p...
分类:
其他好文 时间:
2015-06-20 10:29:51
阅读次数:
129
typedef struct Person{ int age; char *name;}Person;int main(int argc, const char * argv[]) { @autoreleasepool { Person person; person.name ="...
分类:
其他好文 时间:
2015-06-19 20:16:52
阅读次数:
80
#usr/bin/evnpython#-*-coding:utf-8-*-importos,sysimport
reimportMySQLdbdb=
MySQLdb.connect(host=‘192.168.10.94‘,user=‘inserter‘,passwd=‘****‘,db=‘gydata‘)cursor=db.cursor()log_file=sys.argv[1]printlog_fileforlinein
open(log_file):elements=line.split(‘
‘)cip..
分类:
编程语言 时间:
2015-06-18 20:17:36
阅读次数:
184
#include void function(unsigned char i,unsigned char j);int main(int argc, const char * argv[]) { void (*p_function)(unsigned char i,unsigned char j)....
分类:
其他好文 时间:
2015-06-17 19:59:30
阅读次数:
116
#include #include #include #define MAXSIZE 1024#pragma comment(lib, "Wininet.lib")void urlopen(TCHAR*);int main(int argc, TCHAR* argv[]){TCHAR ch[] = ...
分类:
Web程序 时间:
2015-06-17 14:41:23
阅读次数:
159