Skip to content

Compilation under MSVC#1

Open
adi-g15 wants to merge 1 commit intoDinoZ1729:masterfrom
adi-g15:master
Open

Compilation under MSVC#1
adi-g15 wants to merge 1 commit intoDinoZ1729:masterfrom
adi-g15:master

Conversation

@adi-g15
Copy link
Copy Markdown

@adi-g15 adi-g15 commented Apr 13, 2021

The current main.cpp included unistd.h, which isn't supported by MSVC compiler (tried on Version 19.28.29334 )

The sole functions in use from unistd.h were two getline statements, replacing them with the getline overloads defined in <string> 🙂 -

https://en.cppreference.com/w/cpp/string/basic_string/getline

image

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.

1 participant