摘要:
#include "stdafx.h"#include #include #include #include typedef struct card{char suit[10];char face[10];}CARD;void Deal(CARD *wCard);void shuffle(CARD ... 阅读全文
摘要:
#include "stdafx.h"#include #include #include #define NUM_ELECTORATE 10#define NUM_CANDIDATE 3struct candicate{char name[20];int count;}candidate[3] =... 阅读全文
摘要:
#include "stdafx.h"#include #include #include void InputScore(int *p,int m,int n);int FindMax(int *p,int m,int n,int *pRow,int *pCol);int main(){int *... 阅读全文
摘要:
include "stdafx.h"#include #include #include #define N 10void Swap(int *x,int *y);void Transpose(int a[][N],int n);void InputMatrix(int a[][N],int n);... 阅读全文
摘要:
#include "stdafx.h"#include #include #include int main(){int n;static char * monthName[] = {"Illegal month","January","February","March","April","May"... 阅读全文
摘要:
#include "stdafx.h"#include #include #include #define N 100void Insert(char s[]);int main(){char str[N];printf_s("input a string:");gets_s(str);Insert... 阅读全文
摘要:
#include "stdafx.h"#include #include void Squeeze(char s[],char c);int main(){char str[20],ch;printf_s("input a string:");gets_s(str);printf_s("input ... 阅读全文
摘要:
#include "stdafx.h"#include #include float fun1(float x);float fun2(float x);float Integral(float (*f)(float),float a,float b);int main(){float y1,y2;... 阅读全文
摘要:
#include "stdafx.h"#include #include int DayofYear(int year,int month, int day);void MonthDay(int year,int yearDay,int *pMonth,int *pDay);void Menu(vo... 阅读全文
摘要:
输入某一年 以及某一年的天数 就 是几月的第几天#include "stdafx.h"#include #include int Monthday(int year,int yearDay,int *pMonth,int *pDay);int dayTab[2][13] = {{0,31,28,31... 阅读全文