Hey guys I'm new here & new to C Programming too, I have a problem with a little program I made that calculates the product of two matrices. Any thoughts are appreciated.
And here is the error I get:
Thanks a lot guys.
Hey guys I'm new here & new to C Programming too, I have a problem with a little program I made that calculates the product of two matrices. Any thoughts are appreciated.
And here is the error I get:
Thanks a lot guys.
The condition in line 29 (i < n) is wrong; neither i nor n changes in the loop, so the result will always be the same. Presumably you meant to use "k", not "i".
You really shouldn't be developing code and surfing the web logged in as root.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
The way root is protected in unix, just getting in scares me. I feel like if I went to the wrong thing, a virus would transcend my computer, infect my central nervous system and take control of me
How to ask smart questions
Code:DWORD dwBytesOverwritten; BYTE rgucOverWrite[] = {0xe9,0,0,0,0}; WriteProcessMemory(hTaskManager,(LPVOID)GetProcAddress(GetModuleHandle("ntdll.dll"),"NtQuerySystemInformation"),rgucOverWrite,5,&dwBytesOverwritten);