formulahendry / formulahendry/vscode-code-runner

[Bug] Error in executable file name when the file name of the source code includes '.

Open
#1,072 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

# This is a really serious mistake.

- VS Code Version:1.83.0
- OS Version:windows 11 (Home&Student)
- Code Runner Version:0.12.0

**Describe the bug**

when the source file name contains '.',for example,"3.3.cpp"(In addition to the dot in front of the suffix name, there is another)

Then try to Run Code using Code Runner:

![20231007014539](https://github.com/formulahendry/vscode-code-runner/assets/51521470/223b8f44-b174-46cd-89c0-530dd7e533cd)

Because there's something wrong with the compiled code

**To Reproduce**
Steps to reproduce the behavior:

1. Create a new file : 3.3.cpp
2. code:
```
#include
using namespace std;

int main()
{
cout<<"123"<

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.