Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-alpha #21

Merged
merged 93 commits into from
Sep 17, 2018
Merged

Pre-alpha #21

merged 93 commits into from
Sep 17, 2018

Conversation

Nircek
Copy link
Member

@Nircek Nircek commented Sep 16, 2018

Gałąź z wersją pre-alpha

poprzenoszenie poszczegołnych części kodu, żeby działały
przystosowanie funkcji do struktury COORDS
przepisanie funkcji doEvent() ze względu na optymalizację
dopisanie średnika
Copy link
Member Author

@Nircek Nircek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nie działa

main.cpp Outdated
void getMap()
{
std::fstream file;
file.open(file_name, ios::in);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.28s$ ./make o
main.cpp: In function ‘void getMap()’:
main.cpp:58:29: error: no matching function for call to ‘std::basic_fstream::open(std::string&, const openmode&)’
file.open(file_name, ios::in);
^
main.cpp:58:29: note: candidate is:
In file included from main.cpp:5:0:
/usr/include/c++/4.8/fstream:886:7: note: void std::basic_fstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
open(const char* __s
^
/usr/include/c++/4.8/fstream:886:7: note: no known conversion for argument 1 from ‘std::string {aka std::basic_string}’ to ‘const char*’
GET 1
The command "./make o" exited with 1.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MrDarkness19 mówiłem Ci już kiedyś, żebyś to scastował

main.cpp Outdated Show resolved Hide resolved
@Nircek Nircek mentioned this pull request Sep 17, 2018
@Nircek Nircek merged commit 424776a into master Sep 17, 2018
@Nircek Nircek deleted the pre-alpha branch September 17, 2018 18:54
@IgorBia IgorBia restored the pre-alpha branch September 17, 2018 20:32
@Nircek Nircek deleted the pre-alpha branch September 18, 2018 05:11
@MrDarkness19 MrDarkness19 restored the pre-alpha branch October 8, 2018 15:36
@Nircek Nircek added this to the v1.0 milestone Oct 16, 2018
@Nircek Nircek deleted the pre-alpha branch October 20, 2018 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants