Naveen
You need to use partial template specialization for this
Naveen
But those are floats
Yes, you need to define partial specialization for floats. I am not infront of computer. will try to send the solution by tomorrow morning.
Evgenii
Because one of us is missing something
Naveen
Are you aware that templates can't have non-type floating point parameters?
Oh, yeah, correct. CRTP can't be used on float or other types.
Naveen
With C++11 you could write some pretty advanced constant-expressions (constexpr) that would calculate the numerator/denominator of a floating value compile time and then pass these two as separate integer arguments.
Anonymous
Is anyone good with Microsoft excel here? I think I getting problem
Anonymous
http://foro.elhacker.net/programacion_cc/obtener_el_ancho_de_banda_en_un_programa_c-t462036.0.html
Anonymous
Someone knows how I can get the max bandwidth in C?
M
Hi everyone, nice to meet you all. My name is Melati, you can call me Mel. A student, 19 years old from Indonesia. Thank you, and have a nice day ahead :)
Anonymous
Have nice dayyy
Anonymous
Hello all
Anonymous
Good morning
Anonymous
hello
Anonymous
Hi to all!
🌮
Hello World. First of all, I'm sorry for my English. I am trying to print an ASCII table on a Linux terminal, but it does not print 8bit multiple values, I do not know why.
Anonymous
Why are you returning 1?
🇧
vaya tela
SANDIE
Wow, Vin Diesel writing C code
Anonymous
No,I am not writing but I want to know about this
Anonymous
So please tell me about c
Anonymous
Dny-Slpknt-83: Please
Anonymous
😳😂😂
Sorry for this
Anonymous
By the well, you Welcome....
Anonymous
Thanks
Anonymous
Also I'm learning and in this group I will only read....
Anonymous
Okkk
Anonymous
But whatever u know please share....plz
Evgenii
K&R is good book
Anonymous
I have a lot of manual but only in italian...
Anonymous
Julius
/leave
Usman
K&R is good book
Can you share the book?
Evgenii
Can you share the book?
It's annoying first links in Google for k&r c
Usman
Rhwg
Enildo
Hello!
Enildo
I have a lot of manual but only in italian...
I am interested in it. I am learning italian. Huge iit fan here 😁
Enildo
I have some folders on 4shared with english material.
Enildo
Classic K&R 2ND and beyond.
Enildo
I'll move it to dropbox or elsewhere soon.
many
Hello
many
Iterator vs for loop, which one is better?
many
vec.begin() + (vec.end()-vec.begin()) != vec.end()
Left hand side is length while right hand side is pointer?
Evgenii
Both are pointers
many
Oh yeah, left hand side=begin()+size()=end() That's weird, why left hand side! = right hand side?
many
Anonymous
Enildo
Indeed, it seems to be very good. I checked the pointers chapter very straigth forward and well described.
Russell
But you cant' return different types from functions so yeah it'd have to use constexpr
Top T : Trollface Was Real
Is it in English?
Anonymous
Is it in English?
Portugal I think
Top T : Trollface Was Real
😓😅
Anonymous
Italian guys!
Enildo
😅
ENOENT
uh I just added this chat to our "related groups" list, hopes that helps this group as much as it helped the python group
Evgenii
the group wasn't really alive at least since I joined
ENOENT
certainly more alive than the other one
ENOENT
but our link changed the python group to a very active group, and maybe it can do the same to this one
Evgenii
hopefully
Rishi
Finally, a group for C.
Evgenii
https://blog.jetbrains.com/clion/2017/01/clion-starts-2017-1-eap/
correctmaninwrongplace
Hello everybody
correctmaninwrongplace
Hello!
hello evil corp
Enildo
Caught me... 😅
correctmaninwrongplace
Enildo
correctmaninwrongplace
does someone here have experience with concurrent c++,monitors , multithread tasks and all that stuff ?
Edurolp
does someone here have experience with concurrent c++,monitors , multithread tasks and all that stuff ?
I studied it 2 years ago with C but i have forgotten almost everything xD