-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
935 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Project: Project1 | ||
# Makefile created by Dev-C++ 5.11 | ||
|
||
CPP = g++.exe | ||
CC = gcc.exe | ||
WINDRES = windres.exe | ||
OBJ = police.o chor.o main.o Untitled1.o | ||
LINKOBJ = police.o chor.o main.o Untitled1.o | ||
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib32" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32" -static-libgcc -lbgi -lgdi32 -luser32 -m32 | ||
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" | ||
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++" | ||
BIN = Project1.exe | ||
CXXFLAGS = $(CXXINCS) -m32 | ||
CFLAGS = $(INCS) -m32 | ||
RM = rm.exe -f | ||
|
||
.PHONY: all all-before all-after clean clean-custom | ||
|
||
all: all-before $(BIN) all-after | ||
|
||
clean: clean-custom | ||
${RM} $(OBJ) $(BIN) | ||
|
||
$(BIN): $(OBJ) | ||
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS) | ||
|
||
police.o: police.cpp | ||
$(CPP) -c police.cpp -o police.o $(CXXFLAGS) | ||
|
||
chor.o: chor.cpp | ||
$(CPP) -c chor.cpp -o chor.o $(CXXFLAGS) | ||
|
||
main.o: main.cpp | ||
$(CPP) -c main.cpp -o main.o $(CXXFLAGS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
[Project] | ||
FileName=Project1.dev | ||
Name=Project1 | ||
Type=1 | ||
Ver=2 | ||
ObjFiles= | ||
Includes= | ||
Libs= | ||
PrivateResource= | ||
ResourceIncludes= | ||
MakeIncludes= | ||
Compiler= | ||
CppCompiler= | ||
Linker=-lbgi -lgdi32 -luser32 | ||
IsCpp=1 | ||
Icon= | ||
ExeOutput= | ||
ObjectOutput= | ||
LogOutput= | ||
LogOutputEnabled=0 | ||
OverrideOutput=0 | ||
OverrideOutputName= | ||
HostApplication= | ||
UseCustomMakefile=0 | ||
CustomMakefile= | ||
CommandLine= | ||
Folders= | ||
IncludeVersionInfo=0 | ||
SupportXPThemes=0 | ||
CompilerSet=3 | ||
CompilerSettings=0000000100000000000000000 | ||
UnitCount=6 | ||
|
||
[VersionInfo] | ||
Major=1 | ||
Minor=0 | ||
Release=0 | ||
Build=0 | ||
LanguageID=1033 | ||
CharsetID=1252 | ||
CompanyName= | ||
FileVersion= | ||
FileDescription=Developed using the Dev-C++ IDE | ||
InternalName= | ||
LegalCopyright= | ||
LegalTrademarks= | ||
OriginalFilename= | ||
ProductName= | ||
ProductVersion= | ||
AutoIncBuildNr=0 | ||
SyncProduct=1 | ||
|
||
[Unit2] | ||
FileName=chor.h | ||
CompileCpp=1 | ||
Folder= | ||
Compile=1 | ||
Link=1 | ||
Priority=1000 | ||
OverrideBuildCmd=0 | ||
BuildCmd= | ||
|
||
[Unit3] | ||
FileName=police.cpp | ||
CompileCpp=1 | ||
Folder= | ||
Compile=1 | ||
Link=1 | ||
Priority=1000 | ||
OverrideBuildCmd=0 | ||
BuildCmd= | ||
|
||
[Unit5] | ||
FileName=main.cpp | ||
CompileCpp=1 | ||
Folder= | ||
Compile=1 | ||
Link=1 | ||
Priority=1000 | ||
OverrideBuildCmd=0 | ||
BuildCmd= | ||
|
||
[Unit4] | ||
FileName=chor.cpp | ||
CompileCpp=1 | ||
Folder= | ||
Compile=1 | ||
Link=1 | ||
Priority=1000 | ||
OverrideBuildCmd=0 | ||
BuildCmd= | ||
|
||
[Unit6] | ||
FileName=Untitled1 | ||
CompileCpp=1 | ||
Folder= | ||
Compile=1 | ||
Link=1 | ||
Priority=1000 | ||
OverrideBuildCmd=0 | ||
BuildCmd= | ||
|
||
[Unit1] | ||
FileName=police.h | ||
CompileCpp=1 | ||
Folder= | ||
Compile=1 | ||
Link=1 | ||
Priority=1000 | ||
OverrideBuildCmd=0 | ||
BuildCmd= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[Editors] | ||
Order=4,3,1,2,0 | ||
Focused=4 | ||
[Editor_0] | ||
CursorCol=3 | ||
CursorRow=17 | ||
TopLine=9 | ||
LeftChar=1 | ||
[Editor_1] | ||
CursorCol=1 | ||
CursorRow=27 | ||
TopLine=11 | ||
LeftChar=1 | ||
[Editor_2] | ||
CursorCol=10 | ||
CursorRow=32 | ||
TopLine=24 | ||
LeftChar=1 | ||
[Editor_3] | ||
CursorCol=10 | ||
CursorRow=31 | ||
TopLine=22 | ||
LeftChar=1 | ||
[Editor_4] | ||
CursorCol=1 | ||
CursorRow=39 | ||
TopLine=452 | ||
LeftChar=1 | ||
[Editor_5] | ||
CursorCol=1 | ||
CursorRow=1 | ||
TopLine=1 | ||
LeftChar=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
#include "chor.h" | ||
Chor::Chor() { | ||
x_c=200; | ||
y_c=200; | ||
radius_c=10; | ||
} | ||
Chor::Chor(int x_c, int y_c) { | ||
this->x_c=x_c; | ||
this->y_c=y_c; | ||
} | ||
int Chor::get_x() { | ||
return x_c; | ||
} | ||
int Chor::get_y() { | ||
return y_c; | ||
} | ||
void Chor::set_x(int horz_x) { | ||
this->x_c=x_c; | ||
} | ||
void Chor::set_y(int vert_y) { | ||
this->y_c=y_c; | ||
} | ||
void Chor::chorCircle(int x_c, int y_c, int radius_c) | ||
{ | ||
circle(x_c, y_c,radius_p); | ||
} | ||
Chor::~Chor() { | ||
x_c=0; | ||
y_c=0; | ||
}*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
class Chor { | ||
private: | ||
int x_c; | ||
int y_p; | ||
int radius_c; | ||
public: | ||
Chor(); //Default constructor | ||
Chor(int, int); //Paramaeterized COnstructor | ||
int get_x(); //getter for x | ||
int get_y(); //getter for y | ||
void set_x(int); //setter for x | ||
void set_y(int); //setter for y | ||
void chorCircle(int, int, int); | ||
~Chor(); //destructor of class Chor | ||
}; | ||
*/ |
Oops, something went wrong.