klimi
googling: "array macro in c" 1st result: https://stackoverflow.com/questions/12824703/array-format-for-define-c-preprocessor
Stanislav
How to define an array macro in c?
but why you want this shit?
Anonymous
Is this possible in c
klimi
make array? yes
Anonymous
Make array using macro
Anonymous
Like this
Anonymous
#define array A[5] {1,2,3,4,5}
Anonymous
How to print the A[2] value
klimi
why would you want to make it macro?
Anonymous
For some purposes
klimi
For some purposes
for what purposes
klimi
Anyone?
i already answered it
olli
OK... Then, How can i check address of Object ?
By using the & operator. E.g. test *pt = &t1;
klimi
that new github change xD
Anonymous
Ok
Marie
Tuhin has 1/3 warnings... watch out! Reason for last warn: scam
BinaryByter
The bot should automatically ban those with too long account names
BinaryByter
Those tend to be scammers
Anonymous
Rokas is on it
BinaryByter
Nice
Anonymous
Amazing bot for group management
Anonymous
Ok
Anonymous
/adminlist
klimi
im admin
Anonymous
😃👍
klimi
good?
Anonymous
Good
Anonymous
/cmds
Marie
/cmds
The following commands are currently restricted: - me - afk - slap - setme - info - runs - adminlist - setbio
olli
Memory is also allocated to classes???
I'm not sure I get your question When you create an object test t1; The required memory is allocated to store t1. The same applies to all types, when defining an integer in a function int c = 5; the required space is allocated to store the value.
Anonymous
Because two distinct objects are required to have different addresses. The same applies to empty classes.
You here said that "same applies to empty classes". So, i am asking that, is any memory allocated to class ? like, i declare... class test { int i; }; will class test get any memory?
Anonymous
/locks
Marie
/locks
Who dis non-admin telling me what to do?
Anonymous
😂
olli
Means... Object?
yes instance means object
Anonymous
OK... Thanks for clearing my doubt.
Anonymous
1byte = 8 bit
Anonymous
1 bit is 0 either 1
Anonymous
That's funda
olli
1byte = 8 bit
Please note, this does not apply to every architecture
Anonymous
How data store ?
Anonymous
@ollirz You're intelligent. Would like to be like you.
Anonymous
In terms of knowledge
olli
@ollirz You're intelligent. Would like to be like you.
Thanks :) Stay curious and keep learning, knowledge will come!
klimi
knowledge is the beeeest
klimi
welcome
Anonymous
Thanks !!
klimi
You're welcome
Isc
/adminlist
klimi
Me
klimi
/adminlist
What do you need?
Isc
nothing, just checking if the command does smth
klimi
But it's turned off
Isc
But it's turned off
then it doesn't :P
klimi
It does work
Anonymous
One should make commands un-clickable
klimi
Just don't click it
Marie
Welcome Yogeshwar! Please read the pinned message 🙂
Anonymous
Hi
Anonymous
Any one can suggest channel for programming languages books pdf
Dexter
https://t.me/joinchat/HhOzd0-BPuwThKYmiev6KQ
Mat
One should make commands un-clickable
Asks Telegram devs. I think we can do little about it
klimi
Hi
Hello
klimi
welcome
klimi
welcome
Itay Cohen
Hi there everyone. I'm struggling with an issue here. I'm trying to make the whole .text section writable using mprotect() but everything I tried has failed. Any idea how to get the start of the .text segment, its size (aligned with `getpagesize()`) in order to achieve this? Will appreciate code snippets :)
klimi
welcome