Z
Zottel
I like to use couple of constant in comination with an variable to
change the name of the constant.
The further text show my vainly try:
#define KONST1 13 /*Konstanten festlegen*/
#define KONST2 7
#define KONST2 47
main() {
int c = getchar(), i; /*Variablen definieren und
initialisieren*/
for (i = 1, i <= 3, i++) { /*Einfügen von ASCii Zeichen*/
putchar(c+KONSTi);
c = getchar();
}
}
I am a newbie in C and I hope this question is not to nasty.
Have thanks for your kindly support!
change the name of the constant.
The further text show my vainly try:
#define KONST1 13 /*Konstanten festlegen*/
#define KONST2 7
#define KONST2 47
main() {
int c = getchar(), i; /*Variablen definieren und
initialisieren*/
for (i = 1, i <= 3, i++) { /*Einfügen von ASCii Zeichen*/
putchar(c+KONSTi);
c = getchar();
}
}
I am a newbie in C and I hope this question is not to nasty.
Have thanks for your kindly support!