1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +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:
Doug Schaefer 2007-05-23 02:47:59 +00:00
parent 275e2ad03a
commit 2a67c5a321
3 changed files with 28 additions and 39 deletions

View file

@ -1,20 +1,17 @@
/*
============================================================================
============================================================================
Name : $(baseName).cpp
Author : $(author)
Version :
Copyright : $(copyright)
Description : Exe source file
============================================================================
*/
/* Hello World in C, Ansi-style */
Description : Hello World in C, Ansi-style
============================================================================
*/
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
puts("$(message)");
return EXIT_SUCCESS;
int main(void) {
puts("$(message)"); /* prints $(message) */
return EXIT_SUCCESS;
}

View file

@ -1,18 +1,15 @@
/*
============================================================================
Name : $(baseName).cpp
Author : $(author)
Version :
Copyright : $(copyright)
Description : Exe source file
============================================================================
*/
/* Hello World in C++, Ansi-style */
//============================================================================
// Name : $(baseName).cpp
// Author : $(author)
// Version :
// Copyright : $(copyright)
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iostream>
using namespace std;
int main ()
{
cout << "$(message)" << endl; // prints $(message)
return 0;
int main() {
cout << "$(message)" << endl; // prints $(message)
return 0;
}

View file

@ -1,20 +1,15 @@
/*
============================================================================
Name : $(baseName).cpp
Author : $(author)
Version :
Copyright : $(copyright)
Description : Exe source file
============================================================================
*/
/* Hello World in C, Ansi-style */
//============================================================================
// Name : $(baseName).cpp
// Author : $(author)
// Version :
// Copyright : $(copyright)
// Description : Hello World in C, Ansi-style
//============================================================================
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
puts("$(message)");
return EXIT_SUCCESS;
int main(void) {
puts("$(message)");
return EXIT_SUCCESS;
}