i am writing a simple Data base in fortran
to check if a staff member has done there training or not
and to display the date they need to do it
so i get some Data from a Dates.txt file
and save it as character(len=10) :: dates(65)
but for the next part of my program i need
to change my...
For a while now i have been wondering just how opengl and sdl rely
draw graphics to the screen
and how could you do it yourself?
is it rely that hard to make a function to put a pixel
at cord 50, 60?
if anyone knows how to make a very simple graphics libary
then please post a reply
thanks in...
this may be a stupid question and i can understand if you think so
but in modern fortran(f08) why cant you make games?
and as fortran has graphics libarys i dont see why it cant do the same as a language like c
c is my joinet favrote language with fortran and i havent yet spotted any major...
do you mean get user input?
if so use scanf
example
#include <stdio.h>
int main()
{
char input;
scanf("%s", input);//the %s depends if you want to get the input as a int then do %d etc
printf("You Entered: %s", input);
return 0;
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.