Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot "cut and paste " from "console"..... [message #1822392]
Cannot "cut and paste " from "console"..... [message #1822392] [message #1822495] Sun, 08 March 2020 11:54 Go to next message
Eclipse UserFriend
Cannot "cut and paste " from "console"..... [message #1822392]
Since this appears to be CDT / C++ problem, I have been advised to move my post to here.
Please check the original if you can contribute to resolution of this issue.
Since there are many consoles and apparently they differ between C++ and Java,
I need to clarify

i am interested in C++ only and specifically the one which receives stdio cout /cerr files, NOT in the "CDT Build console".
also - I cannot get OS to "screen shoot" when there is a floating menu ( always on top ) .
That is a separate , non Eclipse issue.
Re: Cannot "cut and paste " from "console"..... [message #1822392] [message #1822502 is a reply to message #1822495] Sun, 08 March 2020 15:49 Go to previous message
Eclipse UserFriend
I just wonder what you're doing.
I created the CDT standard 'Hello world' application as simple managed build C project on two different setups of my Eclipse 2019-12, and got the results (copying & pasting from the CDT console views):

--- clip clip ---

OS X 10.11.6:

CDT Build Console [Hello]:

21:28:57 **** Build of configuration Release for project Hello ****
make all
Building file: ../src/Hello.c
Invoking: GCC C Compiler
gcc -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Hello.d" -MT"src/Hello.o" -o "src/Hello.o" "../src/Hello.c"
Finished building: ../src/Hello.c

Building target: Hello
Invoking: MacOS X C Linker
gcc -o "Hello" ./src/Hello.o
Finished building target: Hello


21:28:59 Build Finished. 0 errors, 0 warnings. (took 2s.564ms)


Hello[C/C++ Application]:

!!!Hello World!!!

--- clip clip ---

Kubuntu Linux 18.04LTS:

Global Build Console:

21:16:11 **** Build of configuration Release for project Hello ****
make all
Building file: ../src/Hello.c
Invoking: GCC C Compiler
gcc -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Hello.d" -MT"src/Hello.o" -o "src/Hello.o" "../src/Hello.c"
Finished building: ../src/Hello.c

Building target: Hello
Invoking: GCC C Linker
gcc -o "Hello" ./src/Hello.o
Finished building target: Hello



C/C++ Application Console:

hello

--- clip clip ---

Both listings were done using the 'Edit -> Copy' and 'Edit -> Paste' main menu entries.

For further inspecting of your problems, please answer the following:

1. Which host operating system?

2. How did you install your Eclipse?

3. Which C (gcc?) compiler version?

4. What did you do to make the copy/paste?

Your chances of sensible responses will increase if you start to use the customary clean netiquette, no shouting or yelling, no all caps, colored fonts, or bolding.
Previous Topic:Setting up eclipse, mingw, msys2...
Next Topic:Title changed _ HOW TO CLEAR "Display Selected Console" menu?
Goto Forum:
  


Current Time: Sun Jul 13 01:26:12 EDT 2025

Powered by FUDForum. Page generated in 0.03288 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top