Skip to content

olcConsoleGameEngineSDL.h error with std::ofstream and std::ifstream #50

Open
@tiagopn

Description

@tiagopn

When I run the code, it returns the following error (I run my conde on Linux ubuntu 18 + vs code) on olcConsoleGameEngineSDL.h.

error: no matching function for call to ‘std::basic_ofstream::basic_ofstream(const wchar_t*, std::_Ios_Openmode)’
std::ofstream f(sFile.c_str(), std::ios::out | std::ios::binary);

Can you tell me what is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions