User forums > Using Code::Blocks

Text before the program

(1/2) > >>

brerin:
Hey, I couldnt find this any where else on the board but apologies if this is not an appropriate question.

I'm a super new user, but I was wondering why there is a chunk of text above my output in the Terminal (Mac OS) when I compile and run. It say mymacbook$ /Applications/Codeblocks.app and on and on for a few lines before outputting my code.

oBFusCATed:
Because console applications don't work well on macos... Starting terminal changed in some of the macOS releases and the code hasn't been updated to handle the change.

But this is just a guess with the little information you've provided. Please select all the text and paste it in a code or quote tag.

brerin:

--- Code: ---Last login: Sun Apr 19 14:58:14 on ttys000
/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/benjammin/Desktop/agin/bin/Debug/agin
BenjamisMacBook:~ benjammin$ /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/benjammin/Desktop/agin/bin/Debug/agin
Enter your name
--- End code ---

cool, thanks for the reply. the "enter your name" is the first part of my program. the rest is what I'm wondering why its there! thanks!

oBFusCATed:
Is this inside the terminal app or in some codeblocks window?

brerin:
thats inside the terminal app

Navigation

[0] Message Index

[#] Next page

Go to full version