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

sort function doesn't look right in Check_Permutation.cpp #2

Open
needforspeed opened this issue Apr 6, 2016 · 4 comments
Open

sort function doesn't look right in Check_Permutation.cpp #2

needforspeed opened this issue Apr 6, 2016 · 4 comments
Assignees

Comments

@needforspeed
Copy link

Is it just pseudo code?

Should the void main be removed in the function below?

void main std::wstring sort(const std::wstring &s)

void main std::wstring sort(const std::wstring &s)

wstring doesn't have a member named toCharArray on line 7.

If not, how do you compile the file?

Thanks,

@needforspeed
Copy link
Author

@KrishMunot What's the reason to close this?

@KrishMunot KrishMunot reopened this Apr 19, 2016
@KrishMunot
Copy link
Collaborator

It looked good to me when I last compiled the program.
However, your issue seems to be valid.

Sorry for looking over the issue. You may send a new PR with suggestions to improve the code.

@needforspeed
Copy link
Author

Could you provide the compile instruction for the project or the file? What compiler did you use and what was the version of compiler?

Thank you!

@KrishMunot
Copy link
Collaborator

I don't remember the specs of the compiler that I used to compile the program (It was a long time ago and have been switching machines lately)
I would recommend you to compile it in any gcc compiler of the latest version available.

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

No branches or pull requests

2 participants