Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:54 Go to next message
Helen Keller is currently offline Helen KellerFriend
Messages: 173
Registered: June 2019
Senior Member
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 19:49 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
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.


--

Tauno Voipio
Previous Topic:Setting up eclipse, mingw, msys2...
Next Topic:Title changed _ HOW TO CLEAR "Display Selected Console" menu?
Goto Forum:
  


Current Time: Fri Apr 26 11:56:05 GMT 2024

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

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

Back to the top