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

Plese provide clear instruction how to install your library in Windows #294

Closed
carlo8767 opened this issue Jul 2, 2023 · 2 comments
Closed

Comments

@carlo8767
Copy link

From your instruction, it is not clear if your library is compatible with Windows.
I have tried several times to compile e run a simple code with your library in Vscode.
Please provide a clear instructions or write inside the manual that it is not compatible with Windows.

@carlo8767
Copy link
Author

I added the code :
#include<stdio.h>
#include"cs50.h"
#include"cs50.c"

int main(void){

string testing = get_string("?");
printf("Hello world\n");

}

@rongxin-liu
Copy link
Contributor

libcs50 is not compatible with Windows natively. To use it:

  1. Please install Windows Subsystem for Linux
  2. Choose Ubuntu distro
  3. Install libcs50 inside WSL.

Or use https://cs50.dev online, or use Codespaces offline:
https://cs50.readthedocs.io/code/#offline-with-docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants