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

cpp file error and bash cannot find directory #32

Open
ChrisW-02 opened this issue Jan 26, 2022 · 1 comment
Open

cpp file error and bash cannot find directory #32

ChrisW-02 opened this issue Jan 26, 2022 · 1 comment

Comments

@ChrisW-02
Copy link

Hi! I was wondering if you could please help me with these issues:

  1. the original code in cpp file from GitHub display errors on my vscode;

image

2. When I tried to run the bash file, no errors occurred in the terminal, however, the output error files show error message of "no such file or directory";

image

Thank you!

@Fiwo735
Copy link

Fiwo735 commented Jan 26, 2022

  1. VSCode might be using a C++ wrong version for the linting as it's having problems with the auto type. It's not a problem itself, as the tool only tries to get your attention to fix a potential issue, but it won't interfere with the compilation - for your convenience, you can try fixing that in VSCode settings.

  2. The output of running the commands in the bash file is piped into *.stdout.txt and *.stderr.txt files, so it's expected you won't see the errors in the terminal. This particular error might be caused by running the bash script from a wrong directory - you can try running it from 1-regexes/ as both test_lexer.sh and histogram should be there.

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