Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Format old style C functions to newer style?
Format old style C functions to newer style? [message #1853271] Fri, 24 June 2022 21:35 Go to next message
SC Protz is currently offline SC ProtzFriend
Messages: 1
Registered: June 2022
Junior Member
Assume you have a function:


int add(a, b)
int a;
int b;
{
 return a + b;
}


Is there a way for the formatter to change it from the old style to the newer style such as:

int add(int a, int b)
{
  return a+b;
}
Re: Format old style C functions to newer style? [message #1853735 is a reply to message #1853271] Fri, 15 July 2022 15:51 Go to previous message
tepalia02 02 is currently offline tepalia02 02Friend
Messages: 19
Registered: April 2022
Junior Member
Looks like there is no such way. Could not find any info on the internet. :|
Previous Topic:Sources RefactoringWizardDialog2
Next Topic:Null object when testing EJB with Arquillian in Eclipse
Goto Forum:
  


Current Time: Tue Apr 23 12:48:10 GMT 2024

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

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

Back to the top