|
From: <jsc...@gm...> - 2001-10-06 13:34:17
|
Hello, how can i get text into opengl ?
I am able to draw rectangles by i lac a documantion fpr lines and
texts -
i want to print varibales' values .
any idea - or sample program ?
thanks
On 6 Oct 2001, at 1:29, Ricky Gongora wrote:
> How can I get the apstrings data type to work? I've tried to download d=
ifferent Apstring header files from the internet and tried using each one,=
but none of them work. This is the program i'm trying to create:
>
> #include "apstring.h"
> #include<iostream.h>
>
> int main()
> {
> apstring name, rank;
> char middle_initial;
> int years_of_service;
>
> cout<<"Enter the full name: ";
> getline(cin, name);
> cout<<"Enter the rank (Assistant, Associate, or Full): ";
> cin>>rank;
> cout<<"Enter the number of years of service: ";
> cin>>years_of_service;
> cout<<endl<<endl;
> cout<<"name: "<<name<<endl;
> cout<"Rank: "<<rank<<" Professor"<<endl;
> cout<<"Years of service: "<<years_of_service<<endl;
> return 0;
> }
>
J=FCrgen Schuhmacher
jsc...@gm...
|