Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Using Eclipse or "cat' to merge C++ classes / files into one
Using Eclipse or "cat' to merge C++ classes / files into one [message #1820508] Wed, 22 January 2020 02:24
Helen Keller is currently offline Helen KellerFriend
Messages: 173
Registered: June 2019
Senior Member
I hope this will not be throw out as "not an Eclipse problem".

I have developed two independent application for bluetooth.

Now I am finding out it woudl be beneficial to have ONE common class instead of two similar but not identical classes.

It woudl be preferred to have SINGLE , same named class which woudl merge current classes methods and variables together.

I did try plain IDE copy - but it wants to "override" the " copy to " file. No good.

I can IDE "select all" and copy ,and then clean up the dupes.

I understand "cat" would append / concatenate files - which woudl create duplicates.

That will work to a degree , but if there is a better way , I am game.

When I figure out how to merge the existing classes I am planing to add another project to the L:aunch Group where such common classes will be referenced.
That way there will be only one place to keep updating / debugging .




Previous Topic:Console options ?
Next Topic:To create a makefile from an existing Eclipse project.
Goto Forum:
  


Current Time: Tue Sep 24 18:48:34 GMT 2024

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

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

Back to the top