Rizky Khapidsyah
thanks
Anonymous
anyone knows how to use the WinAPI event tracing apis?
xSantoryuu
you can use mingw for it
Oh ok thanks I'll search for that
klimi
you can download codeblocks with mingw
Anonymous
Looks like a fake
the news is everywhere
Anonymous
I am learning multithreading and came accross some code which I can not understand
Anonymous
class Fctor { public: void operator()() { cout<<"In Factor class getdata function"<<endl; for(int i=100; i>0 ;i--) { cout<<"From Fctor :"<<i<<endl; } } };
Anonymous
What is operator() ()
Anonymous
If I change it to some other name it gives lots of errors
klimi
https://stackoverflow.com/questions/11857150/functionality-of-void-operator
Anonymous
thanks it helped
klimi
you're welcome
Anonymous
Anonymous
You need to reply that to a msg
Anonymous
Hii
Anonymous
A report is enough :)
Ig report doesnt work .. No reply from the bot or smth ..
Anonymous
It works for us
Ah Didnt know Thats why ..
Anonymous
today I just finished pointers in C. that was great.
Anonymous
have you had an orgasm?
I had a very bad headache after reading pointers in C! 😓
Anonymous
look at this program that gets 5 numbers and show them reversely. I did this by pointers instead of direct array: #include <stdio.h> #include <conio.h> int main() { int arr[5],i; clrscr(); for(i=0;i<5;i++){ printf("Enter %dth number: ",i+1); scanf("%d",(arr+i)); } printf("\nThe Reverse is: "); for(i=4;i>=0;i--) printf("%d\t",*(arr+i)); //// here is use of pointers for showing reversely getch(); return(0); }
Anonymous
and wow! this pointer subject is really awesome in C! 💪🏻💪🏻
Ludovic 'Archivist'
Unbreakable Crypto? Where are you going to get that?
Eventually, BLISS is almost unbreakable with nowadays technology
Ludovic 'Archivist'
And is also very very very slow
BinaryByter
but for direct array you say: ,&arr[i]
you don't say &arr[i] (that would give you the pointer to that index lol). besides you can do that with pointers as well
Anonymous
you don't say &arr[i] (that would give you the pointer to that index lol). besides you can do that with pointers as well
Bro, just let me finish "Data Structure in C" and then we can discuss a lot. :)
BinaryByter
that's exactly what I mean. 👍🏻👍🏻
>besides you can do that with pointers as well int *pointer = new int[10]; int ind1 = pointer[0]; ind in2 = pointer + 0; is the same as int pointer[10]; int ind1 = pointer[0]; ind in2 = pointer + 0;
BinaryByter
C is old lol
Anonymous
Read a book about C++ instead of C
Sure. I am going to learn C++. But I love C too. when I finish C language and Data Structure in C, then I can finish C++ learning faster. 💪🏻💪🏻
BinaryByter
well C is really not a prerequisite to C++
BinaryByter
its probably more of a hinderance because it has a bad mindset
olli
pointers work the same in C++ so it doesn't matter in this case
Anonymous
how can I learn all other functions in headers of C? Are there any manual or reference with examples for functions and headers of C libraries?
BinaryByter
dont
BinaryByter
don't do it
BinaryByter
they are not modern at all
BinaryByter
learning them will impede your progress in C++
Ariana
BinaryByter
how can I learn all other functions in headers of C? Are there any manual or reference with examples for functions and headers of C libraries?
Are there any manual or reference with examples for functions and headers of C libraries? if you absolutely want to, google "C 2011 std specs"
Anonymous
how can I learn all other functions in headers of C?
well, currently I am learning C language programming in windows environment. But C libraries and functions libraries are different in Linux.
Ariana
Ah ok then just look at libc functions
BinaryByter
well, currently I am learning C language programming in windows environment. But C libraries and functions libraries are different in Linux.
But C libraries and functions libraries are different in Linux. lol I think that you are misconcieving
Ariana
I can barely read some exe file assembly code:/
BinaryByter
I can barely read some exe file assembly code:/
need some quick assembly flashcourse?
BinaryByter
not that i'M good at it lol
Ariana
need some quick assembly flashcourse?
I spend my entire time doing linux Someone throws a exe file err wine?
BinaryByter
wine is my favourite non-emulator
Ariana
(side note: violinist?)
BinaryByter
(side note: violinist?)
violinist, pianist, organist and singer
Ariana
Organist wow
BinaryByter
(i'm good at none of them lol)
Ariana
(same haha)
BinaryByter
Organist wow
i'm doing a course to become an organist at church where I learn to 1) write music 2) conduct a choir 3) be an organist 4) immerse myself in music
Ariana
another option is to just know the system calls if you really want terribly low level: http://man7.org/linux/man-pages/man2/syscalls.2.html
Anonymous
Thank you so much guys, for guiding. 🙌🏻🙌🏻🙏🏻🙏🏻🙌🏻🙌🏻 if I would have any questions, I am going to ask you guys. Thanks again.
Anonymous
:D
👍🏻
BinaryByter
another option is to just know the system calls if you really want terribly low level: http://man7.org/linux/man-pages/man2/syscalls.2.html
lol i've written a (horrible) compiler, the needed assembler knowledge was super duper small lol
BinaryByter
wow that's cool
I know. Besides, its a recognized diploma so if I want to study at a good ivy league uni, thats good :D
Ariana
I have like a long stagnant project for a python to c translator haha
BinaryByter
I have like a long stagnant project for a python to c translator haha
Lol I have written 2 compilers and the third one is my "I am done for today please i have seen to many little shits in my code, just let me code on something else"-project