Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Prog1_WS2017_18_Wienkop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Uwe Wienkop
Prog1_WS2017_18_Wienkop
Commits
bc8aa5f2
Commit
bc8aa5f2
authored
Dec 19, 2017
by
Uwe Wienkop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Klimadaten
parent
116fe9c8
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
21740 additions
and
5 deletions
+21740
-5
Prog1_WS2017-18/10WortweiseZerlegung/Program.cs
Prog1_WS2017-18/10WortweiseZerlegung/Program.cs
+1
-1
Prog1_WS2017-18/11KlasseDVD_WS1415/Program.cs
Prog1_WS2017-18/11KlasseDVD_WS1415/Program.cs
+8
-2
Prog1_WS2017-18/11Klimaerwaermung/11Klimaerwaermung.csproj
Prog1_WS2017-18/11Klimaerwaermung/11Klimaerwaermung.csproj
+63
-0
Prog1_WS2017-18/11Klimaerwaermung/App.config
Prog1_WS2017-18/11Klimaerwaermung/App.config
+6
-0
Prog1_WS2017-18/11Klimaerwaermung/Klimadaten.txt
Prog1_WS2017-18/11Klimaerwaermung/Klimadaten.txt
+21462
-0
Prog1_WS2017-18/11Klimaerwaermung/Program.cs
Prog1_WS2017-18/11Klimaerwaermung/Program.cs
+15
-0
Prog1_WS2017-18/11Klimaerwaermung/Properties/AssemblyInfo.cs
Prog1_WS2017-18/11Klimaerwaermung/Properties/AssemblyInfo.cs
+36
-0
Prog1_WS2017-18/11Konstruktoren/Program.cs
Prog1_WS2017-18/11Konstruktoren/Program.cs
+2
-2
Prog1_WS2017-18/11Suchen/11Suchen.csproj
Prog1_WS2017-18/11Suchen/11Suchen.csproj
+60
-0
Prog1_WS2017-18/11Suchen/App.config
Prog1_WS2017-18/11Suchen/App.config
+6
-0
Prog1_WS2017-18/11Suchen/Program.cs
Prog1_WS2017-18/11Suchen/Program.cs
+33
-0
Prog1_WS2017-18/11Suchen/Properties/AssemblyInfo.cs
Prog1_WS2017-18/11Suchen/Properties/AssemblyInfo.cs
+36
-0
Prog1_WS2017-18/Prog1_WS2017-18.sln
Prog1_WS2017-18/Prog1_WS2017-18.sln
+12
-0
No files found.
Prog1_WS2017-18/10WortweiseZerlegung/Program.cs
View file @
bc8aa5f2
...
...
@@ -29,7 +29,7 @@ namespace _10WortweiseZerlegung
foreach
(
string
wort
in
woerter
)
{
Console
.
WriteLine
(
wort
);
sprachausgabe
.
Speak
Async
(
wort
);
sprachausgabe
.
Speak
(
wort
);
}
}
...
...
Prog1_WS2017-18/11KlasseDVD_WS1415/Program.cs
View file @
bc8aa5f2
...
...
@@ -39,8 +39,14 @@ namespace _11KlasseDVD_WS1415
return
erg
;
}
}
public
static
DVD
Suche
(
DVD
[]
dvd
s
,
string
darsteller
,
Genre
genre
)
public
static
DVD
Suche
(
DVD
[]
dvd
Feld
,
string
darsteller
,
Genre
genre
)
{
foreach
(
DVD
dvd
in
dvdFeld
)
{
if
(
dvd
.
Genre
==
genre
&&
dvd
.
Darsteller
.
Contains
(
darsteller
))
return
dvd
;
}
return
null
;
}
}
...
...
@@ -51,7 +57,7 @@ namespace _11KlasseDVD_WS1415
string
[]
darst
=
{
"keineAhnung"
,
"Depp"
};
DVD
[]
dvdfeld
=
{
new
DVD
(
Genre
.
Drama
,
"Karibik"
,
darst
),
new
DVD
(
Genre
.
SciFi
,
"StarWars"
,
"R2D2"
)
new
DVD
(
Genre
.
SciFi
,
"StarWars"
,
"R2D2"
,
"C3PO"
)
};
DVD
.
Suche
(
dvdfeld
,
"R2D2"
,
Genre
.
SciFi
);
darst
[
0
]
=
"-------"
;
...
...
Prog1_WS2017-18/11Klimaerwaermung/11Klimaerwaermung.csproj
0 → 100644
View file @
bc8aa5f2
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"14.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{E5A64563-1C88-4C05-9298-AE03A93D1E49}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
_11Klimaerwaermung
</RootNamespace>
<AssemblyName>
11Klimaerwaermung
</AssemblyName>
<TargetFrameworkVersion>
v4.5.2
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<ItemGroup>
<Content
Include=
"Klimadaten.txt"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file
Prog1_WS2017-18/11Klimaerwaermung/App.config
0 → 100644
View file @
bc8aa5f2
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.5.2"
/>
</
startup
>
</
configuration
>
\ No newline at end of file
Prog1_WS2017-18/11Klimaerwaermung/Klimadaten.txt
0 → 100644
View file @
bc8aa5f2
This diff is collapsed.
Click to expand it.
Prog1_WS2017-18/11Klimaerwaermung/Program.cs
0 → 100644
View file @
bc8aa5f2
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
_11Klimaerwaermung
{
class
Program
{
static
void
Main
(
string
[]
args
)
{
}
}
}
Prog1_WS2017-18/11Klimaerwaermung/Properties/AssemblyInfo.cs
0 → 100644
View file @
bc8aa5f2
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[
assembly
:
AssemblyTitle
(
"11Klimaerwaermung"
)]
[
assembly
:
AssemblyDescription
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyProduct
(
"11Klimaerwaermung"
)]
[
assembly
:
AssemblyCopyright
(
"Copyright © 2017"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyCulture
(
""
)]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[
assembly
:
ComVisible
(
false
)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[
assembly
:
Guid
(
"e5a64563-1c88-4c05-9298-ae03a93d1e49"
)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[
assembly
:
AssemblyVersion
(
"1.0.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.0.0.0"
)]
Prog1_WS2017-18/11Konstruktoren/Program.cs
View file @
bc8aa5f2
...
...
@@ -24,8 +24,8 @@ namespace _11Konstruktoren
{
static
void
Main
(
string
[]
args
)
{
xyz
o1
=
new
xyz
(
2
,
3
);
xyz
o2
=
new
xyz
(
4
,
5
,
"Hallo"
,
"Welt"
);
//
xyz o1 = new xyz(2, 3);
//
xyz o2 = new xyz(4, 5, "Hallo", "Welt");
}
}
}
Prog1_WS2017-18/11Suchen/11Suchen.csproj
0 → 100644
View file @
bc8aa5f2
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"14.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition=
"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{270698DF-A548-4031-802D-4FDAC2691695}
</ProjectGuid>
<OutputType>
Exe
</OutputType>
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
_11Suchen
</RootNamespace>
<AssemblyName>
11Suchen
</AssemblyName>
<TargetFrameworkVersion>
v4.5.2
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<AutoGenerateBindingRedirects>
true
</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "
>
<PlatformTarget>
AnyCPU
</PlatformTarget>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"Microsoft.CSharp"
/>
<Reference
Include=
"System.Data"
/>
<Reference
Include=
"System.Net.Http"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"Program.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"App.config"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file
Prog1_WS2017-18/11Suchen/App.config
0 → 100644
View file @
bc8aa5f2
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.5.2"
/>
</
startup
>
</
configuration
>
\ No newline at end of file
Prog1_WS2017-18/11Suchen/Program.cs
0 → 100644
View file @
bc8aa5f2
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
_11Suchen
{
class
Program
{
public
static
string
Suchen
(
string
[]
namen
,
string
text
)
{
string
gefunden
=
null
;
foreach
(
string
name
in
namen
)
{
if
(
name
.
Contains
(
text
)==
true
)
{
gefunden
=
name
;
break
;
}
//else // ACHTUNG!!! Kein else nötig und sogar sehr gefährlich,
// // denn ohne Break wäre das Programm FALSCH!
// gefunden = "";
}
return
gefunden
;
}
static
void
Main
(
string
[]
args
)
{
string
[]
sfeld
=
{
"Anton"
,
"Berta"
,
"Claudia"
,
"Dieter"
,
"Emil"
};
Console
.
WriteLine
(
Suchen
(
sfeld
,
"au"
));
}
}
}
Prog1_WS2017-18/11Suchen/Properties/AssemblyInfo.cs
0 → 100644
View file @
bc8aa5f2
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[
assembly
:
AssemblyTitle
(
"11Suchen"
)]
[
assembly
:
AssemblyDescription
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyProduct
(
"11Suchen"
)]
[
assembly
:
AssemblyCopyright
(
"Copyright © 2017"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyCulture
(
""
)]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[
assembly
:
ComVisible
(
false
)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[
assembly
:
Guid
(
"270698df-a548-4031-802d-4fdac2691695"
)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[
assembly
:
AssemblyVersion
(
"1.0.0.0"
)]
[
assembly
:
AssemblyFileVersion
(
"1.0.0.0"
)]
Prog1_WS2017-18/Prog1_WS2017-18.sln
View file @
bc8aa5f2
...
...
@@ -91,6 +91,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "11Konstruktoren", "11Konstr
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "11KlasseDVD_WS1415", "11KlasseDVD_WS1415\11KlasseDVD_WS1415.csproj", "{CEEDA52F-A995-421D-8ABD-D0DC5AE095ED}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "11Suchen", "11Suchen\11Suchen.csproj", "{270698DF-A548-4031-802D-4FDAC2691695}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "11Klimaerwaermung", "11Klimaerwaermung\11Klimaerwaermung.csproj", "{E5A64563-1C88-4C05-9298-AE03A93D1E49}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
@@ -261,6 +265,14 @@ Global
{CEEDA52F-A995-421D-8ABD-D0DC5AE095ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CEEDA52F-A995-421D-8ABD-D0DC5AE095ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CEEDA52F-A995-421D-8ABD-D0DC5AE095ED}.Release|Any CPU.Build.0 = Release|Any CPU
{270698DF-A548-4031-802D-4FDAC2691695}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{270698DF-A548-4031-802D-4FDAC2691695}.Debug|Any CPU.Build.0 = Debug|Any CPU
{270698DF-A548-4031-802D-4FDAC2691695}.Release|Any CPU.ActiveCfg = Release|Any CPU
{270698DF-A548-4031-802D-4FDAC2691695}.Release|Any CPU.Build.0 = Release|Any CPU
{E5A64563-1C88-4C05-9298-AE03A93D1E49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E5A64563-1C88-4C05-9298-AE03A93D1E49}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E5A64563-1C88-4C05-9298-AE03A93D1E49}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E5A64563-1C88-4C05-9298-AE03A93D1E49}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment