Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
<typename T> vs <class T>
typename
0 Vote
1 Réponse
5th Feb 2019, 5:57 AM
Daniel Cooper
In which situation template<class T> is use?
c++
templates
1 Vote
3 Réponses
31st Jan 2020, 3:31 AM
Shekhar Sharma
I got this problem: template<class T> Tmax<Ta,Tb,,Tc>
c++
0 Vote
2 Réponses
23rd Sep 2022, 7:50 PM
Oliver Pasaribu
What is the scope of template life in a program?
<template
class
t>
2 Votes
2 Réponses
23rd Nov 2016, 3:31 AM
sadiya zainab
Drag and drop from the options below to declare a class template ''Spunky''. <class T> Spunky { public: Spunky( x) {
c++
templates
-1 Vote
2 Réponses
19th Apr 2019, 5:32 AM
Mayank Arya
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 Votes
5 Réponses
26th Jul 2016, 3:05 PM
Darsh Shah
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 Vote
3 Réponses
24th Jul 2016, 5:22 PM
Darsh Shah
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 Vote
2 Réponses
25th Aug 2016, 1:18 PM
Lekhraj Singh
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
Hello World!
0 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Script file names
0 Votes
Without degree job
0 Votes
What is wrost mistake that mostly people made while learning coding?
0 Votes
Html learn
1 Votes
Je cherche des gens qui parle français pour apprendre le langage c
0 Votes
Java doubt coders
0 Votes
Python ???
0 Votes
What can I do after learning python and how to create amazing codes. And how many times it would take to be a good programmer😅
0 Votes