Kurse
AnmeldenBeginne KI zu lernen
Kurse
AnmeldenBeginne KI zu lernen

F&A Diskussionen

<typename T> vs <class T>
typename
0 Stimmen
1 Antwort
5th Feb 2019, 5:57 AM
Daniel Cooper
Daniel Cooper - avatar
In which situation template<class T> is use?
c++templates
1 Stimme
3 Antworten
31st Jan 2020, 3:31 AM
Shekhar Sharma
Shekhar Sharma - avatar
I got this problem: template<class T> Tmax<Ta,Tb,,Tc>
c++
0 Stimmen
2 Antworten
23rd Sep 2022, 7:50 PM
Oliver Pasaribu
Oliver Pasaribu - avatar
What is the scope of template life in a program?
<templateclasst>
2 Stimmen
2 Antworten
23rd Nov 2016, 3:31 AM
sadiya zainab
sadiya zainab - avatar
Drag and drop from the options below to declare a class template ''Spunky''. <class T> Spunky { public: Spunky( x) {
c++templates
-1 Stimme
2 Antworten
19th Apr 2019, 5:32 AM
Mayank Arya
Mayank Arya - avatar
what is the output of this code? template<class t> void f(t){ static int I=0; cout<<I++; } int main (){ f(1); f(1.0); f(1); }
c++
2 Stimmen
5 Antworten
26th Jul 2016, 3:05 PM
Darsh Shah
Darsh Shah - avatar
what is the output of this code? template<class t> void f(t){ static int I=0; cout<<I++; } int main (){ f(1); f(1.0); f(1); }
c++
1 Stimme
3 Antworten
24th Jul 2016, 5:22 PM
Darsh Shah
Darsh Shah - avatar
why this output is 1 ,why not 2 ? template <class T> void f(T &i){ cout<<1; } template<> void f(const int &i){ cout<<2; } int main (){ int i=8; f(i); }
c++
1 Stimme
2 Antworten
25th Aug 2016, 1:18 PM
Lekhraj Singh
Lekhraj Singh - avatar
Heute heiß
Is anyone else experiencing this Sololearn issue?
0 Votes
Best language?
0 Votes
How do I keep myself motivated in coding
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
1 Votes
Bro can you fix yt error?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Sql practice
0 Votes
Bug in Completing AI Practice
0 Votes