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

Translate the code from C# to C++ #38

Open
Konard opened this issue Jul 22, 2020 · 3 comments
Open

Translate the code from C# to C++ #38

Konard opened this issue Jul 22, 2020 · 3 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed reward This issue have an reward that is paid on completion.

Comments

@Konard
Copy link
Member

Konard commented Jul 22, 2020

500 RUB reward can be claimed by anyone who completes this task.

@Konard Konard added good first issue Good for newcomers help wanted Extra attention is needed labels May 22, 2021
@Konard Konard added the reward This issue have an reward that is paid on completion. label Sep 15, 2021
@Konard
Copy link
Member Author

Konard commented Sep 29, 2021

C# to C++ translation example generated with help of GitHub Copilot

#include <iostream>

namespace Platform::IO
{
    class ConsoleHelpers
    {
        public: static void PressAnyKeyToContinue()
        {
            std::cout << "Press any key to continue..." << std::endl;
            std::cin.get();
        }

        // Output to console on in debug mode
        public: static void Debug(auto&& message)
        {
#ifndef NDEBUG
            std::cout << message << std::endl;
#endif
        }
    };
}

int main(int argc, char *argv[])
{
    // Output to console
    Platform::IO::ConsoleHelpers::Debug("Hello World!");
}

public: static void PressAnyKeyToContinue()

@rahul-s-bhatt
Copy link

Hey, could you give more information about this issue?
I might wanna give it a try!

@Konard
Copy link
Member Author

Konard commented Oct 1, 2021

Hey, could you give more information about this issue? I might wanna give it a try!

The idea is to make translation of csharp folder to cpp folder. You can notice that cpp folder already contains basic translation generated by our translator. For a better communication I recommend you to join our discord server.

@Konard Konard pinned this issue Dec 13, 2021
@FreePhoenix888 FreePhoenix888 self-assigned this Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed reward This issue have an reward that is paid on completion.
Projects
None yet
Development

No branches or pull requests

3 participants