Riccardo
ok
Riccardo
https://del.dog/jenekenuli.cc
Riccardo
the first and the last are .h files
Riccardo
yes
Anonymous
yes
Leave them here and I will see them tomorrow .. I have an exam tomorrow so have to wake up early .. so forced to sleep rn
Riccardo
the program displays a line, wich you can rotate and move with wasdzx keys, and a square, wich you can randomly generate using the n key, and also display the projections of the poit of the square on the line and the intersections with the square
Riccardo
The problem i think its on the List class
Riccardo
that's all
Anonymous
Ok, see you tomorrow
Anonymous
Onur
what is the best way to call a void function for each template argument in variadic templates?
Onur
first one is using recursion. But in this case you have to define a function when the function takes zero arguments
Onur
Second one is creating an initializer list using variadic arguments but this doesn't look efficient
Anonymous
Hi everyone, i want transfer unsigned char between two application on winapi... What should i do?😊
Anonymous
#include <stdio.h> #define MULTIPLY(a, b) a*b int main() { printf("%d", MULTIPLY(2+3, 3+5)); return 0; } // how com the Output is 16 ?
Daim
Why i use to return 0; failed
void
#include <stdio.h> #define MULTIPLY(a, b) a*b int main() { printf("%d", MULTIPLY(2+3, 3+5)); return 0; } // how com the Output is 16 ?
#include <stdio.h> #define MULTIPLY(a, b) a*b int main() { printf("%d", MULTIPLY( (2+3) , (3+5) )); return 0; }
Zorrito
Oh I see. It's doing 2+3*3+5, so you need to add parenthesis to change the order of operations.
Zorrito
#include <stdio.h> #define MULTIPLY(a, b) a*b int main() { printf("%d", MULTIPLY(2+3, 3+5)); return 0; } // how com the Output is 16 ?
Why are you doing it that way? It seems like you're making your code more complicated for nothing.
Anonymous
ic, ty.
John
Hi! I'm new to C++ and been leaning about splitting files in hpp and cpp, I can now see why one would do it, I think it looks much neater. I'm having an issue on compilation though, I've got a typedef happening in the private section of a class, there's a function that's to return that typedef in the cpp file but it cannot access the typedef I'm guessing? says it's private. Would anyone be able to give me a hand? I can tip a bit of Ether. ;)
Likai
Ether huh
John
Ether huh
Uh huh!
John
Ether huh
Would you like to give me a hand?
Asriel
guys its possible i make a this -Client ask to server( it's read) -server responds to client a IP of ther client( it's read) - Client conect to the other server ( but i don't know if it's possible ) this in C ?
Anonymous
it is possible
Anonymous
Hello guys i want to learn coding
Anonymous
Which is the best language to learn??
Anonymous
C++
From where should i learn that ???
Anonymous
From where should i learn that ???
Videos books online courses
Anonymous
I advise you to start with online courses And practice
Anonymous
Which online course is best
John
Hello guys i want to learn coding
Like you've never coded before? Cuz I'm all about C++ but you might wanna try something a bit more friendly, Python and JavaScript education is a lot more fluffy than what I've found with C++
John
Hello guys i want to learn coding
It's a bit like cars, You gotta learn how to drive first, so just pick a simple car. Then, once you're familiar with turning and indicating, e.g. functions, classes, arrays. Theeeen you can drive a sportscar, like C++
Anonymous
Which online course is best
I don't know really because I learned in my college
Sanjay
This group not about C# ?
Stanislav
Sanjay
absolutly no
hmm alright
John
Yeah course it's C# Stop screwing with him guys
John
Nah nah, it's def C#
John
Does this bot just caputure anything C# ?
John
appears so...
Anonymous
Switch to linux and use named pipes or domain sockets
I can't, my application only works on Windows!
Anonymous
I haved thnku
Anonymous
Hey Marie
Dima
C++++=C#
Dima
Lol
Anonymous
Hi
Ride
Anyone here have native script android runtime?
Alexzander
Okay, i have been read it ago, thanks👍
Dan
Thank you
Igor🇺🇦
Hi everyone, i want transfer unsigned char between two application on winapi... What should i do?😊
Maybe this can help https://msdn.microsoft.com/en-us/library/windows/desktop/aa365574(v=vs.85).aspx
Roman
Hi guys. Maybe somebody can suggest C++ lock-free thread-safe queue that worked on Raspberry Pi (ARM).
Roman
Boost has lockfree queue. Did you try it?
yes, got crash, problem with ARM memory specific if I understood correctly. Trying Intel TBB now
Igor🇺🇦
How many threads do you have on raspberry? Are you sure that lock free queue is beneficial here? They are more complicated and it's possible that occasional locking is actually faster at the end
Roman
maybe locking is faster. i have one producer and one consumer
Anonymous
karan why would to like to make your contact info public in a group with over 2.6k memebers?
Anonymous
Sorry i can know no can't show everyone in telegram
Anonymous
Plz my message
† n06h
programmers ✋
Roxifλsz 🇱🇹
Anonymous
Lmao .. was a typo :P
Nikita
Yeah now im real developer