|
|
|
Re: Need help making interface look like C language [message #1832226 is a reply to message #1832223] |
Sat, 12 September 2020 22:38 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
The template is stored under (in my installation, at least)
<eclipse directory>/configuration/org.eclipse.osgi/958/0/.cp/templates/projecttemplates/HelloWorldCAnsiProject/src/Basename.c .
You likely can modify it.
You may have to search for HelloWorldCAnsiProject in the file path names.
The actual path changes with differing Eclipse releases.
<eclipse directory> is where Eclipse is installed.
In my system it is at /opt/eclipse/<release>.
May not be the same in your installation.
The real purpose is not to generate a starting source but to generate a working executable project.
It really shouldn't matter what the sample source actually is or does.
It just has to compile and execute.
Not sure what the point would be in changing it other than aesthetics.
Unless you want every program you write to print "Hello World" then you will have to delete that part of the sample anyway.
Quote:are you saying Eclipse doesn't use the printf() etc?
Eclipse is an editor with frills.
Editors don't really care about or use what is being edited.
One of the frills in CDT, though, is a syntax checker.
It obviously cares about the content.
[Updated on: Sat, 12 September 2020 23:20] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03828 seconds