├── C ├── 001 │ ├── blank1 │ │ ├── BLANK1.C │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── MODI1.C │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── ChangePath.vbs │ │ ├── PROG1.C │ │ ├── PROG1 │ │ ├── in.dat │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user │ │ └── prog1.sln ├── 002 │ ├── blank1 │ │ ├── BLANK1.C │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── MODI1.C │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── ChangePath.vbs │ │ ├── PROG1.C │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 003 │ ├── blank1 │ │ ├── BLANK1.C │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── MODI1.C │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── ChangePath.vbs │ │ ├── PROG1.C │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── in.dat │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 004 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ └── modi1.vcxproj.filters │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 005 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 006 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 007 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 008 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 009 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 010 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 011 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 012 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 013 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 014 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 015 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 016 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── in.dat │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 017 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 018 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── in.dat │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user ├── 019 │ ├── blank1 │ │ ├── blank1.c │ │ ├── blank1.sln │ │ ├── blank1.suo │ │ └── blank1 │ │ │ ├── blank1.vcxproj │ │ │ ├── blank1.vcxproj.filters │ │ │ └── blank1.vcxproj.user │ ├── modi1 │ │ ├── modi1.c │ │ ├── modi1.sln │ │ ├── modi1.suo │ │ └── modi1 │ │ │ ├── modi1.vcxproj │ │ │ ├── modi1.vcxproj.filters │ │ │ └── modi1.vcxproj.user │ └── prog1 │ │ ├── prog1.c │ │ ├── prog1.sln │ │ ├── prog1.suo │ │ └── prog1 │ │ ├── prog1.vcxproj │ │ ├── prog1.vcxproj.filters │ │ └── prog1.vcxproj.user └── 020 │ ├── blank1 │ ├── blank1.c │ ├── blank1.sln │ ├── blank1.suo │ └── blank1 │ │ ├── blank1.vcxproj │ │ ├── blank1.vcxproj.filters │ │ └── blank1.vcxproj.user │ ├── modi1 │ ├── modi1.c │ ├── modi1.sln │ ├── modi1.suo │ └── modi1 │ │ ├── modi1.vcxproj │ │ ├── modi1.vcxproj.filters │ │ └── modi1.vcxproj.user │ └── prog1 │ ├── prog1.c │ ├── prog1.sln │ ├── prog1.suo │ └── prog1 │ ├── prog1.vcxproj │ ├── prog1.vcxproj.filters │ └── prog1.vcxproj.user ├── Java ├── 001 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 002 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 003 │ ├── Java_1.java │ ├── Java_2.java │ ├── Java_3.html │ └── Java_3.java ├── 004 │ ├── 014.JPG │ ├── 306.JPG │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 005 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 006 │ ├── Java_1.java │ ├── Java_2.java │ ├── Java_3.java │ ├── a.txt │ └── b.txt ├── 007 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 008 │ ├── Java_1.java │ ├── Java_2.java │ ├── Java_3.html │ └── Java_3.java ├── 009 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 010 │ ├── Java_1.html │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 011 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 012 │ ├── Java_1.java │ ├── Java_2.java │ ├── Java_3.java │ └── tiantan.jpg ├── 013 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 014 │ ├── Java_1.java │ ├── Java_2.java │ ├── Java_3.java │ └── test.txt ├── 015 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 016 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 017 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── 018 │ ├── Java_1.java │ ├── Java_2.html │ ├── Java_2.java │ └── Java_3.java ├── 019 │ ├── Java_1.java │ ├── Java_2.java │ ├── Java_3.java │ └── a.txt └── 020 │ ├── Java_1.java │ ├── Java_2.java │ └── Java_3.java ├── LICENSE └── README.md /C/001/blank1/BLANK1.C: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define N 6 4 | typedef struct 5 | { char num[5]; 6 | double s; 7 | } STU; 8 | 9 | int fun(STU x[N], char p[][5]) 10 | { 11 | int n=0,i; 12 | double ave=0.0; 13 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/001/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/001/modi1/MODI1.C: -------------------------------------------------------------------------------- 1 | #include 2 | void fun( char *a,char *b,char *c) 3 | { int i=0,j=0; 4 | while( a[i]!='\0' && b[i]!='\0') 5 | { 6 | c[j++]=a[i]; 7 | /************found************/ 8 | if(b[i+1]=='\0') 9 | c[j++]=b[i+1]; 10 | else 11 | /************found************/ 12 | continue; 13 | if (a[i+1]=='\0') 14 | break; 15 | i+=2; 16 | } 17 | /************found************/ 18 | c[j+1]='\0'; 19 | } 20 | main() 21 | { char a[40]="asderty",b[40]="zxcvb",c[80]; 22 | fun(a,b,c); 23 | puts(c); 24 | } -------------------------------------------------------------------------------- /C/001/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Debug|Win32.Build.0 = Debug|Win32 14 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Release|Win32.ActiveCfg = Release|Win32 15 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/001/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/001/modi1/modi1.suo -------------------------------------------------------------------------------- /C/001/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/001/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/001/prog1/ChangePath.vbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/001/prog1/ChangePath.vbs -------------------------------------------------------------------------------- /C/001/prog1/PROG1.C: -------------------------------------------------------------------------------- 1 | #include 2 | #define N 3 3 | #pragma warning(disable:4996) 4 | void NONO( ); 5 | 6 | void fun( int a[N][N],int *p) 7 | { 8 | 9 | 10 | } 11 | main() 12 | { int a[N][N]={ 1,5,7,2,6,8,3,4,9}; 13 | int b[2*N],i; 14 | fun(a,b); 15 | for(i=0;i<2*N;i++) 16 | printf("%d,",b[i]); 17 | NONO(); 18 | } 19 | 20 | void NONO( ) 21 | { int a[N][N]; 22 | int b[2*N],i,j,k; 23 | FILE *rf, *wf; 24 | 25 | rf = fopen("in.dat","r") ; 26 | wf = fopen("out.dat","w") ; 27 | for(k=0; k<9;k++) { 28 | for(i=0;i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/001/prog1/PROG1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/001/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{72121F30-914F-4B90-95FD-F3659399EF8A}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {72121F30-914F-4B90-95FD-F3659399EF8A}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {72121F30-914F-4B90-95FD-F3659399EF8A}.Debug|Win32.Build.0 = Debug|Win32 14 | {72121F30-914F-4B90-95FD-F3659399EF8A}.Release|Win32.ActiveCfg = Release|Win32 15 | {72121F30-914F-4B90-95FD-F3659399EF8A}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/002/blank1/BLANK1.C: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | double fun(double x[ ], int n) 4 | { int i; 5 | double avg=0.0, sum=0.0; 6 | for (i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/002/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/002/modi1/MODI1.C: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | void fun( char *s1, char *s2, char *s3) 4 | { int i,j,k=0; 5 | for(i = 0; i=strlen(s1)) 12 | /**********************found***********************/ 13 | s3[++k]=s2[i]; 14 | } 15 | s3[k] = '\0'; 16 | } 17 | void main() 18 | { char s1[128], s2[128], s3[128]; 19 | printf("Please input string1:"); 20 | gets(s1); 21 | printf("Please input string2:"); 22 | gets(s2); 23 | fun(s1,s2,s3); 24 | printf("string:%s\n", s3); 25 | } -------------------------------------------------------------------------------- /C/002/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Debug|Win32.Build.0 = Debug|Win32 14 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Release|Win32.ActiveCfg = Release|Win32 15 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/002/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/002/modi1/modi1.suo -------------------------------------------------------------------------------- /C/002/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/002/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/002/prog1/ChangePath.vbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/002/prog1/ChangePath.vbs -------------------------------------------------------------------------------- /C/002/prog1/PROG1.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/002/prog1/PROG1.C -------------------------------------------------------------------------------- /C/002/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{72121F30-914F-4B90-95FD-F3659399EF8A}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {72121F30-914F-4B90-95FD-F3659399EF8A}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {72121F30-914F-4B90-95FD-F3659399EF8A}.Debug|Win32.Build.0 = Debug|Win32 14 | {72121F30-914F-4B90-95FD-F3659399EF8A}.Release|Win32.ActiveCfg = Release|Win32 15 | {72121F30-914F-4B90-95FD-F3659399EF8A}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/002/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/002/prog1/prog1.suo -------------------------------------------------------------------------------- /C/002/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/002/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/003/blank1/BLANK1.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/003/blank1/BLANK1.C -------------------------------------------------------------------------------- /C/003/blank1/blank1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blank1", "blank1\blank1.vcxproj", "{97889D59-5DF1-4FC7-AA5D-B7EDBB901C31}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {97889D59-5DF1-4FC7-AA5D-B7EDBB901C31}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {97889D59-5DF1-4FC7-AA5D-B7EDBB901C31}.Debug|Win32.Build.0 = Debug|Win32 14 | {97889D59-5DF1-4FC7-AA5D-B7EDBB901C31}.Release|Win32.ActiveCfg = Release|Win32 15 | {97889D59-5DF1-4FC7-AA5D-B7EDBB901C31}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/003/blank1/blank1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/003/blank1/blank1.suo -------------------------------------------------------------------------------- /C/003/blank1/blank1/blank1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/003/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/003/modi1/MODI1.C: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int fun(char* str) { 5 | int k, c0, c1; 6 | c0 = c1 = -1; 7 | for (k=0; k= 'A') && (str[k] <= 'Z') ) 9 | { c0 = c1 = k; 10 | break; 11 | } 12 | if (c0 == -1) 13 | return 0; 14 | /**********************found***********************/ 15 | for (k=0; k= 'A') || (str[k] <= 'Z') ) 19 | { 20 | if (str[k] < str[c0]) 21 | c0 = k; 22 | if (str[k] > str[c1]) 23 | c1 = k; 24 | } 25 | } 26 | /**********************found***********************/ 27 | return c1 - c0; 28 | } 29 | 30 | int main() 31 | { 32 | char str[100]; 33 | int l; 34 | printf("input string:"); 35 | scanf("%s", str); 36 | l = fun(str); 37 | printf("span:%d\n", l); 38 | return 0; 39 | } -------------------------------------------------------------------------------- /C/003/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Debug|Win32.Build.0 = Debug|Win32 14 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Release|Win32.ActiveCfg = Release|Win32 15 | {2CE256B6-E774-4AAB-94A6-ECFF46DE88F8}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/003/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/003/modi1/modi1.suo -------------------------------------------------------------------------------- /C/003/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/003/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/003/prog1/ChangePath.vbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/003/prog1/ChangePath.vbs -------------------------------------------------------------------------------- /C/003/prog1/PROG1.C: -------------------------------------------------------------------------------- 1 | #include 2 | #pragma warning(disable:4996) 3 | 4 | int fun(int x[], int n, int e, int *num) 5 | { 6 | 7 | 8 | 9 | } 10 | 11 | int main() 12 | { 13 | void NONO(); 14 | int x[] = {1, 9, 8, 6, 12}, num=0, sum; 15 | sum = fun(x, 5, 3, &num); 16 | printf("sum=%d,num=%d\n", sum, num); 17 | NONO(); 18 | return 0; 19 | } 20 | 21 | void NONO( ) 22 | { 23 | int x[100] = {1, 9, 8, 6, 12}, num, sum, i, j, count, e; 24 | FILE *rf, *wf; 25 | rf = fopen("in.dat","r"); 26 | wf = fopen("out.dat","w"); 27 | for(i=0;i<10;i++) { 28 | num = 0; 29 | sum = 0; 30 | fscanf(rf, "%d,", &count); 31 | for(j=0;j 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | 源文件 12 | 13 | 14 | -------------------------------------------------------------------------------- /C/003/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/004/blank1/blank1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blank1", "blank1\blank1.vcxproj", "{BAD765CC-DA43-49F3-B7F8-53A58E5346A9}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.Build.0 = Debug|Win32 14 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.ActiveCfg = Release|Win32 15 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/004/blank1/blank1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/004/blank1/blank1.suo -------------------------------------------------------------------------------- /C/004/blank1/blank1/blank1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/004/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/004/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | typedef struct aa 4 | { int data; 5 | struct aa *next; 6 | } NODE; 7 | NODE *Creatlink(int n, int m) 8 | { NODE *h=NULL, *p, *s; 9 | int i; 10 | /**********found***********/ 11 | p=(NODE )malloc(sizeof(NODE)); 12 | h=p; 13 | p->next=NULL; 14 | for(i=1; i<=n; i++) 15 | { s=(NODE *)malloc(sizeof(NODE)); 16 | s->data=rand()%m; s->next=p->next; 17 | p->next=s; p=p->next; 18 | } 19 | /**********found***********/ 20 | return p; 21 | } 22 | void outlink(NODE *h) 23 | { NODE *p; 24 | p=h->next; 25 | printf("\n\nTHE LIST :\n\n HEAD "); 26 | while(p) 27 | { printf("->%d ",p->data); 28 | p=p->next; 29 | } 30 | printf("\n"); 31 | } 32 | void main() 33 | { NODE *head; 34 | head=Creatlink(8,22); 35 | outlink(head); 36 | } 37 | 38 | -------------------------------------------------------------------------------- /C/004/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/004/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/004/modi1/modi1.suo -------------------------------------------------------------------------------- /C/004/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/004/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define N 80 4 | int fun(char *s) 5 | { 6 | 7 | } 8 | void main() 9 | { 10 | FILE *wf; 11 | char line[N]; 12 | int num=0; 13 | printf("Enter a string:\n "); 14 | gets(line); 15 | num=fun(line); 16 | printf("The number of word is:%d\n\n ",num); 17 | /******************************/ 18 | wf=fopen("out.dat","w"); 19 | fprintf(wf,"%d",fun("a big car")); 20 | fclose(wf); 21 | /*****************************/ 22 | } 23 | -------------------------------------------------------------------------------- /C/004/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/004/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/004/prog1/prog1.suo -------------------------------------------------------------------------------- /C/004/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/004/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/005/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define N 10 4 | double fun(double x[],double *y) 5 | { int i,j; double av; 6 | /**********found**********/ 7 | av=__1__; 8 | /**********found**********/ 9 | for(i=0; iav) y[__3__]= x[i]; 14 | y[j]=-1; 15 | return av; 16 | } 17 | void main() 18 | { int i; double x[N],y[N]; 19 | for(i=0; i=0; i++) printf("%5.1f ",y[i]); 23 | printf("\n"); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /C/005/blank1/blank1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blank1", "blank1\blank1.vcxproj", "{BAD765CC-DA43-49F3-B7F8-53A58E5346A9}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.Build.0 = Debug|Win32 14 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.ActiveCfg = Release|Win32 15 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/005/blank1/blank1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/005/blank1/blank1.suo -------------------------------------------------------------------------------- /C/005/blank1/blank1/blank1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/005/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/005/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | /*************found**************/ 5 | fun (int m) 6 | { double y=0, d; 7 | int i; 8 | /*************found**************/ 9 | for(i=100,i<=m,i+=100) 10 | {d=(double)i*(double)i; 11 | y+=1.0/d; 12 | } 13 | return(y); 14 | } 15 | void main() 16 | { int n=2000; 17 | system("CLS"); 18 | printf("\nThe result is %1f\n",fun(n)); 19 | } 20 | 21 | -------------------------------------------------------------------------------- /C/005/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/005/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/005/modi1/modi1.suo -------------------------------------------------------------------------------- /C/005/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/005/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/005/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #define N 10 6 | typedef struct ss 7 | { char num[10]; 8 | int s; 9 | } STU; 10 | void fun(STU a[], STU *s) 11 | { 12 | 13 | } 14 | void main() 15 | { 16 | FILE *wf; 17 | STU a[N]={{ "A01",81},{ "A02",89},{ "A03",66},{ "A04",87},{ "A05",77}, 18 | { "A06",90},{ "A07",79},{ "A08",61},{ "A09",80},{ "A10",71}},m; 19 | int i; 20 | system("CLS"); 21 | printf("*****The original data*****\n"); 22 | for(i=0;i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/005/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/006/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define N 10 4 | double fun(double x[],double *av) 5 | { int i,j; double d,s; 6 | s=0; 7 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/006/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/006/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | /*************found**************/ 5 | int fun(int n) 6 | { float A=1;int i; 7 | /*************found**************/ 8 | for(i=2;i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/006/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/006/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/006/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/006/prog1/prog1.suo -------------------------------------------------------------------------------- /C/006/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/006/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/007/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define N 10 4 | double fun(double *x) 5 | { int i, j; double s, av, y[N]; 6 | s=0; 7 | for(i=0; iav ){ 12 | /**********found**********/ 13 | y[__2__]=x[i]; 14 | x[i]=-1;} 15 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/007/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/007/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | /*************found**************/ 8 | void upfst(char p) 9 | { 10 | int k=0; 11 | for ( ;*p;p++) 12 | if (k) 13 | { 14 | if (*p==' ') 15 | k=0; 16 | } 17 | else 18 | { 19 | if (*p!=' ') 20 | { 21 | k=1; 22 | *p=toupper(*p); 23 | } 24 | } 25 | } 26 | void main() 27 | { 28 | char chrstr[81]; 29 | system("CLS"); 30 | printf("\nPlease enter an English text line: "); 31 | gets(chrstr); 32 | printf("\nBofore changing:\n %s",chrstr); 33 | upfst(chrstr); 34 | printf("\nAfter changing:\n %s\n",chrstr); 35 | } 36 | -------------------------------------------------------------------------------- /C/007/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/007/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/007/modi1/modi1.suo -------------------------------------------------------------------------------- /C/007/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/007/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/007/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #define N 5 5 | double fun (int w[][N]) 6 | { 7 | 8 | } 9 | void main() 10 | { 11 | FILE *wf; 12 | int a[N][N]={0,1,2,7,9,1,9,7,4,5,2,3,8,3,1,4,5,6,8,2,5,9,1,4,1}; 13 | int i, j; 14 | double s; 15 | system("CLS"); 16 | printf("*****The array*****\n "); 17 | for (i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/007/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/008/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define N 10 4 | double fun(double *x) 5 | { int i, j; double av, y[N]; 6 | av=0; 7 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/008/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/008/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | /*************found**************/ 5 | fun(char *s, int num[5]) 6 | { int k, i=5; 7 | for(k=0;k=0) 21 | num[i]++; 22 | } 23 | } 24 | void main() 25 | { char s1[81]; int num1[5], i; 26 | system("CLS"); 27 | printf("\nPlease enter a string: "); 28 | gets(s1); 29 | fun(s1, num1); 30 | for(i=0;i<5;i++) printf("%d ",num1[i]); 31 | printf("\n"); 32 | } 33 | -------------------------------------------------------------------------------- /C/008/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/008/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/008/modi1/modi1.suo -------------------------------------------------------------------------------- /C/008/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/008/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/008/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #define M 4 5 | #define N 5 6 | int fun( int a [M][N]) 7 | { 8 | 9 | } 10 | void main() 11 | { 12 | FILE *wf; 13 | int aa[M][N]={{1,3,5,7,9},{2,9,9,9,4},{6,9,9,9,8},{1,3,5,7,0}}; 14 | int i, j, y; 15 | system("CLS"); 16 | printf ("The original data is :\n "); 17 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/008/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/009/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #define N 9 5 | long ctod( char *s ) 6 | { long d=0; 7 | while(*s) 8 | if(isdigit( *s)) { 9 | /**********found**********/ 10 | d=d*10+*s-__1__; 11 | /**********found**********/ 12 | __2__; 13 | } 14 | return d; 15 | } 16 | long fun( char *a, char *b ) 17 | { 18 | /**********found**********/ 19 | return __3__; 20 | } 21 | void main() 22 | { char s1[N],s2[N]; 23 | do 24 | { printf("Input string s1 : "); gets(s1); } 25 | while( strlen(s1)>N ); 26 | do 27 | { printf("Input string s2 : "); gets(s2); } 28 | while( strlen(s2)>N ); 29 | printf("The result is: %ld\n", fun(s1,s2) ); 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /C/009/blank1/blank1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blank1", "blank1\blank1.vcxproj", "{BAD765CC-DA43-49F3-B7F8-53A58E5346A9}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.Build.0 = Debug|Win32 14 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.ActiveCfg = Release|Win32 15 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/009/blank1/blank1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/009/blank1/blank1.suo -------------------------------------------------------------------------------- /C/009/blank1/blank1/blank1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/009/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/009/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | /**********found**********/ 3 | void fun ( char *s, int a, int b ) 4 | { 5 | while ( *s ) 6 | { if ( *s >= 'A' && *s <= 'Z' ) 7 | /**********found**********/ 8 | *a=a+1 ; 9 | if ( *s >= 'a' && *s <= 'z' ) 10 | /**********found**********/ 11 | *b=b+1; 12 | s++; 13 | } 14 | } 15 | 16 | void main( ) 17 | { char s[100]; int upper = 0, lower = 0 ; 18 | printf( "\nPlease a string : " ); gets ( s ); 19 | fun ( s, & upper, &lower ); 20 | printf( "\n upper = %d lower = %d\n", upper, lower ); 21 | } 22 | 23 | -------------------------------------------------------------------------------- /C/009/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/009/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/009/modi1/modi1.suo -------------------------------------------------------------------------------- /C/009/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/009/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/009/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | float fun (float h ) 5 | { 6 | 7 | } 8 | void main() 9 | { 10 | FILE *wf; 11 | float a; 12 | system("CLS"); 13 | printf("Enter a: "); 14 | scanf ("%f",&a); 15 | printf("The original data is : "); 16 | printf("%f\n\n", a); 17 | printf("The result : %f\n", fun(a)); 18 | /******************************/ 19 | wf=fopen("out.dat","w"); 20 | fprintf(wf,"%f",fun(8.32533)); 21 | fclose(wf); 22 | /*****************************/ 23 | } 24 | -------------------------------------------------------------------------------- /C/009/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/009/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/009/prog1/prog1.suo -------------------------------------------------------------------------------- /C/009/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/009/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/010/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define N 20 4 | void fun( int *a) 5 | { int i, x, n=0; 6 | x=rand()%20; 7 | /**********found**********/ 8 | while (n<__1__) 9 | { for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/010/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/010/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | void fun() 3 | { 4 | int a[3][3],sum; 5 | int i,j; 6 | /*************found**************/ 7 | sum=1; 8 | for (i=0;i<3;i++) 9 | { for (j=0;j<3;j++) 10 | /*************found**************/ 11 | scanf("%d",a[i][j]); 12 | } 13 | for(i=0;i<3;i++) 14 | sum=sum+a[i][i]; 15 | printf("Sum=%d\n",sum); 16 | } 17 | void main() 18 | { 19 | fun(); 20 | } 21 | -------------------------------------------------------------------------------- /C/010/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/010/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/010/modi1/modi1.suo -------------------------------------------------------------------------------- /C/010/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/010/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/010/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | void fun (int array[3][3]) 6 | { 7 | 8 | } 9 | void main() 10 | { 11 | FILE *wf; 12 | int i,j; 13 | int array [3][3]={{100,200,300},{400,500,600},{700,800,900}}; 14 | system("CLS"); 15 | for (i=0;i<3;i++) 16 | {for (j=0;j<3;j++) 17 | printf("%7d ",array[i][j]); 18 | printf("\n "); 19 | } 20 | fun(array); 21 | printf("Converted array:\n "); 22 | for (i=0;i<3;i++) 23 | { for (j=0;j<3;j++) 24 | printf("%7d ",array[i][j]); 25 | printf("\n "); 26 | } 27 | /******************************/ 28 | wf=fopen("out.dat","w"); 29 | for (i=0;i<3;i++) 30 | { for (j=0;j<3;j++) 31 | fprintf(wf,"%7d ",array[i][j]); 32 | fprintf(wf,"\n"); 33 | } 34 | fclose(wf); 35 | /*****************************/ 36 | } 37 | -------------------------------------------------------------------------------- /C/010/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/010/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/010/prog1/prog1.suo -------------------------------------------------------------------------------- /C/010/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/010/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/011/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define N 4 3 | void fun(int (*a)[N], int *b) 4 | { int i,j; 5 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/011/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/011/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | /*************found**************/ 3 | void fun(int x,int y) 4 | { int t; 5 | /*************found**************/ 6 | t=x;x=y;y=t; 7 | } 8 | void main() 9 | { int a,b; 10 | a=8; 11 | b=3; 12 | fun(&a, &b); 13 | printf("%d %d\n ", a,b); 14 | } 15 | -------------------------------------------------------------------------------- /C/011/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/011/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/011/modi1/modi1.suo -------------------------------------------------------------------------------- /C/011/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/011/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/011/prog1/prog1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/011/prog1/prog1.c -------------------------------------------------------------------------------- /C/011/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/011/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/011/prog1/prog1.suo -------------------------------------------------------------------------------- /C/011/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/011/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/012/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define N 7 3 | /**********found**********/ 4 | void fun(int (*a)__1__) 5 | { int i,j,k,m; 6 | if(N%2==0) m=N/2 ; 7 | else m=N/2+1; 8 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/012/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/012/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | /*************found**************/ 4 | void fun(int m,int k); 5 | { int aa[20], i; 6 | for(i=0;m;i++) 7 | { 8 | /*************found**************/ 9 | aa[i]=m/k; 10 | m/=k; 11 | } 12 | for(;i;i--) 13 | /*************found**************/ 14 | printf("%d",aa[i]); 15 | } 16 | void main() 17 | { 18 | int b,n; 19 | printf("\nPlease enter a number and a base:\n"); 20 | scanf("%d%d",&n,&b); 21 | fun(n,b); 22 | printf("\n "); 23 | } 24 | -------------------------------------------------------------------------------- /C/012/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/012/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/012/modi1/modi1.suo -------------------------------------------------------------------------------- /C/012/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/012/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/012/prog1/prog1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/012/prog1/prog1.c -------------------------------------------------------------------------------- /C/012/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/012/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/012/prog1/prog1.suo -------------------------------------------------------------------------------- /C/012/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/012/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/013/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define N 3 3 | int fun(int (*a)[N]) 4 | { int i,j,m1,m2,row,colum; 5 | m1=m2=0; 6 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/013/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/013/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | double fun(int m) 5 | { 6 | double t=1.0; 7 | int i; 8 | for(i=2;i<=m;i++) 9 | /*************found**************/ 10 | t=1.0-1/i; 11 | /*************found**************/ 12 | ; 13 | } 14 | void main() 15 | {int m; 16 | system("CLS"); 17 | printf("\nPlease enter 1 integer numbers:\n"); 18 | scanf("%d",&m); 19 | printf("\n\nThe result is %1f\n", 20 | fun(m)); 21 | } 22 | -------------------------------------------------------------------------------- /C/013/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/013/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/013/modi1/modi1.suo -------------------------------------------------------------------------------- /C/013/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/013/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/013/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | void fun (char *str) 6 | { 7 | 8 | } 9 | void main() 10 | { 11 | char str[81]; 12 | char Msg[]="Input a string:"; 13 | int n; 14 | FILE *out; 15 | printf(Msg); 16 | gets(str); 17 | puts(str); 18 | fun(str); 19 | printf("*** str: %s\n",str); 20 | /******************************/ 21 | out=fopen("out.dat","w"); 22 | fun(Msg); 23 | fprintf(out,"%s",Msg); 24 | fclose(out); 25 | /******************************/ 26 | } 27 | -------------------------------------------------------------------------------- /C/013/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/013/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/013/prog1/prog1.suo -------------------------------------------------------------------------------- /C/013/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/013/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/014/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | double f1(double x) 3 | { return x*x; } 4 | double f2(double x, double y) 5 | { return x*y; } 6 | double fun(double a, double b) 7 | { 8 | /**********found**********/ 9 | __1__ (*f)(); 10 | double r1, r2; 11 | /**********found**********/ 12 | f = __2__ ; 13 | r1 = f(a); 14 | /**********found**********/ 15 | f = __3__ ; 16 | r2 = (*f)(a, b); 17 | return r1 + r2; 18 | } 19 | void main() 20 | { double x1=5, x2=3, r; 21 | r = fun(x1, x2); 22 | printf("\nx1=%f, x2=%f, x1*x1+x1*x2=%f\n",x1, x2, r); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /C/014/blank1/blank1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blank1", "blank1\blank1.vcxproj", "{BAD765CC-DA43-49F3-B7F8-53A58E5346A9}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.Build.0 = Debug|Win32 14 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.ActiveCfg = Release|Win32 15 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/014/blank1/blank1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/014/blank1/blank1.suo -------------------------------------------------------------------------------- /C/014/blank1/blank1/blank1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/014/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/014/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/014/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/014/modi1/modi1.suo -------------------------------------------------------------------------------- /C/014/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/014/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/014/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define N 80 3 | int fun(char *str) 4 | { 5 | } 6 | 7 | void main() 8 | { 9 | char s[N]; 10 | FILE *out; 11 | char *test[]={"1234321","123421","123321","abcdCBA"}; 12 | int i; 13 | printf("Enter a string : "); 14 | gets(s); 15 | printf("\n\n"); 16 | puts(s); 17 | if(fun(s)) 18 | printf("YES\n"); 19 | else 20 | printf("NO\n"); 21 | /************************************/ 22 | out=fopen("out.dat","w"); 23 | for(i=0;i<4;i++) 24 | if(fun(test[i])) 25 | fprintf(out,"YES\n"); 26 | else 27 | fprintf(out,"NO\n"); 28 | fclose(out); 29 | /************************************/ 30 | } 31 | -------------------------------------------------------------------------------- /C/014/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/014/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/014/prog1/prog1.suo -------------------------------------------------------------------------------- /C/014/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/014/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/015/blank1/blank1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blank1", "blank1\blank1.vcxproj", "{BAD765CC-DA43-49F3-B7F8-53A58E5346A9}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.Build.0 = Debug|Win32 14 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.ActiveCfg = Release|Win32 15 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/015/blank1/blank1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/015/blank1/blank1.suo -------------------------------------------------------------------------------- /C/015/blank1/blank1/blank1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/015/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/015/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/015/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/015/modi1/modi1.suo -------------------------------------------------------------------------------- /C/015/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/015/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/015/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | void fun (int (*s)[10], int *b, int *n, int mm, int nn) 3 | { 4 | 5 | } 6 | void main() 7 | { 8 | FILE *wf; 9 | int w[10][10]={{33,33,33,33},{44,44,44,44},{55,55,55,55}}, i, j; 10 | int a[100]={0},n=0 ; 11 | printf("The matrix:\n"); 12 | for (i=0; i<3; i++) 13 | {for (j=0;j<4;j++) 14 | printf("%3d",w[i][j]); 15 | printf("\n"); 16 | } 17 | fun(w,a,&n,3,4); 18 | printf("The A array:\n"); 19 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/015/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/016/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | char *fun(char *s) 6 | { int i, j, k, n; char *p, *t; 7 | n=strlen(s)+1; 8 | t=(char*)malloc(n*sizeof(char)); 9 | p=(char*)malloc(n*sizeof(char)); 10 | j=0; k=0; 11 | for(i=0; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/016/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/016/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void fun( char *a, char *b, char *c ) 5 | { 6 | int i , j; char ch; 7 | i = 0; j = strlen(b)-1; 8 | /************found************/ 9 | while ( i > j ) 10 | { ch = b[i]; b[i] = b[j]; b[j] = ch; 11 | i++; j--; 12 | } 13 | while ( *a || *b ) { 14 | /************found************/ 15 | If ( *a ) 16 | { *c = *a; c++; a++; } 17 | if ( *b ) 18 | { *c = *b; c++; b++; } 19 | } 20 | *c = 0; 21 | } 22 | 23 | void main() 24 | { 25 | char s1[100],s2[100],t[200]; 26 | printf("\nEnter s1 string : ");scanf("%s",s1); 27 | printf("\nEnter s2 string : ");scanf("%s",s2); 28 | fun( s1, s2, t ); 29 | printf("\nThe result is : %s\n", t ); 30 | } 31 | 32 | -------------------------------------------------------------------------------- /C/016/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/016/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/016/modi1/modi1.suo -------------------------------------------------------------------------------- /C/016/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/016/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/016/prog1/prog1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/016/prog1/prog1.c -------------------------------------------------------------------------------- /C/016/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/016/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/016/prog1/prog1.suo -------------------------------------------------------------------------------- /C/016/prog1/prog1/in.dat: -------------------------------------------------------------------------------- 1 | ksjdhfksdjfhsdkjlfhsdlkjfhsdfhsdkjfhsdfhsdsdfksdjhfk 2 | fldsl;fhkjgogfkdflkhgdfkjgfdlkghdfkjgdlfkgjdflkgjfglkfdjg 3 | gkjdfg943trekgj9fdjgklgdfgjrejekjlgfdkjgfdkljgfdljgflkjgdlfk 4 | sdkfsdjfw9ersdlkjfjs94fkjdlsjf94fjlkf94fkjlsd942jfsk94 5 | sdjkfjlk94;akKLl;kjfdlksjfksdlfjsdlkjfsdlkjfsdlkjfksdlfj 6 | fdksjfhsdlkfwe90rsdlkjfw9lksdjf9sjfldk9sldkj9032jfksd93 7 | fsdkfhjsdjfal23fkshdjrtlsfkd;:lhkdskjkjlhfdjkhFDHKJSFSLK 8 | kjfdhskjfdshf9320reuidodf849jfdhwoisdrfoiiefdlksfdsklf 9 | fsdjkhfdshflswf9fflkdsfjh9320p1ruowi398w398fwej8y439y 10 | kdjsfkjhsdhfkdsfl81KJSKLJHGFSGKSDJFH98SDHFIKROSDHKJF8FHSJ832JHSFD3 11 | -------------------------------------------------------------------------------- /C/016/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/016/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/017/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define N 3 3 | #define M 4 4 | /**********found**********/ 5 | void fun(int (*a)[N], int __1__) 6 | { int i,temp ; 7 | /**********found**********/ 8 | for(i = 0 ; i < __2__ ; i++) 9 | { temp=a[0][i] ; 10 | /**********found**********/ 11 | a[0][i] = __3__ ; 12 | a[k][i] = temp ; 13 | } 14 | } 15 | void main() 16 | { int x[M][N]={ {1,2,3},{4,5,6},{7,8,9},{10,11,12} },i,j; 17 | printf("The array before moving:\n\n"); 18 | for(i=0; i 2 | 3 | -------------------------------------------------------------------------------- /C/017/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | void fun(char t[]) 4 | { 5 | char c; 6 | int i,j; 7 | /*************found**************/ 8 | for(i=strlen(t);i;i--) 9 | for(j=0;j 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/017/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/017/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | void fun(char *ss) 6 | { 7 | 8 | } 9 | void main() 10 | { 11 | FILE *wf; 12 | char tt[81],s[81]="abc4Efg"; 13 | system("CLS"); 14 | printf("\nPlease enter an string within 80 characters:\n"); 15 | gets(tt); 16 | printf("\n\nAfter changing, the string\n %s",tt); 17 | fun(tt); 18 | printf("\nbecomes\n %s\n",tt); 19 | /******************************/ 20 | wf=fopen("out.dat","w"); 21 | fun(s); 22 | fprintf (wf,"%s",s); 23 | fclose(wf); 24 | /*****************************/ 25 | } 26 | -------------------------------------------------------------------------------- /C/017/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/017/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/017/prog1/prog1.suo -------------------------------------------------------------------------------- /C/017/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/017/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/018/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define M 3 3 | #define N 5 4 | void fun(int (*a)[N],int k) 5 | { int i,j,p,temp; 6 | /**********found**********/ 7 | for(p=1; p<= __1__; p++) 8 | for(i=0; i 2 | 3 | -------------------------------------------------------------------------------- /C/018/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define M 10 4 | int a[M][M] = {0} ; 5 | 6 | /**************found**************/ 7 | void fun(int **a, int m) 8 | { int j, k ; 9 | for (j = 0 ; j < m ; j++ ) 10 | for (k = 0 ; k < m ; k++ ) 11 | /**************found**************/ 12 | a[j][k] = k * j ; 13 | } 14 | 15 | void main ( ) 16 | { int i, j, n ; 17 | 18 | printf ( " Enter n : " ) ; scanf ("%d", &n ) ; 19 | fun ( a, n ) ; 20 | for ( i = 0 ; i < n ; i++) 21 | { for (j = 0 ; j < n ; j++) 22 | printf ( "%4d", a[i][j] ) ; 23 | printf ( "\n" ) ; 24 | } 25 | } 26 | 27 | -------------------------------------------------------------------------------- /C/018/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/018/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/018/modi1/modi1.suo -------------------------------------------------------------------------------- /C/018/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/018/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/018/prog1/prog1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/018/prog1/prog1.c -------------------------------------------------------------------------------- /C/018/prog1/prog1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "prog1", "prog1\prog1.vcxproj", "{FC8820AA-FDB0-4D92-9639-16AF0F327574}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Debug|Win32.Build.0 = Debug|Win32 14 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.ActiveCfg = Release|Win32 15 | {FC8820AA-FDB0-4D92-9639-16AF0F327574}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/018/prog1/prog1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/018/prog1/prog1.suo -------------------------------------------------------------------------------- /C/018/prog1/prog1/in.dat: -------------------------------------------------------------------------------- 1 | 45,12 2 | 63,54 3 | 14,78 4 | 88,91 5 | 71,13 6 | 12,45 7 | 72,32 8 | 29,99 9 | 34,43 10 | 22,44 11 | -------------------------------------------------------------------------------- /C/018/prog1/prog1/prog1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/018/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/019/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define M 3 3 | #define N 4 4 | void fun(int (*a)[N]) 5 | { int i=0,j,find=0,rmax,c,k; 6 | while( (i 2 | 3 | -------------------------------------------------------------------------------- /C/019/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | double fun ( int m ) 4 | { double y = 1.0 ; 5 | int i ; 6 | /**************found**************/ 7 | for(i = 2 ; i < m ; i++) 8 | /**************found**************/ 9 | y -= 1 /(i * i) ; 10 | return( y ) ; 11 | } 12 | 13 | void main( ) 14 | { int n = 5 ; 15 | 16 | printf( "\nThe result is %lf\n", fun ( n ) ) ; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /C/019/modi1/modi1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modi1", "modi1\modi1.vcxproj", "{BEA92B27-9DF5-4293-8127-3C9D8644433E}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Debug|Win32.Build.0 = Debug|Win32 14 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.ActiveCfg = Release|Win32 15 | {BEA92B27-9DF5-4293-8127-3C9D8644433E}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/019/modi1/modi1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/019/modi1/modi1.suo -------------------------------------------------------------------------------- /C/019/modi1/modi1/modi1.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/019/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/019/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | int fun(int score[],int m, int below[]) 6 | { 7 | 8 | } 9 | void main() 10 | { 11 | FILE *wf; 12 | int i, n, below[9]; 13 | int score[9]={10,20,30,40,50,60,70,80,90}; 14 | system("CLS"); 15 | n=fun(score, 9, below); 16 | printf("\nBelow the average score are: "); 17 | for(i=0;i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/019/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/020/blank1/blank1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #define N 80 4 | void fun(char *s, int n, char *t) 5 | { int len,i,j=0; 6 | len=strlen(s); 7 | /**********found**********/ 8 | if(n>=len) strcpy(__1__); 9 | else { 10 | /**********found**********/ 11 | for(i=len-n; i<=len-1; i++) t[j++]= __2__ ; 12 | /**********found**********/ 13 | t[j]= __3__ ; 14 | } 15 | } 16 | void main() 17 | { char s[N],t[N]; int n; 18 | printf("Enter a string: ");gets(s); 19 | printf( "Enter n:"); scanf("%d",&n); 20 | fun(s,n,t); 21 | printf("The string t : "); puts(t); 22 | } 23 | 24 | -------------------------------------------------------------------------------- /C/020/blank1/blank1.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual C++ Express 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blank1", "blank1\blank1.vcxproj", "{BAD765CC-DA43-49F3-B7F8-53A58E5346A9}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Debug|Win32.Build.0 = Debug|Win32 14 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.ActiveCfg = Release|Win32 15 | {BAD765CC-DA43-49F3-B7F8-53A58E5346A9}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /C/020/blank1/blank1.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/C/020/blank1/blank1.suo -------------------------------------------------------------------------------- /C/020/blank1/blank1/blank1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/020/modi1/modi1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | int fun( int m) 5 | { int i,k; 6 | for (i=m+1; ;i++) 7 | { for (k=2;k 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/020/modi1/modi1/modi1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /C/020/prog1/prog1.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | void fun (int x, int pp[], int *n) 6 | { 7 | 8 | } 9 | 10 | void main () 11 | { 12 | FILE *wf; 13 | int x,aa[1000], n, i ; 14 | system("CLS"); 15 | printf("\nPlease enter an integer number : \n ") ; 16 | scanf ("%d", &x) ; 17 | fun (x, aa, &n) ; 18 | for (i=0 ; i 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | -------------------------------------------------------------------------------- /C/020/prog1/prog1/prog1.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /Java/001/Java_1.java: -------------------------------------------------------------------------------- 1 | public class Java_1 { 2 | public static void main(String[] args) { 3 | //*********Found******** 4 | int []f=____________[10]; 5 | f[0]=f[1]=1; 6 | //*********Found******** 7 | for (________________;i<10;i++) 8 | f[i]=f[i-1]+f[i-2]; 9 | //*********Found******** 10 | for (int i=0;i 2 | 3 | -------------------------------------------------------------------------------- /Java/003/Java_3.java: -------------------------------------------------------------------------------- 1 | import java.awt.*; 2 | import javax.swing.*; 3 | 4 | //*********Found********** 5 | public class Java_3 extends _____________ 6 | { 7 | //*********Found********** 8 | public void ________________ () 9 | { 10 | Container contentPane = getContentPane(); 11 | JLabel label = new JLabel("One World One Dream",SwingConstants.CENTER); 12 | label.setFont(new Font("Arial", Font.BOLD, DEFAULT_SIZE)); 13 | //*********Found********** 14 | _________________.add(label); 15 | } 16 | private static final int DEFAULT_SIZE = 24; 17 | } 18 | -------------------------------------------------------------------------------- /Java/004/014.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/004/014.JPG -------------------------------------------------------------------------------- /Java/004/306.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/004/306.JPG -------------------------------------------------------------------------------- /Java/004/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/004/Java_1.java -------------------------------------------------------------------------------- /Java/004/Java_2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/004/Java_2.java -------------------------------------------------------------------------------- /Java/004/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/004/Java_3.java -------------------------------------------------------------------------------- /Java/005/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/005/Java_1.java -------------------------------------------------------------------------------- /Java/005/Java_2.java: -------------------------------------------------------------------------------- 1 | public class Java_2 2 | { 3 | public static void main(String[] args) 4 | { 5 | Thread t = new SimpleThread("Testing_Thread"); 6 | //*********Found********** 7 | ______________ ; 8 | } 9 | } 10 | //*********Found********** 11 | class SimpleThread extends _________ 12 | { 13 | public SimpleThread(String str) 14 | { 15 | //*********Found********** 16 | _____________ ; 17 | } 18 | //*********Found********** 19 | public void _________() 20 | { 21 | System.out.println("Running the " + getName() + ":"); 22 | for (int i = 0; i < 5; i++) 23 | { 24 | System.out.println("---" + i + "---" + getName()); 25 | try 26 | { 27 | sleep((int)(2 * 100)); 28 | } 29 | //*********Found********** 30 | _________(InterruptedException e) { } 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Java/005/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/005/Java_3.java -------------------------------------------------------------------------------- /Java/006/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/006/Java_1.java -------------------------------------------------------------------------------- /Java/006/a.txt: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /Java/006/b.txt: -------------------------------------------------------------------------------- 1 | abc -------------------------------------------------------------------------------- /Java/007/Java_1.java: -------------------------------------------------------------------------------- 1 | public class Java_1{ 2 | //*********Found********** 3 | public static void main(________________ []args) 4 | { 5 | char ch='d'; 6 | //*********Found********** 7 | switch(_______________) 8 | { 9 | case 'a': System.out.print("a");break; 10 | case 'b': System.out.print("b"); 11 | case 'c': System.out.print("c");break; 12 | //*********Found********** 13 | ___________________: System.out.print("abc"); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Java/007/Java_2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/007/Java_2.java -------------------------------------------------------------------------------- /Java/008/Java_1.java: -------------------------------------------------------------------------------- 1 | public class Java_1 2 | { 3 | public static void main(String[] args) 4 | { 5 | long sum; 6 | //*********Found********** 7 | ___________________; 8 | for(int i=1;i<8;i+=2){ 9 | long b=1; 10 | //*********Found********** 11 | for(int j=1; j<=___________; j++) 12 | //*********Found********** 13 | __________________; 14 | System.out.println( i + "!= " + b); 15 | sum+=b; 16 | } 17 | System.out.println("sum=" + sum); 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /Java/008/Java_2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/008/Java_2.java -------------------------------------------------------------------------------- /Java/008/Java_3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Java/008/Java_3.java: -------------------------------------------------------------------------------- 1 | import java.awt.Graphics; 2 | import javax.swing.JApplet; 3 | 4 | //*********Found********** 5 | public class Java_3 extends __________________ { 6 | //*********Found********** 7 | public void paint(________________ g){ 8 | int counter = 1; 9 | do { 10 | //*********Found********** 11 | ___________.drawOval( 110 - counter * 10, 110 - counter * 10, 12 | counter * 20, counter * 20 ); 13 | //*********Found********** 14 | ___________________; 15 | } while (counter<=10); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Java/009/Java_1.java: -------------------------------------------------------------------------------- 1 | public class Java_1 { 2 | public static void main(String args[]) { 3 | 4 | int x,n; 5 | 6 | //*********Found******** 7 | ________________; 8 | for( x = 100 ; x <= 200 ; x++) 9 | if ( x % 9 == 0 ) { 10 | //*********Found******** 11 | System.out.______________(" " + x); 12 | n++; 13 | //*********Found******** 14 | if ( ________________ ) System.out.println( ); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Java/009/Java_2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/009/Java_2.java -------------------------------------------------------------------------------- /Java/010/Java_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Java/010/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/010/Java_1.java -------------------------------------------------------------------------------- /Java/010/Java_2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/010/Java_2.java -------------------------------------------------------------------------------- /Java/011/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/011/Java_1.java -------------------------------------------------------------------------------- /Java/011/Java_2.java: -------------------------------------------------------------------------------- 1 | //*********Found********** 2 | public class Java_2 ___________________{ 3 | private int x=0; 4 | private int y=0; 5 | 6 | public static void main(String[]args){ 7 | Java_2 r = new Java_2(); 8 | //*********Found********** 9 | Thread t = new Thread( ___________________ ); 10 | t.start(); 11 | } 12 | public void run() { 13 | //*********Found********** 14 | int ___________________ = 0; 15 | for(;;){ 16 | x++; 17 | //*********Found********** 18 | ___________________; 19 | k++; 20 | if (k>5) break; 21 | System.out.println("x=" + x + ",y ="+ y); 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Java/012/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/012/Java_1.java -------------------------------------------------------------------------------- /Java/012/Java_2.java: -------------------------------------------------------------------------------- 1 | public class Java_2 { 2 | public static void main (String args[]) { 3 | try { 4 | Sleep a = new Sleep (); 5 | Thread t = new Thread (a); 6 | //*********Found********** 7 | t._____________(); 8 | t.join(); 9 | int j= a.i; 10 | System.out.println("j="+j+",a.i="+a.i); 11 | } catch (Exception e) {} 12 | } 13 | } 14 | 15 | //*********Found********** 16 | class Sleep implements _________________{ 17 | int i; 18 | public void run () { 19 | try { 20 | //*********Found********** 21 | Thread._______________(50); 22 | i= 10; 23 | } 24 | //*********Found********** 25 | ______________(InterruptedException e) {} 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Java/012/tiantan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/012/tiantan.jpg -------------------------------------------------------------------------------- /Java/013/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/013/Java_1.java -------------------------------------------------------------------------------- /Java/013/Java_2.java: -------------------------------------------------------------------------------- 1 | public class Java_2{ 2 | public static void main(String args[]) { 3 | //*********Found********** 4 | int a[][] = ________________ int[5][5]; 5 | int i,j,k = 1; 6 | for(i=0;i<5;i++) 7 | for(j=0;j<5;j++) 8 | if((i+j)<5){ 9 | a[i][j] = k; 10 | //*********Found********** 11 | ____________________; 12 | if (k > 9) k = 1; 13 | }else 14 | //*********Found********** 15 | ____________________; 16 | for(i=0;i<5;i++){ 17 | for(j=0;j<5;j++) 18 | System.out.print(a[i][j]+ " "); 19 | //*********Found********** 20 | _________________________; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Java/013/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/013/Java_3.java -------------------------------------------------------------------------------- /Java/014/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/014/Java_1.java -------------------------------------------------------------------------------- /Java/014/Java_2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/014/Java_2.java -------------------------------------------------------------------------------- /Java/014/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/014/Java_3.java -------------------------------------------------------------------------------- /Java/014/test.txt: -------------------------------------------------------------------------------- 1 | 123abcDEF99G -------------------------------------------------------------------------------- /Java/015/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/015/Java_1.java -------------------------------------------------------------------------------- /Java/015/Java_2.java: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | 3 | public class Java_2{ 4 | public static void main(String args[]) { 5 | int a[][] = new int[5][5]; 6 | int i,j,k=1; 7 | for(i=0;i<5;i++) 8 | //*********Found********** 9 | for( j=0; _____________ ;j++ ) 10 | //*********Found********** 11 | if((i+j)< _________________) 12 | a[i][j]=0; 13 | else{ 14 | //*********Found********** 15 | _______________________; 16 | } 17 | for(i=0;i<5;i++){ 18 | for(j=0;j<5;j++) 19 | //*********Found********** 20 | if(a[i][j]< _________________) 21 | System.out.print(a[i][j]+ " "); 22 | else 23 | System.out.print(a[i][j]+ " "); 24 | System.out.println(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Java/015/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/015/Java_3.java -------------------------------------------------------------------------------- /Java/016/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/016/Java_1.java -------------------------------------------------------------------------------- /Java/016/Java_2.java: -------------------------------------------------------------------------------- 1 | public class Java_2 { 2 | public static void main(String[ ] args) { 3 | Point pt; 4 | //*********Found********** 5 | pt = _____________ Point(2, 3); 6 | System.out.println(pt); 7 | } 8 | } 9 | 10 | class Point { 11 | 12 | //*********Found********** 13 | private _____________; 14 | private int y; 15 | 16 | //*********Found********** 17 | public _____________ (int a, int b) { 18 | x = a; 19 | y = b; 20 | } 21 | 22 | int getX( ) { 23 | return x; 24 | } 25 | 26 | int getY( ) { 27 | return y; 28 | } 29 | 30 | void setX(int a) { 31 | x = a; 32 | } 33 | 34 | void setY(int b) { 35 | y = b; 36 | } 37 | 38 | //*********Found********** 39 | public String _____________ ( ) { 40 | return "( " + x + "," + y + " ) "; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Java/016/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/016/Java_3.java -------------------------------------------------------------------------------- /Java/017/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/017/Java_1.java -------------------------------------------------------------------------------- /Java/017/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/017/Java_3.java -------------------------------------------------------------------------------- /Java/018/Java_1.java: -------------------------------------------------------------------------------- 1 | //*********Found********** 2 | public ___________ Java_1{ 3 | public static void main(String[ ] args){ 4 | int [ ]a = {1,2,3,4,5,6,7,8}; 5 | int [ ]b = {0,1,2,3,4,5,6,7}; 6 | int [ ]c = new int[8]; 7 | int s=0; 8 | 9 | //*********Found********** 10 | for(int i=0;i=0;j--) 13 | //*********Found********** 14 | s=s+__________; 15 | //*********Found********** 16 | System._____________.println("s="+s); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Java/018/Java_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Java/018/Java_2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/018/Java_2.java -------------------------------------------------------------------------------- /Java/018/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/018/Java_3.java -------------------------------------------------------------------------------- /Java/019/Java_1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/019/Java_1.java -------------------------------------------------------------------------------- /Java/019/Java_2.java: -------------------------------------------------------------------------------- 1 | public class Java_2{ 2 | public static void main(String args[]){ 3 | int i=0; 4 | String greetings[] ={ "Hello World!","Hello!","HELLO WORLD!!"}; 5 | while (i<4){ 6 | try{ 7 | //*********Found******** 8 | System.out.println(_________________[i]); 9 | } 10 | //*********Found******** 11 | _________________(ArrayIndexOutOfBoundsException e){ 12 | //*********Found******** 13 | System.out.println("Catch " + _____________.getMessage()); 14 | System.out.println("Ending the print."); 15 | } 16 | finally{ 17 | System.out.println("---------------------"); 18 | } 19 | //*********Found******** 20 | _______________; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Java/019/Java_3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoderMJLee/NCRE/f0f9107a9fe1a5600d04b0dae396d3975cfb8e28/Java/019/Java_3.java -------------------------------------------------------------------------------- /Java/019/a.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | -------------------------------------------------------------------------------- /Java/020/Java_2.java: -------------------------------------------------------------------------------- 1 | public class Java_2 { 2 | 3 | public static void main(String args[]) { 4 | int [][]a = {{2, 3, 4}, {4, 6, 5}}; 5 | int [][]b = {{1, 5, 2, 8}, {5, 9, 10, -3}, {2, 7, -5, -18}}; 6 | //*********Found********** 7 | int [][]c = ______________; 8 | for (int i = 0; i < 2; i++) { 9 | //*********Found********** 10 | for (int j = 0; j < _______; j++) { 11 | //*********Found********** 12 | __________________; 13 | for (int k = 0; k < 3; k++) 14 | //*********Found********** 15 | c[i][j] += __________________; 16 | System.out.print(c[i][j] + " "); 17 | } 18 | System.out.println(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | > 计算机二级考试的一些编程题(大学生专用) 2 | 3 | - [计算机二级C语言题目](https://www.cnblogs.com/mjios/category/1660546.html) 4 | - [计算机二级Java语言题目](https://www.cnblogs.com/mjios/category/1665827.html) --------------------------------------------------------------------------------