Details
-
AboutAm a 15 years old who enjoys anime, games, and learning to code. I love math too.
-
SkillsC++
-
LocationSomewhere in Romania
-
Github
Joined devRant on 12/9/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@C0D4 doesn't nano show its key combos at the bottom of the terminal?
-
I've actually had it find issues in the past, didn't help much in solving them though
-
Setting _GLIBCXX_USE_CXX_11_ABI to 0 changes the behavior of some classes to not conform to the C++11 standard anymore. One of those classes is std::string which was implemented as copy on write before C++11, but C++11(and newer standards) forbid this kind of behavior for std::string.
-
That definitely seems like a fun project
-
@Root that can run into buffer overflows though
-
<rant>:n:m: error: 'exception' was not declared in this scope
Also, coincidentally, someone on a discord server I am in made that joke too -
@RealKC it actually seems that Clang accepts emoji identifiers given its on the trunk version.
The other compilers don't accept them for macros, or variables either -
@RealKC I tested it on godbolt.org with ICC, GCC, Clang and MSVC and neither allow emoji names for functions 😭
-
Well, the standard does technically allow Unicode identifiers(cppreference page about identifiers: https://en.cppreference.com/w/cpp/... ). If no one has tried until then, I'll try something like the above once I get access to a PC in a couple hours.
-
@iAmNaN and linguistically it's a sign that shows that a sound is to be said for longer iirc
-
First time I've seen "sad" spelled as "interesting".
-
That's either a slow drive or a lot of very small files
-
@lazyDev hi
-
I'd guess there aren't better alternatives, or it's a dependency something else that's rather useful
-
Is this a JoJo reference?
-
Did that happen after inputting the value? If so, yeah, that's pretty bad. Otherwise, one should be working with integers values for money internally
-
I just noticed the change, it's amazing
-
Article link?
-
@mjones44 doesn't vim tell you how to close it when you open it as well?
-
Took me a bit to get it, lol.
-
@HamsterOh unless you start a project, the stylistic choices won't be your hand. Though you might not agree with the professors choice, I think it's a good way to get students used to how it will happen in the industry.
-
Second one
-
I don't see a problem with using var in that place since the type seems rather obvious from what's after the equals IMO.
What I have a grip with is Hungarian notation for variables(i.e. embedding type info in variable names) -
I don't think there's a way to inject functionality into functions whose source you don't control with C++, though you could achieve that behaviour in other ways. Those would be:
1. Write a function overload that takes a dummy argument and does what you need.
2. Write a function named differently that does what you need.
3. Write a function inside a namespace you control with that name and that does what you need and when you want to call glDraw(), you call ns::glDraw(), you'd want to call the real glDraw() with ::glDraw() in your namespaced one though -
Windows updates cost nothing though.
They also don't scare you into updating, they just force the update down your throat. -
DD.MM.YYYY is the best
-
Does your colleague not use an IDE?
-
I'd be really surprised if a cup of coffee is your cup of tea tbh
-
I disagree that a newspaper's website being paid for access is bad.
I expect its reporters to try and make more accurate articles than the ones of a free site of the same category in order to keep their subscribers and to gather new ones.
Whether that's the case or not I do not know, but I hope it to be like that. -
I say it like "node-ji-ess"