Auto commit
This commit is contained in:
parent
b6af2f583e
commit
ec68bc0763
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/CL.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/CL.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/CL.write.1.tlog
Normal file
Binary file not shown.
10
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.exe.intermediate.manifest
Normal file
10
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.exe.intermediate.manifest
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
10
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.exe.manifest
Normal file
10
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.exe.manifest
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.ilk
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.ilk
Normal file
Binary file not shown.
2
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.lastbuildstate
Normal file
2
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
||||
#v4.0:v100
|
||||
Debug|Win32|C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\1\|
|
22
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.log
Normal file
22
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.log
Normal file
@ -0,0 +1,22 @@
|
||||
生成启动时间为 2025/3/4 18:41:23。
|
||||
1>项目“C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\1\Prog1.vcxproj”在节点 2 上(build 个目标)。
|
||||
1>InitializeBuildStatus:
|
||||
正在创建“Debug\Prog1.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
|
||||
ClCompile:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:prompt Prog1.C
|
||||
Prog1.C
|
||||
1>c:\ttlxexam\67d4e6f97b984d8ba1626458f478ced9\ck\1\prog1.c(10): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||
c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(304) : 参见“scanf”的声明
|
||||
Link:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\1\Debug\Prog1.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Debug\Prog1.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\1\Debug\Prog1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\1\Debug\Prog1.lib" /MACHINE:X86 Debug\Prog1.obj
|
||||
Prog1.vcxproj -> C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\1\Debug\Prog1.exe
|
||||
Manifest:
|
||||
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\1\Debug\Prog1.exe.manifest" /manifest Debug\Prog1.exe.intermediate.manifest
|
||||
FinalizeBuildStatus:
|
||||
正在删除文件“Debug\Prog1.unsuccessfulbuild”。
|
||||
正在对“Debug\Prog1.lastbuildstate”执行 Touch 任务。
|
||||
1>已完成生成项目“C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\1\Prog1.vcxproj”(build 个目标)的操作。
|
||||
|
||||
生成成功。
|
||||
|
||||
已用时间 00:00:00.92
|
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.obj
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.obj
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.pdb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.pdb
Normal file
Binary file not shown.
Binary file not shown.
0
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.write.1.tlog
Normal file
0
2207/天天乐学答案/C语言/3-4/1/Debug/Prog1.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/cl.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/cl.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/link.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/link.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/link.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/link.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/link.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/link.write.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/mt.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/mt.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/mt.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/mt.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/mt.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/mt.write.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/vc100.idb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/vc100.idb
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/vc100.pdb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Debug/vc100.pdb
Normal file
Binary file not shown.
20
2207/天天乐学答案/C语言/3-4/1/Prog1.c
Normal file
20
2207/天天乐学答案/C语言/3-4/1/Prog1.c
Normal file
@ -0,0 +1,20 @@
|
||||
/*-------------------------------------------------------
|
||||
编程计算:s=1×2×3×……×n (n由键盘输入,使用for循环)
|
||||
-------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
main()
|
||||
{
|
||||
int i,n,p;
|
||||
p=1;
|
||||
printf("请输入一个正整数n:");
|
||||
scanf("%d",&n);
|
||||
/**********Program**********/
|
||||
for(i=2;i<=n;i++){
|
||||
p*=i;
|
||||
}
|
||||
|
||||
/********** End **********/
|
||||
printf("1*2*...*%d = %d\n",n,p);
|
||||
}
|
||||
|
||||
|
BIN
2207/天天乐学答案/C语言/3-4/1/Prog1.sdf
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Prog1.sdf
Normal file
Binary file not shown.
19
2207/天天乐学答案/C语言/3-4/1/Prog1.sln
Normal file
19
2207/天天乐学答案/C语言/3-4/1/Prog1.sln
Normal file
@ -0,0 +1,19 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual C++ Express 2010
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Prog1", "Prog1.vcxproj", "{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
BIN
2207/天天乐学答案/C语言/3-4/1/Prog1.suo
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/Prog1.suo
Normal file
Binary file not shown.
85
2207/天天乐学答案/C语言/3-4/1/Prog1.vcxproj
Normal file
85
2207/天天乐学答案/C语言/3-4/1/Prog1.vcxproj
Normal file
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.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>{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>Prog1</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<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>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
</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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Prog1.C" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
22
2207/天天乐学答案/C语言/3-4/1/Prog1.vcxproj.filters
Normal file
22
2207/天天乐学答案/C语言/3-4/1/Prog1.vcxproj.filters
Normal file
@ -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;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="Prog1.C">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
3
2207/天天乐学答案/C语言/3-4/1/Prog1.vcxproj.user
Normal file
3
2207/天天乐学答案/C语言/3-4/1/Prog1.vcxproj.user
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
</Project>
|
BIN
2207/天天乐学答案/C语言/3-4/1/ipch/prog1-7923fa1c/prog1-8609c275.ipch
Normal file
BIN
2207/天天乐学答案/C语言/3-4/1/ipch/prog1-7923fa1c/prog1-8609c275.ipch
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/CL.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/CL.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/CL.write.1.tlog
Normal file
Binary file not shown.
10
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.exe.intermediate.manifest
Normal file
10
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.exe.intermediate.manifest
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
10
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.exe.manifest
Normal file
10
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.exe.manifest
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.ilk
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.ilk
Normal file
Binary file not shown.
2
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.lastbuildstate
Normal file
2
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
||||
#v4.0:v100
|
||||
Debug|Win32|C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\10\|
|
23
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.log
Normal file
23
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.log
Normal file
@ -0,0 +1,23 @@
|
||||
生成启动时间为 2025/3/4 19:33:04。
|
||||
1>项目“C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\10\Prog1.vcxproj”在节点 2 上(build 个目标)。
|
||||
1>InitializeBuildStatus:
|
||||
正在创建“Debug\Prog1.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
|
||||
ClCompile:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:prompt Prog1.C
|
||||
Prog1.C
|
||||
1>c:\ttlxexam\67d4e6f97b984d8ba1626458f478ced9\ck\10\prog1.c(11): warning C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
|
||||
c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(304) : 参见“scanf”的声明
|
||||
1>c:\ttlxexam\67d4e6f97b984d8ba1626458f478ced9\ck\10\prog1.c(7): warning C4101: “j”: 未引用的局部变量
|
||||
Link:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\10\Debug\Prog1.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Debug\Prog1.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\10\Debug\Prog1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\10\Debug\Prog1.lib" /MACHINE:X86 Debug\Prog1.obj
|
||||
Prog1.vcxproj -> C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\10\Debug\Prog1.exe
|
||||
Manifest:
|
||||
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\10\Debug\Prog1.exe.manifest" /manifest Debug\Prog1.exe.intermediate.manifest
|
||||
FinalizeBuildStatus:
|
||||
正在删除文件“Debug\Prog1.unsuccessfulbuild”。
|
||||
正在对“Debug\Prog1.lastbuildstate”执行 Touch 任务。
|
||||
1>已完成生成项目“C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\10\Prog1.vcxproj”(build 个目标)的操作。
|
||||
|
||||
生成成功。
|
||||
|
||||
已用时间 00:00:00.93
|
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.obj
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.obj
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.pdb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.pdb
Normal file
Binary file not shown.
Binary file not shown.
0
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.write.1.tlog
Normal file
0
2207/天天乐学答案/C语言/3-4/10/Debug/Prog1.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/cl.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/cl.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/link.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/link.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/link.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/link.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/link.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/link.write.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/mt.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/mt.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/mt.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/mt.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/mt.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/mt.write.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/vc100.idb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/vc100.idb
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/vc100.pdb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Debug/vc100.pdb
Normal file
Binary file not shown.
23
2207/天天乐学答案/C语言/3-4/10/Prog1.c
Normal file
23
2207/天天乐学答案/C语言/3-4/10/Prog1.c
Normal file
@ -0,0 +1,23 @@
|
||||
/*-------------------------------------------------------
|
||||
编程计算:s=1!+3!+5!+…n! (n由键盘输入,使用for循环)
|
||||
-------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
main()
|
||||
{
|
||||
int i,j,n;
|
||||
long p,sum;
|
||||
sum=0;
|
||||
printf("请输入一个正整数n:");
|
||||
scanf("%d",&n);
|
||||
/**********Program**********/
|
||||
p = 1;
|
||||
for ( i = 1;i <= n; i++ ) {
|
||||
p *= i;
|
||||
if ( i%2 == 1 ) {
|
||||
sum += p;
|
||||
}
|
||||
}
|
||||
|
||||
/********** End **********/
|
||||
printf("1!+3!+...+%d!= %d\n",n,sum);
|
||||
}
|
BIN
2207/天天乐学答案/C语言/3-4/10/Prog1.sdf
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Prog1.sdf
Normal file
Binary file not shown.
19
2207/天天乐学答案/C语言/3-4/10/Prog1.sln
Normal file
19
2207/天天乐学答案/C语言/3-4/10/Prog1.sln
Normal file
@ -0,0 +1,19 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual C++ Express 2010
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Prog1", "Prog1.vcxproj", "{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
BIN
2207/天天乐学答案/C语言/3-4/10/Prog1.suo
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/Prog1.suo
Normal file
Binary file not shown.
85
2207/天天乐学答案/C语言/3-4/10/Prog1.vcxproj
Normal file
85
2207/天天乐学答案/C语言/3-4/10/Prog1.vcxproj
Normal file
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.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>{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>Prog1</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<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>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
</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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Prog1.C" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
22
2207/天天乐学答案/C语言/3-4/10/Prog1.vcxproj.filters
Normal file
22
2207/天天乐学答案/C语言/3-4/10/Prog1.vcxproj.filters
Normal file
@ -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;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="Prog1.C">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
3
2207/天天乐学答案/C语言/3-4/10/Prog1.vcxproj.user
Normal file
3
2207/天天乐学答案/C语言/3-4/10/Prog1.vcxproj.user
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
</Project>
|
BIN
2207/天天乐学答案/C语言/3-4/10/ipch/prog1-56ab85ec/prog1-8609c275.ipch
Normal file
BIN
2207/天天乐学答案/C语言/3-4/10/ipch/prog1-56ab85ec/prog1-8609c275.ipch
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/CL.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/CL.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/CL.write.1.tlog
Normal file
Binary file not shown.
10
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.exe.intermediate.manifest
Normal file
10
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.exe.intermediate.manifest
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
10
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.exe.manifest
Normal file
10
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.exe.manifest
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.ilk
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.ilk
Normal file
Binary file not shown.
2
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.lastbuildstate
Normal file
2
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
||||
#v4.0:v100
|
||||
Debug|Win32|C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\11\|
|
20
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.log
Normal file
20
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.log
Normal file
@ -0,0 +1,20 @@
|
||||
生成启动时间为 2025/3/4 19:38:56。
|
||||
1>项目“C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\11\Prog1.vcxproj”在节点 2 上(build 个目标)。
|
||||
1>InitializeBuildStatus:
|
||||
正在创建“Debug\Prog1.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
|
||||
ClCompile:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:prompt Prog1.C
|
||||
Prog1.C
|
||||
Link:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\11\Debug\Prog1.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Debug\Prog1.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\11\Debug\Prog1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\11\Debug\Prog1.lib" /MACHINE:X86 Debug\Prog1.obj
|
||||
Prog1.vcxproj -> C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\11\Debug\Prog1.exe
|
||||
Manifest:
|
||||
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\11\Debug\Prog1.exe.manifest" /manifest Debug\Prog1.exe.intermediate.manifest
|
||||
FinalizeBuildStatus:
|
||||
正在删除文件“Debug\Prog1.unsuccessfulbuild”。
|
||||
正在对“Debug\Prog1.lastbuildstate”执行 Touch 任务。
|
||||
1>已完成生成项目“C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\11\Prog1.vcxproj”(build 个目标)的操作。
|
||||
|
||||
生成成功。
|
||||
|
||||
已用时间 00:00:00.46
|
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.obj
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.obj
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.pdb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.pdb
Normal file
Binary file not shown.
0
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.write.1.tlog
Normal file
0
2207/天天乐学答案/C语言/3-4/11/Debug/Prog1.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/cl.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/cl.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/link.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/link.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/link.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/link.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/link.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/link.write.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/mt.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/mt.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/mt.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/mt.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/mt.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/mt.write.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/vc100.idb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/vc100.idb
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/vc100.pdb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Debug/vc100.pdb
Normal file
Binary file not shown.
25
2207/天天乐学答案/C语言/3-4/11/Prog1.c
Normal file
25
2207/天天乐学答案/C语言/3-4/11/Prog1.c
Normal file
@ -0,0 +1,25 @@
|
||||
/*-------------------------------------------------------
|
||||
编程计算求e近似值:
|
||||
用while语句求直到最后一项值小于10-5为止。
|
||||
e=0+1+1/1+1/1/2+1/1/2/3...
|
||||
-------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
main()
|
||||
{
|
||||
int i;
|
||||
double t,e;
|
||||
i=1;
|
||||
t=1.0;
|
||||
e=0;
|
||||
/**********Program**********/
|
||||
e = 2;
|
||||
i = 2;
|
||||
while(t/i > 1e-5){
|
||||
e += t/i;
|
||||
t /= i++;
|
||||
}
|
||||
|
||||
/********** End **********/
|
||||
printf("e=%f\n",e);
|
||||
}
|
||||
|
BIN
2207/天天乐学答案/C语言/3-4/11/Prog1.sdf
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Prog1.sdf
Normal file
Binary file not shown.
19
2207/天天乐学答案/C语言/3-4/11/Prog1.sln
Normal file
19
2207/天天乐学答案/C语言/3-4/11/Prog1.sln
Normal file
@ -0,0 +1,19 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual C++ Express 2010
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Prog1", "Prog1.vcxproj", "{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
BIN
2207/天天乐学答案/C语言/3-4/11/Prog1.suo
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/Prog1.suo
Normal file
Binary file not shown.
85
2207/天天乐学答案/C语言/3-4/11/Prog1.vcxproj
Normal file
85
2207/天天乐学答案/C语言/3-4/11/Prog1.vcxproj
Normal file
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.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>{D20AC217-6584-4C9F-87B2-CE50A8A2BF53}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>Prog1</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<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>
|
||||
<EmbedManifest>false</EmbedManifest>
|
||||
</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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Prog1.C" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
22
2207/天天乐学答案/C语言/3-4/11/Prog1.vcxproj.filters
Normal file
22
2207/天天乐学答案/C语言/3-4/11/Prog1.vcxproj.filters
Normal file
@ -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;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="Prog1.C">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
3
2207/天天乐学答案/C语言/3-4/11/Prog1.vcxproj.user
Normal file
3
2207/天天乐学答案/C语言/3-4/11/Prog1.vcxproj.user
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
</Project>
|
BIN
2207/天天乐学答案/C语言/3-4/11/ipch/prog1-f9f2f3ad/prog1-8609c275.ipch
Normal file
BIN
2207/天天乐学答案/C语言/3-4/11/ipch/prog1-f9f2f3ad/prog1-8609c275.ipch
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/CL.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/CL.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/CL.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/CL.write.1.tlog
Normal file
Binary file not shown.
10
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.exe.intermediate.manifest
Normal file
10
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.exe.intermediate.manifest
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
10
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.exe.manifest
Normal file
10
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.exe.manifest
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.ilk
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.ilk
Normal file
Binary file not shown.
2
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.lastbuildstate
Normal file
2
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
||||
#v4.0:v100
|
||||
Debug|Win32|C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\12\|
|
20
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.log
Normal file
20
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.log
Normal file
@ -0,0 +1,20 @@
|
||||
生成启动时间为 2025/3/4 19:42:51。
|
||||
1>项目“C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\12\Prog1.vcxproj”在节点 2 上(build 个目标)。
|
||||
1>InitializeBuildStatus:
|
||||
正在创建“Debug\Prog1.unsuccessfulbuild”,因为已指定“AlwaysCreate”。
|
||||
ClCompile:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TC /analyze- /errorReport:prompt Prog1.C
|
||||
Prog1.C
|
||||
Link:
|
||||
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\12\Debug\Prog1.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Debug\Prog1.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\12\Debug\Prog1.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\12\Debug\Prog1.lib" /MACHINE:X86 Debug\Prog1.obj
|
||||
Prog1.vcxproj -> C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\12\Debug\Prog1.exe
|
||||
Manifest:
|
||||
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\12\Debug\Prog1.exe.manifest" /manifest Debug\Prog1.exe.intermediate.manifest
|
||||
FinalizeBuildStatus:
|
||||
正在删除文件“Debug\Prog1.unsuccessfulbuild”。
|
||||
正在对“Debug\Prog1.lastbuildstate”执行 Touch 任务。
|
||||
1>已完成生成项目“C:\TTLXExam\67d4e6f97b984d8ba1626458f478ced9\CK\12\Prog1.vcxproj”(build 个目标)的操作。
|
||||
|
||||
生成成功。
|
||||
|
||||
已用时间 00:00:00.46
|
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.obj
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.obj
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.pdb
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.pdb
Normal file
Binary file not shown.
0
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.write.1.tlog
Normal file
0
2207/天天乐学答案/C语言/3-4/12/Debug/Prog1.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/cl.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/cl.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/link.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/link.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/link.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/link.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/link.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/link.write.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/mt.command.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/mt.command.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/mt.read.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/mt.read.1.tlog
Normal file
Binary file not shown.
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/mt.write.1.tlog
Normal file
BIN
2207/天天乐学答案/C语言/3-4/12/Debug/mt.write.1.tlog
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user