소스 검색

第二次提交

master
张稚琦 2 년 전
부모
커밋
96f1b452ea
100개의 변경된 파일1316개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      pedef的使用/01
  2. +64
    -0
      pedef的使用/01
  3. BIN
      pedef的使用/01
  4. +64
    -0
      pedef的使用/01
  5. +87
    -0
      pedef的使用/01
  6. +25
    -0
      pedef的使用/01
  7. +12
    -0
      pedef的使用/01
  8. +6
    -0
      pedef的使用/01
  9. BIN
      pedef的使用/01
  10. +2
    -0
      pedef的使用/01
  11. BIN
      pedef的使用/01
  12. BIN
      pedef的使用/01
  13. BIN
      pedef的使用/01
  14. BIN
      pedef的使用/01
  15. BIN
      pedef的使用/01
  16. BIN
      pedef的使用/01
  17. BIN
      pedef的使用/01
  18. BIN
      pedef的使用/01
  19. BIN
      pedef的使用/01
  20. +16
    -0
      pedef的使用/01
  21. +58
    -0
      pedef的使用/02
  22. +86
    -0
      pedef的使用/02
  23. +22
    -0
      pedef的使用/02
  24. +12
    -0
      pedef的使用/02
  25. +2
    -0
      pedef的使用/02
  26. BIN
      pedef的使用/02
  27. +2
    -0
      pedef的使用/02
  28. BIN
      pedef的使用/02
  29. BIN
      pedef的使用/02
  30. BIN
      pedef的使用/02
  31. BIN
      pedef的使用/02
  32. BIN
      pedef的使用/02
  33. BIN
      pedef的使用/02
  34. BIN
      pedef的使用/02
  35. BIN
      pedef的使用/02
  36. +68
    -0
      pedef的使用/03
  37. +86
    -0
      pedef的使用/03
  38. +22
    -0
      pedef的使用/03
  39. +2
    -0
      pedef的使用/03
  40. BIN
      pedef的使用/03
  41. +2
    -0
      pedef的使用/03
  42. BIN
      pedef的使用/03
  43. BIN
      pedef的使用/03
  44. BIN
      pedef的使用/03
  45. BIN
      pedef的使用/03
  46. BIN
      pedef的使用/03
  47. BIN
      pedef的使用/03
  48. BIN
      pedef的使用/03
  49. BIN
      pedef的使用/03
  50. +56
    -0
      pedef的使用/04
  51. +86
    -0
      pedef的使用/04
  52. +22
    -0
      pedef的使用/04
  53. +3
    -0
      pedef的使用/04
  54. BIN
      pedef的使用/04
  55. +2
    -0
      pedef的使用/04
  56. BIN
      pedef的使用/04
  57. BIN
      pedef的使用/04
  58. BIN
      pedef的使用/04
  59. BIN
      pedef的使用/04
  60. BIN
      pedef的使用/04
  61. BIN
      pedef的使用/04
  62. BIN
      pedef的使用/04
  63. BIN
      pedef的使用/04
  64. +42
    -0
      pedef的使用/05
  65. +86
    -0
      pedef的使用/05
  66. +22
    -0
      pedef的使用/05
  67. +4
    -0
      pedef的使用/05
  68. BIN
      pedef的使用/05
  69. +2
    -0
      pedef的使用/05
  70. BIN
      pedef的使用/05
  71. BIN
      pedef的使用/05
  72. BIN
      pedef的使用/05
  73. BIN
      pedef的使用/05
  74. BIN
      pedef的使用/05
  75. BIN
      pedef的使用/05
  76. BIN
      pedef的使用/05
  77. BIN
      pedef的使用/05
  78. +92
    -0
      pedef的使用/06
  79. +86
    -0
      pedef的使用/06
  80. +22
    -0
      pedef的使用/06
  81. +2
    -0
      pedef的使用/06
  82. BIN
      pedef的使用/06
  83. +2
    -0
      pedef的使用/06
  84. BIN
      pedef的使用/06
  85. BIN
      pedef的使用/06
  86. BIN
      pedef的使用/06
  87. BIN
      pedef的使用/06
  88. BIN
      pedef的使用/06
  89. BIN
      pedef的使用/06
  90. BIN
      pedef的使用/06
  91. BIN
      pedef的使用/06
  92. +35
    -0
      pedef的使用/07
  93. +87
    -0
      pedef的使用/07
  94. +25
    -0
      pedef的使用/07
  95. +2
    -0
      pedef的使用/07
  96. BIN
      pedef的使用/07
  97. BIN
      pedef的使用/07
  98. BIN
      pedef的使用/07
  99. BIN
      pedef的使用/07
  100. BIN
      pedef的使用/07

BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


C语言提高/days01/Code/01 → pedef的使用/01 파일 보기

@@ -0,0 +1,64 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "01 typedef的使用", "01 typedef的使用\01 typedef的使用.vcxproj", "{8D377781-1E7A-4638-AC15-27FE79E7DD64}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "02 void的使用", "02 void的使用\02 void的使用.vcxproj", "{2FC9AD63-0AAF-42A3-9C32-DC1DFAFA384E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "03 sizeof的使用", "03 sizeof的使用\03 sizeof的使用.vcxproj", "{B28D4540-4C90-4696-8329-E35D33AD7C73}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "04 变量的修改方式", "04 变量的修改方式\04 变量的修改方式.vcxproj", "{B4A6B019-2A74-4906-B51C-2DF9640A34FF}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "05 栈区", "05 栈区\05 栈区.vcxproj", "{D62C5EF0-E780-45BE-A246-7BA6B57B3828}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "06 堆区", "06 堆区\06 堆区.vcxproj", "{170B6EB3-9A42-4B8D-B8A7-27FD6C6FA405}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "07 static和extern区别", "07 static和extern区别\07 static和extern区别.vcxproj", "{97802D51-B18D-4EF1-8A88-58B1041ABE90}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "08 const修饰的全局变量和局部变量", "08 const修饰的全局变量和局部变量\08 const修饰的全局变量和局部变量.vcxproj", "{D9D136CF-22E3-4139-9B16-18323C8073CD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8D377781-1E7A-4638-AC15-27FE79E7DD64}.Debug|Win32.ActiveCfg = Debug|Win32
{8D377781-1E7A-4638-AC15-27FE79E7DD64}.Debug|Win32.Build.0 = Debug|Win32
{8D377781-1E7A-4638-AC15-27FE79E7DD64}.Release|Win32.ActiveCfg = Release|Win32
{8D377781-1E7A-4638-AC15-27FE79E7DD64}.Release|Win32.Build.0 = Release|Win32
{2FC9AD63-0AAF-42A3-9C32-DC1DFAFA384E}.Debug|Win32.ActiveCfg = Debug|Win32
{2FC9AD63-0AAF-42A3-9C32-DC1DFAFA384E}.Debug|Win32.Build.0 = Debug|Win32
{2FC9AD63-0AAF-42A3-9C32-DC1DFAFA384E}.Release|Win32.ActiveCfg = Release|Win32
{2FC9AD63-0AAF-42A3-9C32-DC1DFAFA384E}.Release|Win32.Build.0 = Release|Win32
{B28D4540-4C90-4696-8329-E35D33AD7C73}.Debug|Win32.ActiveCfg = Debug|Win32
{B28D4540-4C90-4696-8329-E35D33AD7C73}.Debug|Win32.Build.0 = Debug|Win32
{B28D4540-4C90-4696-8329-E35D33AD7C73}.Release|Win32.ActiveCfg = Release|Win32
{B28D4540-4C90-4696-8329-E35D33AD7C73}.Release|Win32.Build.0 = Release|Win32
{B4A6B019-2A74-4906-B51C-2DF9640A34FF}.Debug|Win32.ActiveCfg = Debug|Win32
{B4A6B019-2A74-4906-B51C-2DF9640A34FF}.Debug|Win32.Build.0 = Debug|Win32
{B4A6B019-2A74-4906-B51C-2DF9640A34FF}.Release|Win32.ActiveCfg = Release|Win32
{B4A6B019-2A74-4906-B51C-2DF9640A34FF}.Release|Win32.Build.0 = Release|Win32
{D62C5EF0-E780-45BE-A246-7BA6B57B3828}.Debug|Win32.ActiveCfg = Debug|Win32
{D62C5EF0-E780-45BE-A246-7BA6B57B3828}.Debug|Win32.Build.0 = Debug|Win32
{D62C5EF0-E780-45BE-A246-7BA6B57B3828}.Release|Win32.ActiveCfg = Release|Win32
{D62C5EF0-E780-45BE-A246-7BA6B57B3828}.Release|Win32.Build.0 = Release|Win32
{170B6EB3-9A42-4B8D-B8A7-27FD6C6FA405}.Debug|Win32.ActiveCfg = Debug|Win32
{170B6EB3-9A42-4B8D-B8A7-27FD6C6FA405}.Debug|Win32.Build.0 = Debug|Win32
{170B6EB3-9A42-4B8D-B8A7-27FD6C6FA405}.Release|Win32.ActiveCfg = Release|Win32
{170B6EB3-9A42-4B8D-B8A7-27FD6C6FA405}.Release|Win32.Build.0 = Release|Win32
{97802D51-B18D-4EF1-8A88-58B1041ABE90}.Debug|Win32.ActiveCfg = Debug|Win32
{97802D51-B18D-4EF1-8A88-58B1041ABE90}.Debug|Win32.Build.0 = Debug|Win32
{97802D51-B18D-4EF1-8A88-58B1041ABE90}.Release|Win32.ActiveCfg = Release|Win32
{97802D51-B18D-4EF1-8A88-58B1041ABE90}.Release|Win32.Build.0 = Release|Win32
{D9D136CF-22E3-4139-9B16-18323C8073CD}.Debug|Win32.ActiveCfg = Debug|Win32
{D9D136CF-22E3-4139-9B16-18323C8073CD}.Debug|Win32.Build.0 = Debug|Win32
{D9D136CF-22E3-4139-9B16-18323C8073CD}.Release|Win32.ActiveCfg = Release|Win32
{D9D136CF-22E3-4139-9B16-18323C8073CD}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


C语言提高/days01/Code/01 → pedef的使用/01 파일 보기

@@ -0,0 +1,64 @@
//#define _CRT_SECURE_NO_WARNINGS //VS不建议使用传统库函数,如果不用这个宏,会出现一个错,编号:C4996
#include<stdio.h> // std 标准 i input 输入 o output 输出
#include<string.h> // strcpy strcmp strcat strstr
#include<stdlib.h> // malloc free
//1、typedef使用 简化结构体关键字 struct
//struct Person
//{
// char name[64];
// int age;
//};
//typedef struct Person myPerson;
//主要用途 给类型起别名
//语法 typedef 原名 别名
typedef struct Person
{
char name[64];
int age;
}myPerson;
void test01()
{
struct Person p1 = { "张三", 19 };
myPerson p2 = { "李四", 20 };
}
// 2、区分数据类型
void test02()
{
//char * p1, p2; //p1是char * 而 p2 是char
typedef char * PCHAR;
PCHAR p1, p2;
char *p3, *p4; // p3 和 p4都是char *
}
//3、提高代码移植性
typedef int MYINT; //typedef long long MYINT; 只需要替换 long long 就可以了
void test03()
{
MYINT a = 10;
MYINT a2 = 10;
}
//程序入口
int main1(){
system("pause"); // 按任意键暂停 阻塞功能
return EXIT_SUCCESS; //返回 正常退出值 0
}

C语言提高/days01/Code/01 → pedef的使用/01 파일 보기

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{8D377781-1E7A-4638-AC15-27FE79E7DD64}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>My01typedef的使用</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="01 typedef的使用.c" />
<ClCompile Include="test.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/01 파일 보기

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="01 typedef的使用.c">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="test.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/01 파일 보기

@@ -0,0 +1,12 @@
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\vc120.pdb
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\vc120.idb
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\01 typedef的使用.obj
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\debug\01 typedef的使用.ilk
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\debug\01 typedef的使用.exe
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\debug\01 typedef的使用.pdb
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\01 typedef的使用.tlog\cl.command.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\01 typedef的使用.tlog\cl.read.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\01 typedef的使用.tlog\cl.write.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\01 typedef的使用.tlog\link.command.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\01 typedef的使用.tlog\link.read.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\debug\01 typedef的使用.tlog\link.write.1.tlog

C语言提高/days01/Code/01 → pedef的使用/01 파일 보기

@@ -0,0 +1,6 @@
 01 typedef的使用.c
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\01 typedef的使用.c(41): warning C4101: “p4”: 未引用的局部变量
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\01 typedef的使用.c(38): warning C4101: “p2”: 未引用的局部变量
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\01 typedef的使用.c(41): warning C4101: “p3”: 未引用的局部变量
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\01 typedef的使用\01 typedef的使用.c(38): warning C4101: “p1”: 未引用的局部变量
01 typedef的使用.vcxproj -> E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\Debug\01 typedef的使用.exe

BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


C语言提高/days01/Code/01 → pedef的使用/01 파일 보기

@@ -0,0 +1,2 @@
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
Debug|Win32|E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\|

BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/01 파일 보기


C语言提高/days01/Code/01 → pedef的使用/01 파일 보기

@@ -0,0 +1,16 @@
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main(){
typedef char * PCHAR;
PCHAR p1, p2;
printf("p1 的类型为 %s \n", typeid(p1).name());
printf("p2 的类型为 %s \n", typeid(p2).name());
system("pause");
return EXIT_SUCCESS;
}

C语言提高/days01/Code/01 → pedef的使用/02 파일 보기

@@ -0,0 +1,58 @@
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
//1、无类型是不可以创建变量的
void test01()
{
//void a = 10; //编译器直接报错,因为不知道给a分配多少内存空间
}
//2、可以限定函数返回值
void func()
{
//return 10;
}
void test02()
{
//func();
//printf("%d\n", func());
}
//3、限定函数参数列表
int func2(void)
{
return 10;
}
void test03()
{
//printf("%d\n", func2(10));
}
//4、void * 万能指针
void test04()
{
void * p = NULL;
int * pInt = NULL;
char * pChar = NULL;
//pChar = (char *)pInt;
pChar = p; //万能指针 可以不需要强制类型转换就可以给等号左边赋值
printf("size of void * = %d\n", sizeof(p));
}
int main(){
//test02();
//test03();
test04();
system("pause");
return EXIT_SUCCESS;
}

C语言提高/days01/Code/01 → pedef的使用/02 파일 보기

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2FC9AD63-0AAF-42A3-9C32-DC1DFAFA384E}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>My02void的使用</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="02 void的使用.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/02 파일 보기

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="02 void的使用.c">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/02 파일 보기

@@ -0,0 +1,12 @@
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\vc120.pdb
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\vc120.idb
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\02 void的使用.obj
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\debug\02 void的使用.ilk
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\debug\02 void的使用.exe
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\debug\02 void的使用.pdb
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\02 void的使用.tlog\cl.command.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\02 void的使用.tlog\cl.read.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\02 void的使用.tlog\cl.write.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\02 void的使用.tlog\link.command.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\02 void的使用.tlog\link.read.1.tlog
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\02 void的使用\debug\02 void的使用.tlog\link.write.1.tlog

C语言提高/days01/Code/01 → pedef的使用/02 파일 보기

@@ -0,0 +1,2 @@
 02 void的使用.c
02 void的使用.vcxproj -> E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\Debug\02 void的使用.exe

BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


C语言提高/days01/Code/01 → pedef的使用/02 파일 보기

@@ -0,0 +1,2 @@
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
Debug|Win32|E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\|

BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/02 파일 보기


C语言提高/days01/Code/01 → pedef的使用/03 파일 보기

@@ -0,0 +1,68 @@
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
//1、sizeof本质, 是不是一个函数??? 不是函数,只是一个操作符,类似+-*/
void test01()
{
//对于数据类型 ,sizeof必须用()去使用,但是对于变量,可以不加()
printf("size of int = %d\n", sizeof(int));
double d = 3.14;
printf("size of d = %d\n", sizeof d );
}
//2、sizeof的返回值类型是什么 ? unsigned int 无符号整型
void test02()
{
//unsigned int a = 10;
//if (a - 20 > 0) //当unsigned int和int类型数据做运算,编译器会将数据类型都转为unsigned int
//{
// printf("大于 0 \n");
//}
//else
//{
// printf("小于 0 \n");
//}
if ( sizeof(int) - 5 > 0 )
{
printf("大于 0 %u \n", sizeof(int)-5);
}
else
{
printf("小于 0 \n");
}
}
//3、sizeof可以统计数组长度
//当数组名作为函数参数时候,会退化为指针,指向数组中第一个元素
void calculateArray( int arr[] )
{
printf("arr的数组长度: %d\n", sizeof(arr));
}
void test03()
{
int arr[] = { 1, 2, 3, 4, 5, 6, 7, 8 };
//printf("arr的数组长度: %d\n", sizeof(arr));
calculateArray(arr);
}
int main(){
//test01();
//test02();
test03();
system("pause");
return EXIT_SUCCESS;
}

