Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
Project 3 Star Gazing
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Walsh
Project 3 Star Gazing
Commits
aa104ca1
Commit
aa104ca1
authored
Mar 19, 2019
by
Brandon Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autosave
parent
bd8d1f68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
Countries/countries.cpp
Countries/countries.cpp
+3
-8
No files found.
Countries/countries.cpp
View file @
aa104ca1
...
...
@@ -10,8 +10,6 @@ using namespace std;
pair
<
double
,
double
>
longAndLat
()
{
ifstream
fin
;
fin
.
open
(
"countries.txt"
);
ifstream
filestream
(
"countries.txt"
);
print
(
"Print this"
,
filestream
);
//variables
vector
<
pair
<
double
,
double
>>
coordinateVector
;
...
...
@@ -24,7 +22,9 @@ pair<double, double> longAndLat () {
exit
(
1
);
}
while
(
!
fin
.
eof
())
{
pair
<
double
,
double
>
tempPair
;
getline
(
fin
,
placeName
,
'.'
);
getline
(
fin
,
tempPair
.
first
,
'.'
);
...
...
@@ -33,10 +33,6 @@ pair<double, double> longAndLat () {
tempMap
.
emplace
(
placeName
,
tempPair
);
placeName
.
clear
();
}
//<<<<<<< HEAD
return
tempMap
;
}
//=======
// TODO Print the cities
...
...
@@ -57,5 +53,4 @@ pair<double, double> longAndLat () {
return
coordinateVector
.
at
(
cityNum
-
1
);
}
//>>>>>>> 37773ebd81c48909890df464721d8b1870634f96
}
\ No newline at end of file
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