Skip to main content



      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] Tue, 21 January 2020 21:24
Eclipse UserFriend
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 Jun 24 19:51:37 EDT 2025

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

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

Back to the top