C语言提高/days01/Code/01 → pedef的使用/03 파일 보기

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{B28D4540-4C90-4696-8329-E35D33AD7C73}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>My03sizeof的使用</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="03 sizeof的使用.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/03 파일 보기

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="03 sizeof的使用.c">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/03 파일 보기

@@ -0,0 +1,2 @@
 03 sizeof的使用.c
03 sizeof的使用.vcxproj -> E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\Debug\03 sizeof的使用.exe

BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


C语言提高/days01/Code/01 → pedef的使用/03 파일 보기

@@ -0,0 +1,2 @@
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
Debug|Win32|E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\|

BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/03 파일 보기


C语言提高/days01/Code/01 → pedef的使用/04 파일 보기

@@ -0,0 +1,56 @@
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
void test01()
{
int a = 10;
//直接修改
a = 20;
printf("a = %d\n", a);
//间接修改
int * p = &a;
*p = 100;
printf("a = %d\n", a);
}
//对于自定义数据类型
struct Person
{
char a; // 0 ~ 3
int b; // 4 ~ 7
char c; // 8 ~ 11
int d; // 12 ~ 15
};
void test02()
{
struct Person p1 = { 'a', 10, 'b', 20 };
//直接修改 d 属性
p1.d = 1000;
//间接修改 d 属性
struct Person * p = &p1;
// p->d = 2000;
//printf("%d\n", p);
//printf("%d\n", p+1);
char * pPerson = p;
printf("d = %d\n", *(int*)(pPerson + 12));
printf("d = %d\n", *(int*)((int*)pPerson +3) );
}
int main(){
//test01();
test02();
system("pause");
return EXIT_SUCCESS;
}

C语言提高/days01/Code/01 → pedef的使用/04 파일 보기

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{B4A6B019-2A74-4906-B51C-2DF9640A34FF}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>My04变量的修改方式</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="04 变量的修改方式.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/04 파일 보기

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="04 变量的修改方式.c">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/04 파일 보기

@@ -0,0 +1,3 @@
 04 变量的修改方式.c
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\04 变量的修改方式\04 变量的修改方式.c(43): warning C4133: “初始化”: 从“Person *”到“char *”的类型不兼容
04 变量的修改方式.vcxproj -> E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\Debug\04 变量的修改方式.exe

BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


C语言提高/days01/Code/01 → pedef的使用/04 파일 보기

@@ -0,0 +1,2 @@
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
Debug|Win32|E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\|

BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/04 파일 보기


C语言提高/days01/Code/01 → pedef的使用/05 파일 보기

@@ -0,0 +1,42 @@
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
//栈 注意事项 ,不要返回局部变量的地址
int * func()
{
int a = 10;
return &a;
}
void test01()
{
int * p = func();
//结果已经不重要了,因为a的内存已经被释放了,我们没有权限去操作这块内存
printf("a = %d\n", *p);
printf("a = %d\n", *p);
}
char * getString()
{
char str[] = "hello world";
return str;
}
void test02()
{
char * p = NULL;
p = getString();
printf("%s\n", p);
}
int main(){
//test01();
test02();
system("pause");
return EXIT_SUCCESS;
}

C语言提高/days01/Code/01 → pedef的使用/05 파일 보기

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D62C5EF0-E780-45BE-A246-7BA6B57B3828}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>My05栈区</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="05 栈区.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/05 파일 보기

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="05 栈区.c">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/05 파일 보기

@@ -0,0 +1,4 @@
 05 栈区.c
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\05 栈区\05 栈区.c(10): warning C4172: 返回局部变量或临时变量的地址
e:\0504\sendtostudent\day1_c\code\01 typedef的使用\05 栈区\05 栈区.c(26): warning C4172: 返回局部变量或临时变量的地址
05 栈区.vcxproj -> E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\Debug\05 栈区.exe

BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


C语言提高/days01/Code/01 → pedef的使用/05 파일 보기

@@ -0,0 +1,2 @@
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
Debug|Win32|E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\|

BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/05 파일 보기


C语言提高/days01/Code/01 → pedef的使用/06 파일 보기

@@ -0,0 +1,92 @@
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int * getSpace()
{
int * p = malloc(sizeof(int)* 5);
if (p == NULL)
{
return NULL;
}
for (int i = 0; i < 5;i++)
{
p[i] = i + 100;
}
return p;
}
void test01()
{
int * p = getSpace();
for (int i = 0; i < 5;i++)
{
printf("%d\n", p[i]);
}
//手动在堆区创建的数据,记得手动释放
free(p);
p = NULL;
}
//注意事项
//如果主调函数中没有给指针分配内存,被调函数用同级指针是修饰不到主调函数中的指针的
void allocateSpace( char * pp )
{
char * temp = malloc(100);
if (temp == NULL)
{
return;
}
memset(temp, 0, 100);
strcpy(temp, "hello world");
pp = temp;
}
void test02()
{
char * p = NULL;
allocateSpace(p);
printf("%s\n", p);
}
void allocateSpace2(char ** pp)
{
char * temp = malloc(100);
memset(temp, 0, 100);
strcpy(temp, "hello world");
*pp = temp;
}
void test03()
{
char * p = NULL;
allocateSpace2(&p);
printf("%s\n", p);
free(p);
p = NULL;
}
int main(){
//test01();
//test02();
test03();
system("pause");
return EXIT_SUCCESS;
}

C语言提高/days01/Code/01 → pedef的使用/06 파일 보기

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{170B6EB3-9A42-4B8D-B8A7-27FD6C6FA405}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>My06堆区</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="06 堆区.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/06 파일 보기

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="06 堆区.c">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/06 파일 보기

@@ -0,0 +1,2 @@
 06 堆区.c
06 堆区.vcxproj -> E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\Debug\06 堆区.exe

BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


C语言提高/days01/Code/01 → pedef的使用/06 파일 보기

@@ -0,0 +1,2 @@
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
Debug|Win32|E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\|

BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/06 파일 보기


C语言提高/days01/Code/01 → pedef的使用/07 파일 보기

@@ -0,0 +1,35 @@
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
//1、静态变量
static int a = 10; //特点:只初始化一次,在编译阶段就分配内存,属于内部链接属性,只能在当前文件中使用
void test01()
{
static int b = 20; //局部静态变量,作用域只能在当前test01中
//a 和 b的生命周期是一样的
}
//2、全局变量
extern int g_a = 100; //在C语言下 全局变量前都隐藏加了关键字 extern,属于外部链接属性
void test02()
{
extern int g_b;//告诉编译器 g_b是外部链接属性变量,下面在使用这个变量时候不要报错
printf("g_b = %d\n", g_b);
}
int main(){
test02();
system("pause");
return EXIT_SUCCESS;
}

C语言提高/days01/Code/01 → pedef的使用/07 파일 보기

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{97802D51-B18D-4EF1-8A88-58B1041ABE90}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>My07static和extern区别</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="07 static和extern区别.c" />
<ClCompile Include="test.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/07 파일 보기

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="07 static和extern区别.c">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="test.c">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>

C语言提高/days01/Code/01 → pedef的使用/07 파일 보기

@@ -0,0 +1,2 @@
#TargetFrameworkVersion=v4.0:PlatformToolSet=v120:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit
Debug|Win32|E:\0504\sendToStudent\Day1_C\Code\01 typedef的使用\|

BIN
C语言提高/days01/Code/01 → pedef的使用/07 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/07 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/07 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/07 파일 보기


BIN
C语言提高/days01/Code/01 → pedef的使用/07 파일 보기


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.

불러오는 중...
취소
저장