|
Back to article
RCS/hello.c after branching, upgrade and merge
head 2.1;
access;
symbols;
locks
sobotka:1.4.1.3; strict;
comment @ * @;
2.1
date 99.04.04.07.48.54; author sobotka; state Exp;
branches
2.1.1.1;
next 1.4;
1.4
date 99.04.04.03.17.28; author sobotka; state Exp;
branches
1.4.1.1;
next 1.3;
1.3
date 99.04.04.03.15.31; author sobotka; state Exp;
branches
1.3.1.1;
next 1.2;
1.2
date 99.04.04.03.13.11; author sobotka; state Exp;
branches;
next 1.1;
1.1
date 99.04.04.03.11.29; author sobotka; state Exp;
branches;
next ;
1.3.1.1
date 99.04.04.08.14.28; author sobotka; state Exp;
branches;
next ;
1.4.1.1
date 99.04.04.06.59.22; author sobotka; state Exp;
branches;
next 1.4.1.2;
1.4.1.2
date 99.04.04.07.15.23; author sobotka; state Exp;
branches;
next 1.4.1.3;
1.4.1.3
date 99.04.04.08.52.54; author sobotka; state Exp;
branches;
next ;
2.1.1.1
date 99.04.04.08.58.35; author sobotka; state Exp;
branches;
next ;
desc
@Hello Warphead program
@
2.1
log
@Customized message
@
text
@#include <stdio.h>
#include <stdlib.h>
int main(void) {
char *greeting = "Hello, Warpie";
char *name = getenv("USERNAME");
printf("%s %s!\n", greeting, name);
exit(0);
}
@
2.1.1.1
log
@Translated greeting
@
text
@d6 1
a6 1
char *greeting = "Bonjour, Warpie";
@
1.4
log
@Made message a variable.
@
text
@d2 1
d6 2
a7 1
char *msg = "Hello Warphead!\n";
d9 2
a10 2
printf(msg);
return 0;
@
1.4.1.1
log
@First French version.
@
text
@d5 1
a5 1
char *msg = "Bonjour, Pierre!\n";
@
1.4.1.2
log
@Changed French message.
@
text
@d5 1
a5 1
char *msg = "Salut, Warpie!\n";
@
1.4.1.3
log
@Merged with 2.1
@
text
@a1 1
#include <stdlib.h>
d5 1
a5 2
char *greeting = "Hello, Warpie";
char *name = getenv("USERNAME");
d7 2
a8 2
printf("%s %s!\n", greeting, name);
exit(0);
@
1.3
log
@Changed main to return int.
@
text
@d5 3
a7 1
printf("Hello Warphead!");
@
1.3.1.1
log
@Changed message.
@
text
@d5 1
a5 1
printf("Hello Warpie!");
@
1.2
log
@Included <stdio.h> and formatted.
@
text
@d3 2
a4 1
void main(void) {
d6 2
@
1.1
log
@Initial revision
@
text
@d1 5
a5 1
main(){ printf("Hello Warphead!");}
@
Back to article
|
|