News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Text before the program

Started by brerin, April 19, 2020, 06:23:10 PM

Previous topic - Next topic

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

brerin

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


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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

brerin


oBFusCATed

I'm not sure we can do much about it... It is something the terminal is printing.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]