Mar!o
Are you using C or C++ my friend?
MᏫᎻᎯᎷᎷᎬᎠ
Hi, would reinitialising an array with different size wipe its contents?
Use std::vector If it's C Use malloc It's forbidden to use variable length in built-in arrays
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Do you use C or C++?
MᏫᎻᎯᎷᎷᎬᎠ
What are they?!🤔
Nils
What?!!
Well the problem is that I am writing the OS which usualy provides malloc to userspace.
MᏫᎻᎯᎷᎷᎬᎠ
You mean sth like: int arr[var];
Nils
Okay, I'll look that up
MᏫᎻᎯᎷᎷᎬᎠ
Isn't it forbidden?!
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Oh
MᏫᎻᎯᎷᎷᎬᎠ
Men Where were you all this time?
Ludovic 'Archivist'
Even in C it is a GNU Extension
MᏫᎻᎯᎷᎷᎬᎠ
I miss the old timeline of this group Maxi Olli Ludo
Nils
Sadly for you I have it in C++
I prefer C for speed…
Ludovic 'Archivist'
Men Where were you all this time?
Here, lurking, overworked, tired, becoming an octopus dev
Ludovic 'Archivist'
I prefer C for speed…
No difference in speed
MᏫᎻᎯᎷᎷᎬᎠ
No difference in speed
Why do I hear a lot that C is still more faster than C++?
Ludovic 'Archivist'
there is
No, most C code is valid C++
Ludovic 'Archivist'
And subsequently implementation defined in C11
Ludovic 'Archivist'
Yeah, also, they are useless for writing an actual kernel space allocation routine
Ludovic 'Archivist'
I prefer C for speed…
Also, nothing prevents you from taking inspiration
Ludovic 'Archivist'
I prefer C for speed…
https://git.nekoit.xyz/Archivist/gplib/src/branch/master/include/gp/allocator
Ludovic 'Archivist'
I admit that I entirely agree with that decision of theirs
Nils
https://git.nekoit.xyz/Archivist/gplib/src/branch/master/include/gp/allocator
That site is slow… Endless "transfering data..."
Ludovic 'Archivist'
That site is slow… Endless "transfering data..."
Wut? Can you run a ping to the domain and a curl with debug enabled? I would be much grateful
Ludovic 'Archivist'
(it is my work tool so yeah)
Ludovic 'Archivist'
yep, wait…
(pm me with the logs if you can)
Mar!o
I miss the old timeline of this group Maxi Olli Ludo
Maximillian? I know him but Ludo?! And why are they no longer here
MᏫᎻᎯᎷᎷᎬᎠ
Mar!o
Yeah he told me
MᏫᎻᎯᎷᎷᎬᎠ
Never thought that would happen
Mar!o
Sad he has a good knowledge and is a good friend
coding
Photo from Janvi Thakkar
Mar!o
🤦🏻‍♂
coding
/i am sending my code
coding
Please help me to find mistake
coding
Photo from Janvi Thakkar
Anonymous
https://www.youtube.com/watch?v=g-p5ytmiO1c guys watch this! you will never visit a fun park again after watching this video 😳.
Dima
Photo from Janvi Thakkar
/warn read the rules
Francisco
It's crazy that people still uses Turbo C++
Anonymous
.
Ludovic 'Archivist'
It's crazy that people still uses Turbo C++
Fixed: It's crazy people that still use Turbo C++
Ludovic 'Archivist'
I know, that makes those schools crazy in my book
Ludovic 'Archivist'
FOSS operating systems with decent C and C++ compilers do not exist after all⸮
Ludovic 'Archivist'
They smell like my psychiatrist when he told me his formation on autism spectrum disorders was a 12 hours course 30 years ago
Dima
Ludovic 'Archivist'
Well, any random Indian with equivalent to 240USD can know here that I do teach modern C++ in complete private lessons by video call
Ludovic 'Archivist'
#imagetbanforselfadvertising
Dima
lol
Ludovic 'Archivist'
Or get a job in computer science where they do something else than fixing typos in function names over large codebases for a handful of crisps and 3 peanuts
Ludovic 'Archivist'
Ludovic 'Archivist'
(for a daily income similar to the price of a family sized packet of crisps)
coding
/warn read the rules
Why this warn?
coding
Exactly, in my case
Dima
Why this warn?
It clearly says to read the rules
Chinaka
Good day everyone
Chinaka
Happy to be here, please i want to begin my journey to learning C++ programming language and hopefully it's my first programming language sp Please is there any heads up and Coaching i could get here
Francisco
Why this warn?
No pictures of the screen. Also use another IDE, Turbo C++ is completely outdated and not mantained anymore
Francisco
/report
Anonymous
Anonymous
Please , help
Anonymous
Help to this task
Asad
...
Thank you it's working for CTRL+D
Serenity
Hey
Serenity
Is int ** x an array of int pointers ? is that the correct interpretation ?
Mar!o
No it's a duplet pointer.
Mar!o
Array of int pointers would be int *arr[0xff];
Serenity
I have two pre defined structs , One is supermarket and the second is product , in the supermarket field I have a declaration of product ** product_list, what does it mean ?
Serenity
It's my practical problem.