mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Cleaned up the templates for the source files to follow the K&R formatter and to use language natural comment formats.
This commit is contained in:
parent
275e2ad03a
commit
2a67c5a321
3 changed files with 28 additions and 39 deletions
|
@ -1,20 +1,17 @@
|
||||||
/*
|
/*
|
||||||
============================================================================
|
============================================================================
|
||||||
Name : $(baseName).cpp
|
Name : $(baseName).cpp
|
||||||
Author : $(author)
|
Author : $(author)
|
||||||
Version :
|
Version :
|
||||||
Copyright : $(copyright)
|
Copyright : $(copyright)
|
||||||
Description : Exe source file
|
Description : Hello World in C, Ansi-style
|
||||||
============================================================================
|
============================================================================
|
||||||
*/
|
*/
|
||||||
/* Hello World in C, Ansi-style */
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
int main(void)
|
int main(void) {
|
||||||
{
|
puts("$(message)"); /* prints $(message) */
|
||||||
puts("$(message)");
|
return EXIT_SUCCESS;
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,15 @@
|
||||||
/*
|
//============================================================================
|
||||||
============================================================================
|
// Name : $(baseName).cpp
|
||||||
Name : $(baseName).cpp
|
// Author : $(author)
|
||||||
Author : $(author)
|
// Version :
|
||||||
Version :
|
// Copyright : $(copyright)
|
||||||
Copyright : $(copyright)
|
// Description : Hello World in C++, Ansi-style
|
||||||
Description : Exe source file
|
//============================================================================
|
||||||
============================================================================
|
|
||||||
*/
|
|
||||||
/* Hello World in C++, Ansi-style */
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
int main ()
|
int main() {
|
||||||
{
|
cout << "$(message)" << endl; // prints $(message)
|
||||||
cout << "$(message)" << endl; // prints $(message)
|
return 0;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,15 @@
|
||||||
/*
|
//============================================================================
|
||||||
============================================================================
|
// Name : $(baseName).cpp
|
||||||
Name : $(baseName).cpp
|
// Author : $(author)
|
||||||
Author : $(author)
|
// Version :
|
||||||
Version :
|
// Copyright : $(copyright)
|
||||||
Copyright : $(copyright)
|
// Description : Hello World in C, Ansi-style
|
||||||
Description : Exe source file
|
//============================================================================
|
||||||
============================================================================
|
|
||||||
*/
|
|
||||||
/* Hello World in C, Ansi-style */
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
int main(void)
|
int main(void) {
|
||||||
{
|
puts("$(message)");
|
||||||
puts("$(message)");
|
return EXIT_SUCCESS;
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue