0
Please help: I don't find the errors in my code
11 Answers
+ 2
In your code both functions return int.
So, you can return value itself, as it is T type, int in your code.
You can return anything of T type.
+ 4
line 29 you need to remove the semi colon
+ 3
Dror Dahari
Sorry my mistake.😅
+ 3
Dror Dahari
busy now.
I believe you need a get value method, for the code as well.
+ 1
"ID: " + value=
you can't add int to string
+ 1
Warn a what you return from method... To me seem that you try to add const char* to template type and its not good. Another problem its that you return this sum like template type. Futhermore there are some lexical errors (bad semicolon, missing parentesis etc)
0
its not js... just a name for a method...
0
its ok:)
but still need an answer:(
0
So how I do that?
Can I have an example for that line?
0
ohh ok, thanks!
0
ok. have a good day(or night)!