Amari
Anyone. .please
klimi
?
klimi
what?
Anonymous
Good book for c?
klimi
#cpp
Marie
#cpp
https://t.me/programminginc/24103
Dima
let's make a pool, when reflection stuff is gotta make it to the cpp standart
Dima
C++30?
Dima
I, personally, wouldn't like to use reflection stuff in c++, but there are some moments where it could just fit perfectly
Anonymous
#c
BinaryByter
oh hell no
klimi
welcome
Anonymous
hello mr bot
Dima
Mrs*
Dima
oh wait
Dima
yes
Dima
Marie
Marie
Banned!
Jussi
It is a raw packet
Jussi
So it is not capsuled eith a TCP/UDP header
BinaryByter
Read the socket manual
Dont worry, he wont, rtfm is "rude" according to him
Anonymous
Anonymous
Can someone explain this
Anonymous
The differences are only relevant on 16 bit [1] intel architectures and stopped being significant about 15 years ago.  In a nutshell virtual addresses on an Intel x86 chip have two components - a selector and an offset. The selector is an index into a table of base addresses [2] and the offset is added onto that base address. This was designed to let the processor access 20 bit (on a 8086/8, 186), 30 bit (286) or 46 bit (386 and later) virtual address spaces without needing registers that big. So... 'near' pointers don't have a selector - they have an implied selector. They can access 64k off the virtual address space on a 286 and earlier and 4Gb of the addresss space on a 386 or later. 'far' pointers have an explicit selector. However when you do pointer arithmetic on them the selector isn't modified. 'huge' pointers have an explicit selector. When you do pointer arithmetic on them though the selector can change. 'based' pointers... oh, you didn't ask about them. Basically ignore this. It's not worth the hassle to learn about unless you're an archaeologist. Cheers, Abhi [1] Okay, modern intel processors have all the old segmented guff still hanging about but the OS tends to set the selectors once and then forget about them. [2] In real mode there is no table of base addresses, the address is just the selector multipled by 16.
Anonymous
What kind of syntax is this? Declaration of something weird or many char pointer without any comma?
__getitem__
anyone online ?
__getitem__
can anyone help me finding why there is a runtime error in my code : https://paste.ubuntu.com/p/GFY3pJ6XjK/
Anonymous
4,4,2 🤔
Mat
can anyone help me finding why there is a runtime error in my code : https://paste.ubuntu.com/p/GFY3pJ6XjK/
Why have you written the programme so bad? Or is it a problem of the paste site?
Mat
I see a while loop, a for loop and an if statement on the same line
Mat
I don't see proper indentation, too
Mat
It isn't even clear what the programme should do
feggy
which site is this?
_̸̡͝͝This
hello !
_̸̡͝͝This
I need help with a simple thing
_̸̡͝͝This
Do you guys know of any tool to convert any string to a string with escaped characters that will equal the same in c ?
_̸̡͝͝This
for example, "ab % cdef \ ghij" to "ab \% cdef \\ ghij"
_̸̡͝͝This
I'm replacing the special characters myself, but I fear I might have missed a few of them...
_̸̡͝͝This
oh, am, is sed a software ?
Daniele°
Or you can use a bash script
_̸̡͝͝This
ooh, found it, thank you so much guys, i'll give it a try !
Daniele°
Language: perl Source: my $in='hello\ world %'; $in =~ s/([\\\%])/\\$1/; print $in; Result: hello\\ world %
Daniele°
Ops
Daniele°
Language: perl Source: my $in='hello\ world %'; $in =~ s/([\\\%])/\\$1/g; print $in; Result: hello\\ world \%
__getitem__
It isn't even clear what the programme should do
Does it matter ? I just needed to find why I am getting a runtime error . By the way , I have tried to perform a quick sort. For formatting thing , maybe its website problem.
Mat
I didn't understand anything from your code
__getitem__
Mat
Yes
__getitem__
then how could you not understand ????😥
Mat
Format that thing and i'll look at it
__getitem__
its the same quick sort ...!!!
__getitem__
https://paste.ubuntu.com/p/5csfmjv2Mg/
__getitem__
have it.😐
Mat
Sort of...
Mat
its the same quick sort ...!!!
You're expecting others to clean that mess to find the error?
Mat
its the same quick sort ...!!!
Which error does it give you at runtime?
Mat
Or you think we should know it?
Mat
@Rohan_Rathore I think you'll find this useful if you want to share code with others https://users.ece.cmu.edu/%7Eeno/coding/CCodingStandard.html
Asadbek
Hello everybody
Asadbek
I am beginner
Asadbek
I am gonna learn programming
Asadbek
Can you please help me
Asadbek
What kind of methods could you introduce?
klimi
I am gonna learn programming
What do you want to do?
Asadbek
Just i am going to be computer programmer
Mat
What kind of methods could you introduce?
Are you expenting us to explain to you some methods, like a lesson?