-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Labels
Needs-Triage πIt's a new issue that core contributor team needs to triage.It's a new issue that core contributor team needs to triage.
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
## π Exception Summary
When I try to run my C++ file (`circle_calculations.cpp`), it gives an error saying "no input file" or doesn't take input as expected.
## π» Steps to Reproduce
1. Open VS Code terminal
2. Compile using: `g++ circle_calculations.cpp -o circle_calculations.exe`
3. Run the program using: `./circle_calculations.exe`
4. It shows an error: `"no input file"` or nothing happens
## β
Expected Behavior
The program should prompt me to enter the radius and then display:
- Diameter
- Circumference
- Area
## β Actual Behavior
Instead of asking for input, it shows an error like "no input file" or crashes.
## π§ My System Details
- OS: Windows 10
- Compiler: g++
- IDE: VS Code
- File Name: `circle_calculations.cpp`Screenshot
Environment data
- **Operating System**: Windows 10
- **IDE or Editor**: Visual Studio Code (VS Code)
- **Compiler**: g++ (MinGW)
- **Programming Language**: C++
- **File Name**: circle_calculations.cpp
- **Run Command**: g++ circle_calculations.cpp -o circle_calculations.exe
- **Execution Command**: ./circle_calculations.exeSteps to reproduce
- Open Visual Studio Code
- Create a new file named
circle_calculations.cpp - Paste the C++ code inside the file
- Save the file
- Open the terminal in VS Code
- Run the compile command:
Expected behavior
The program should ask for radius input and show diameter, area, and circumference.
Actual behavior
It gives: no input file
Metadata
Metadata
Assignees
Labels
Needs-Triage πIt's a new issue that core contributor team needs to triage.It's a new issue that core contributor team needs to triage.
