Luigi
that's pretty large lol
Anonymous
psy4
you guys/gals excited about C++ 20 changes ?
HYBRID
❤️
Luigi
well, i think i'm going to skip this exercise lmao
Anonymous
Or, you know, you can just use different libraries for different OSs
Kat
I need to learn C++ properly
psy4
Kat
I'm kind of in this inbetween phase where I know the syntax fairly well and I can do simple things but I don't really have an incentive of a push to properly learn it as a primary language alongside fancy snake language
Kat
Which is dumb because the stuff I program would be far better in C++
Anonymous
Which is the best site where I can get all Bollywood movies for download. Thanks
Kat
psy4
I still don't get how Universal references work in C++ 😂
psy4
psy4
Kat
psy4
are you not supposed to be asleep or sumthing ATM, kate ?
Kat
Kat
I slept for about an hour but I took my ADHD meds so I'm wide awake now lol
psy4
you're from US righte, or EU ?
Kat
psy4
Kat
Couple years
Kat
We should move this to OT
psy4
OT ?
psy4
oh oh, yeah right, off-topic
Kat
I've put myself in a spot where I can't really learn C++
Kat
I have no way to practice
MᏫᎻᎯᎷᎷᎬᎠ
I feel ya
psy4
care to elaborate ?
Kat
Cause simple programs like making a calculator or something like that are way too easy, and making complex things only teach the library itself
Johan Liebert
Any ebook to learn c++. Faster?
Luigi
I would like to learn C++, but i think it's too hard..
Kat
e.g Making something like a window manager would be really good to teach me but all I would be learning is the XCB documentation
Luigi
I got stuck at 3/4° exercise in project euler
Luigi
And those should be easy
psy4
Kat
Hm
Kat
Like, I know C++ but not enough to know what I don't know
Ибраги́м
Okay not spam my bad
That Channel is whitelisted. Thanks for keeping an eye on Spammers tho.
Kat
I just don't really know how to learn it
Sanjay
Ибраги́м
Kat
psy4
even I feel for the creator of the language itself sometimes, https://www.theregister.co.uk/2018/06/18/bjarne_stroustrup_c_plus_plus/
Sanjay
Ибраги́м
Kat
Like if I decided today that I wanted to any other language, I would start by mastering datatypes, functions, etc. Then I would write something simple like a calculator to hone my skills. Then I'd pick a library and start learning how to use it and learn the rest of the language along the way
Kat
Kat
But with C++, I can already do simple things and I know the syntax fairly well, but when I try and learn a library I feel like I'm only learning that library and nothing that I can apply to other things
Sanjay
MᏫᎻᎯᎷᎷᎬᎠ
Ибраги́м
I need to learn C++ properly
Try :
- C++ 5th Edition By Stanley B. Lippman.
- Effective C++ (Old and New)
Watch C++ Weekly of Jason Turner on Youtube.
Come to thank me later or stone me rotten tomatoes
Kat
Like, I've partially written a kernel in C. Writing a kernel takes mastery of a language but I haven't learned much of the language, I've just learned what code I need to write for a kernel.
psy4
lol girl, you're too young to worry about these stuffs for the moment, just dabble in multiple languages, libraries, frameworks and it will hit you one day, what path you're supposed to take
Kat
Ибраги́м
No, what's that?
It means giving yourself a task that seems impossible but you feel like you know enough to do it.
Like implementing a small protocol or parsing a format.
Kat
What languages you mastered ?
I don't think it's possible to truly master a language but I am fully comfortable in fancy snake language
Kat
Sanjay
You should start with C++ Json, APIs, Ajax
Ибраги́м
Kat
I started writing a kernel in C and now I know a bunch about kernel development but pretty much nothing about C
Kat
void boot_process() {
terminal_initialize(); // Initialise the terminal
terminal_writestring(boot_info);
debug_log("OK\0", "Terminal ready...", VGA_COLOR_GREEN);
serial_initialize(); // Initialise serial
debug_log("OK\0", "Serial interface ready...", VGA_COLOR_GREEN);
init_gdt(); // Initialise GDT
debug_log("GDT", "Initializing GDT...", VGA_COLOR_CYAN);
debug_log("WAIT", "Asking keyboard to identify itself...", VGA_COLOR_CYAN);
// uint16_t keyboardID = identify();
// debug_log("PS/2", strcat("Keyboard returned \0", itoa(keyboardID, 10)), VGA_COLOR_MAGENTA);
debug_log("DONE", "Boot process complete!", VGA_COLOR_MAGENTA);
}
Here's my kernel main function, as you can see I've abstracted everything to a point where there's not really any C going on.
Ибраги́м
Ибраги́м
void boot_process() {
terminal_initialize(); // Initialise the terminal
terminal_writestring(boot_info);
debug_log("OK\0", "Terminal ready...", VGA_COLOR_GREEN);
serial_initialize(); // Initialise serial
debug_log("OK\0", "Serial interface ready...", VGA_COLOR_GREEN);
init_gdt(); // Initialise GDT
debug_log("GDT", "Initializing GDT...", VGA_COLOR_CYAN);
debug_log("WAIT", "Asking keyboard to identify itself...", VGA_COLOR_CYAN);
// uint16_t keyboardID = identify();
// debug_log("PS/2", strcat("Keyboard returned \0", itoa(keyboardID, 10)), VGA_COLOR_MAGENTA);
debug_log("DONE", "Boot process complete!", VGA_COLOR_MAGENTA);
}
Here's my kernel main function, as you can see I've abstracted everything to a point where there's not really any C going on.
My sincerest condolences.
Kat
Lol
Kat
I just don't know what I don't know and it is very frustrating
Kat
Maybe I should write a sysinfo tool
Kat
I was planning to do it in fancy snake language but maybe it would help me learn C++
Ибраги́м
Kat
Start small
That's what I mean tho, small is too easy and I don't know what level I'm at to start
Ибраги́м
Let me give you a simple tricky one
Kat
I can't find the balance at which something is difficult but difficult enough to learn rather than being impossible
Ибраги́м
Kat
Do you have that in PDF by any chance?
Ибраги́м
Kat