Author Topic: Compiles correctly, but terminal shows nothing  (Read 3224 times)

Offline Dark Star

  • Single posting newcomer
  • *
  • Posts: 8
Compiles correctly, but terminal shows nothing
« on: August 30, 2020, 04:09:06 am »
I have the C++ All-In-One for Dummies, 3rd edition, c 2014.
Running on a MacBook, 13" screen, OS 10.6.8, RAM full to the brim.

I'm not certain, but I think this problem after I had the mother board on my computer replaced.
Before, I would do the programs in the book and the results get displayed in the "Terminal" display.

When I "Build and Run" the program, it compiles with no errors displayed in the program window,
and would display results in the Terminal window.


Now, I "Build and Run" the program, it compiles with no errors displayed in the program window,
but on the second line from the bottom in the Terminal display, it says, "No such file or directory".

- Terminal display setting?
- Code Blocks setting?
- Something I'm forgetting in the program? But it worked fine before.
- New replacement motherboard somehow involved.
- Reinstalled Code Blocks, no change.
- Maybe switch the way results are displayed, or type of terminal?

Strange, the terminal was displaying program results just fine.
Something has changed. It's right under my nose. What am I missing?
What am I forgetting?



Thank you,
Dark Star

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: Compiles correctly, but terminal shows nothing
« Reply #1 on: August 30, 2020, 01:14:45 pm »
Please use code tags. On the build/run log.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

And, likely the "terminal display"

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: Compiles correctly, but terminal shows nothing
« Reply #2 on: August 30, 2020, 01:15:59 pm »
It looks like it does not like the space in "C++ Stuff"

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org