« first day (855 days earlier)      last day (1573 days later) » 

7:37 AM
hi bro
I use hexray decomplier , the code generate is  v31 = (unsigned int)&v32 ^ __security_cookie;
  File = lpCmdLine;
  v4 = GetModuleHandleA("SHELL32.DLL");
  if ( v4 )
  {
    v5 = GetProcAddress(v4, "SetCurrentProcessExplicitAppUserModelID");
    if ( v5 )
      ((void (__stdcall *)(_DWORD))v5)(L"4bcc1ba1-3181-41e6-9084-b967a113330f");
  }
  sub_401005(&v15);
  sub_40101E(103);
  sub_401023(&v15);
  v6 = lstrlenA(lpCmdLine);
 
2 messages moved from Lounge<C++>
 
what is sub_401005(&v15);
sub_40101E(103);
sub_401023(&v15); mean, please
 
1 message moved from Lounge<C++>
 
Hi, this is not about C++, but please vote to reopen it... it's not a duplicate. Thanks!
15
Q: Why {} + {} is NaN only on the client side? Why not in NodeJS?

John ツWhile [] + [] is an empty string, [] + {} is "[object Object]", {} + [] is 0, why {} + {} is NaN? > {} + {} NaN Then, why ({} + {}).toString() is "[object Object][object Object]" while NaN.toString() is "NaN"? (this part has an answer here already) The second question is why does this happe...

 
2 messages moved from Lounge<C++>
 
7:54 AM
I'm sorry for interrupting but I didn't understand the answer provided to the 3rd question(about the returnC() function). Can someone please clarify the answer?

http://stackoverflow.com/questions/2837241/c-returning-pointers-references
 
1 message moved from Lounge<C++>
 
 
4 hours later…
12:19 PM
for (i=0;i<n;i++)
for (j=0;j<n;j++)
a[i,j]=b[i,j]+c[i,j]
@R.MartinhoFernandes oppps didnt mean to paste that
Does anyone know when dealing with Run Time Complexity's do you account for the operands?
for example:
for (i=0;i<n;i++)
for (j=0;j<n;j++)
a[i,j]=b[i,j]+c[i,j]
Would just be O(n^2) right? or would it be O(a*n^2) because of the Addition Operand?? Or if any links to anywhere would be awesome I can't really seem to find what I'm looking for.
 
3 messages moved from Lounge<C++>
 
 
2 hours later…
JBL
2:02 PM
0
Q: Memory corruption when capturing audio with OpenAL (copying std::vector)

JBLSo I'm trying to capture audio data with OpenAL, and then send it through Qt Signals and Slots system to another object using the following code (inspired from this post) : void AudioRecorder::startAudioCapture() { ALint sampleCount; std::vector<short> buffer; alcCaptureStart(m_audi...

If someone has even the beginning of an idea about this... (I edited)
 
2 messages moved from Lounge<C++>
 
 
1 hour later…
3:24 PM
Does anyone know how I might solve a linker problem I'm having?
I've described it at http://stackoverflow.com/questions/17276901/linker-errors-when-trying-to-link-code-in-tests-using-unittest but so far no one has even posted as much as a comment.
 
1 message moved from Lounge<C++>
 
 
4 hours later…
7:46 PM
Hooking
Anybody know some good hooking tuts?
 
2 messages moved from Lounge<C++>
 
8:38 PM
@DeadMG I know this is late but on the matter of using google to find tutorials: The reason I asked if anyone knew any good tutorials was because using google has failed me in the past: I want to learn the right way to do something and a lot of tutorials out there provide outdated information, incorrect information, or explain things poorly and make concepts seem overcomplicated when they are really quite simple, like in the case of cplusplus.com and thenewboston's java tutorials.
 
1 message moved from Lounge<C++>
 
 
2 hours later…
10:27 PM
Can someone offer me some help with this. It's about sprintf().

http://cfiddle.net/YXtMNe
 
1 message moved from Lounge<C++>
 

« first day (855 days earlier)      last day (1573 days later) »