MᏫᎻᎯᎷᎷᎬᎠ
C++ module
Francisco
core would be the module name
It looks weird to not have any extension
MᏫᎻᎯᎷᎷᎬᎠ
And you'd export certain things in that module
Which fixes the problem of exposing all the implementation details in your header
Mihail
It looks weird to not have any extension
Well it has the extension Lunatic said, but that's the file of the module
Mihail
Inside you'd be importing by module name
Francisco
I think many projects will still use the .hpp extension in the modules, even though we use them in different ways
Mihail
maybe, but that'd be wrong as the module isn't a source/header file
MᏫᎻᎯᎷᎷᎬᎠ
namespace details;//should not exposed export namespace interface;//using details
Mihail
Yep, many things will change progressly
i mean some people would continue to use header files
Mihail
like those aren't going anywhere any time soon
MᏫᎻᎯᎷᎷᎬᎠ
It's amazing Like Just typing this will import all the standard library import std;
MᏫᎻᎯᎷᎷᎬᎠ
Tf!!?
Mihail
MᏫᎻᎯᎷᎷᎬᎠ
I'm sure it won't cause any performance issue
Mihail
Why?!!
well modules are compiled and then linked at compile time
Mihail
so yeah the compile time would be kinda ridicilous
Mihail
afaik
MᏫᎻᎯᎷᎷᎬᎠ
Mihail
it won't reduce the lines of includes
MᏫᎻᎯᎷᎷᎬᎠ
I thought that it has some smart compilation policy Like the compiler first check the used entity and then compile it
Mihail
but that's not the purpose
MᏫᎻᎯᎷᎷᎬᎠ
Swastik
bando
Investor_miner
Hello
I_Interface
Rose is alive 😱😱😱
Anonymous
guyss how to print a character by it's ASCII value?
Anonymous
char c = 58 std::cout « c;
and if i have to print a string? like some from latin characters and some from eng
klimi
what
Oleksandr
char vs wchar_t ?
Anonymous
Anonymous
Here
klimi
okay
Anonymous
u is Latin u
klimi
yes
Anonymous
ber is english character
klimi
no its latin too
Anonymous
no its latin too
are they 😐
klimi
klimi
Anonymous
i dont see that u anywhere
klimi
i dont see that u anywhere
Yeah its not latin
Anonymous
Yeah its not latin
decimal value of that character is 252 and it's ASCII text is that u i sent in pic
Anonymous
now?
Jesvi
Guys how do I take in arrow key inputs ? Help
Vladimir
You can't simply print this u with 2 dots above
Vladimir
You need to deal with text encodings
klimi
Thats ascii
Anonymous
Anonymous
its not u with 2 dots
Vladimir
252 is the decimal value
In what coding page?
Anonymous
char vs wchar_t ?
didn't get that
Anonymous
Jesvi
Guys how do I take in arrow key inputs ? Help
This does not work tho , help plz
Anonymous
But ... Its not latin
okay just i'm not sure maybe.. but i just wanna print it
Vladimir
Paste symbol here
Anonymous
Guys how do I take in arrow key inputs ? Help
just install telegram in your pc and take screenshot then you should post, this kinda pic will lead you to be banned
Anonymous
this
Vladimir
you can
I don't think it would work everywhere
klimi
well
klimi
you need terminal that supports it
Anonymous
you can
it's just you coppied and pasted those symbols?
Vladimir
At least
klimi
klimi
its ascii
Vladimir
It has different codes in different pages. 252 is just a unicode.
Anonymous
ohh my ide is shit.. it shows n instead of u
Anonymous
lul