Click here to Skip to main content
15,919,500 members

Comments by Member.R (Top 9 by date)

Member.R 25-Jan-17 1:36am View    
thank you ^_^ that helped me
Member.R 5-Nov-16 13:39pm View    
I actually added : template <class T> before the main function because it gave me at first errors saying : unresolved external symbol "public_thiscall
myqueue<int>::myqueue<int>(void)
and the same for every function in the class
so when I thought adding template <class T> will solve the problem...
If you know how to solve this problem I would be really thankful for you !!
Member.R 5-Nov-16 13:21pm View    
Deleted
how can the main function be a template class?
Member.R 26-Oct-16 9:49am View    
thanks !!
Member.R 25-Oct-16 17:41pm View    
but this only works on strings that are array of char .. I am using the type string

The code : string mystring;
getline(cin,mystring)//Hello My Friend