Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: NewOrOld on February 21, 2023, 02:40:09 am

Title: New User Build and Run troubleshooting 20.03 on Windows 11
Post by: NewOrOld on February 21, 2023, 02:40:09 am
Hello everyone! I hope this is the correct spot to post this kind of issue. I am a beginner using the c++ Hello World project, and I am trying to use cin to get input when using build and run. However, when I try to repeat the exact same thing from a class. It doesn't work. I have an int and a cin >> for both parts of the code I want to get input from. I have no errors when starting a run, but I can not add input for the second part I want to input a value during the run. I am not confident in my skills yet, so I can't say exactly if I did something wrong on my part. I did copy the exact same code, so it seems unlikely. I was wondering if there was something I need to activate on my end on code:blocks, and I am using the GNU GCC compiler if that helps.
Title: Re: New User Build and Run troubleshooting 20.03 on Windows 11
Post by: Miguel Gimenez on February 21, 2023, 09:34:43 am
Things happening while your program is running are OT here, you should ask in a programming forum. Show them the non-working code.