Siddhartha Sinha Siddhartha Sinha - 1 month ago 8
C++ Question

Input while using Graphics.h

I am making a login page for a game , That uses outextxy() for output;

So I would like to have the input at a specific desired location ( at specific coordinates )
[using cin doesn't help it stills input from the top of the program ],

Is there any inbuilt function for this ??

I have even tried using gotoxy() ..but didn't work ,

gotoxy(320,15);
cin>>a;


It will be really helpful if u can explain or give a link to explain( if it requires good knowledge , cause i am still a beginner )

Answer

oh i figured it out... it was stupidity on my part .. referred the help file and came to know that gotoxy has some maximum arguments ( but I still don't understand the value of arguements )

Courtesy : Lundin