Igor🇺🇦
Yes
For matrix of 3X3 just iterate over the first row and multiply by the result of this method for 2x2 matrix.
Henry
Igor🇺🇦
You need to calculate correct index to pass to this method.
Anonymous
Does anyone have a channel here?
Anonymous
Does anyone have a channel here?
Anonymous
Aman
https://pastebin.com/XUNguKZt
Aman
i am getting this output for above program
Aman
why i am getting 0000 in end?
Aman
If anyone can tell me reason and the solution towards it than i would be very thankful to that person
Andrey
Is there any difference of how i override this function?
someClass operator = (const someClass &other) {}
someClass &operator = (const someClass &other) {}
because i get the same result using any of them 🤔
Pavel
Pavel
let me just check
Pavel
Anonymous
what is the "all-proxy" format in aria2.conf
Anonymous
it keep noticing me "unrecognized all-proxy format"
Vipin
Koi bataye ga virtual studio code ko reset kaise krte hai
Pavel
Adams Scott
hej
Thierry
I have a project with the following files:
- first.cpp
- first.hpp
- second.cpp
- second.hpp
- main.cpp
first.cpp and second.cpp contain
#include <Eigen/Dense>
, which is a big header.
main.cpp contains
#include "first.hpp"
#include "second.hpp"
How do I avoid double inclusion of Eigen/Dense ?
Igor🇺🇦
ɴꙩᴍᴀᴅ
Thierry
Add guards to the headers
Yes I thought about guards but I also have other multiple included header files and then it seemed not like the right solution (to have a guard for each header file)
Igor🇺🇦
Thierry
Okay thank you guys
Vitalii
Sorry, I have a question😅
What is an event handler in simple words?
Just can't get it...
Igor🇺🇦
Vlad
Vlad
If to put it very crudely
Igor🇺🇦
ohh...it helped me a lot (no)😅
If being more serious the first search result explains it pretty good using simple language https://searchapparchitecture.techtarget.com/definition/event-handler
Vitalii
thank you both😅
Rafael
/report
Vlad
Mar!o
Does anybody know why NASM is preferring a 32-bit immediate value over a 16-bit when assembling x86-64?
Mar!o
adc rax, 0xFF
results in 48 15 ff 00 00 00
ff 00 00 00 are 4 bytes (32-bits) but x86-64 provides an instruction for just 2 bytes too - why is it not using it ?!
rAX imm16/32
here you can see it can be either 16 or 32 bit but NASM chooses to use 32-bit even when 16-bit would be enough
Mar!o
I don't get it
+
Hello guys
I want to know there is anyway to know program started with administrator right in window? (C++/Qt)
I am
How hak A1 cabs group all member
Jas
KIBUTI BOT
Its nealy to innovation week in our university so Anybody with software idea u think once I do it I will be the best😄😄
Jas
Jas
prove it, you win.
KIBUTI BOT
😂😂😂😂
KIBUTI BOT
Does it solve any problem,in society😂😂😂
Jas
😂😂😂😂
If you do anything with IoT people will eat it up. Use an ESP-32-S2 Soala-1R board to make a gizmo
+
Bumpy
void copyData (void *destination , void *source , size_t length) {
char *dest = (char*)destination;
char *src = (char*)source;
while (length) {
*dest = *src;
length--;
}
}
Bumpy
i can implement memcopy like that?
Anonymous
Bumpy
this is homework.
Ammar
Bumpy
i forgot. thanks men
Anonymous
https://leetcode.com/problems/longest-palindromic-substring/
https://leetcode.com/submissions/detail/458804110/
help, idk how to make it faster
Anonymous
Anonymous
Look to discussion ;)
i stopped the palindrome check for every string but it looks like the std::async made the code a bazillion times slower.
Anonymous
Anonymous
std::async is not supposed to be used for algorithmic problems
Anonymous
okay
Neezar
Hi everyone
Anonymous
Wojak
Apply to internships
In my current profession, there is no need of C++ and I'm exploring it just because I started programming in it and I love to explore it.
Applying to internship with a Job would scare the recruiter
Anonymous
Wojak
Here it's illegal to work at two places at the same time in majority of the companies ( only exceptions are allowed maybe)
Wojak
I don't think so
I don't know about other countries but definitely not In Indian IT industry
Anonymous
Naveen
Hi
Abdoul Latif Ouedraogo
I have a set of objects with an int field and I have problems sorting these objects according to the value of this field of int
Pavel
Pavel
I have a structure of arrays std::vecors (all same length), I want to sort them all by some key.
Can I having a list of "old position -> new position" apply this transformation to all the vectors one vector at a time?
Abdoul Latif Ouedraogo
Vlad
Vlad
If it's std::set make a proper operator< for your class