C++ Help
So dear quake community i know there are many programmers around in here so i have gotten a question
#include <stdio>
#include <conio>
#include <time>
void anim(char *p);
void delay(long d);
void main()
{
char name[21];
printf("Γράψτε εδώ το όνομά σας (Όχι περισσότερους από 20 χαρακτήρες) = ? ");
gets(name);
anim(name);
}
void anim(char *p)
{
int i;
int posx[5]={3,3,70,70};
int posy[5]={2,20,2,20};
clrscr();
for(i=0;i<4;i++){
gotoxy(posx[i],posy[i]);
puts(p);
delay(2);
}
gotoxy(20,10);
printf("%s Καλώς ήρθες στον κόσμο της C \n",p);
}
void delay(long d)
{
time_t tim1,tim2;
tim1=time(NULL);
tim2=time(NULL);
while(tim2-tim1<d)
tim2=time(NULL);
}
Well thats the code it should be in the cpp file...but when i copy paste it the greek font (which is in bolt) becoms ???ööäö? shit...... grrr
is there any way to make it work? Using the old borland compilet windos ofc not dos :PPP
thx in advance[/b]
its just text which should be printed on screen so u can write it by yourself
Dunno about greek but with russian text there is some special add-code after libraries. After U write it U can write screen text on russian.
lol kiku , they want you to write with greek characters ? that's lame ! In my uni we simply used greeklish on our projects and even in our final test I used greeklish in my paper sheets
I never tried to fix this so it seems I can't help =\
there should be option in compilator for this
even in borland compiler i cant write the greek text....(should be same with russian font) and running afterwards the exe file it doesnt show the greek text
i tried changing the font in borland but it didnt help..... i tried writing it in notepad with UTF8 code but i cant copy paste it the right way.... grr....
As i am noob in c++ how can i define the whole alphabet on my own?
Like
ä = α and so on??
#define what?