Mihail
why i am getting this when i try to include <chrono>
It tells you. You need C++11 or newer to use <chrono>
Asad
but i use the latest version of Dev-C++ compiler
Mihail
The ide should have compiler settings find them and change it. If it wants you specify command line options for gcc and clang -std=c++11 would work
Mihail
but i use the latest version of Dev-C++ compiler
That's not a compiler, it's an IDE
Mihail
I've just done some benchmarking and it doesn't merge those calls
std::basic_ostream's operator<< isn't noexcept, so merging might change behavior
Mihail
At least I think so
Nameful
(your compiler)
Nameful
Seems like it's 4.9.2
Nameful
Latest is 9.1.1 I think
Asad
it is 5.1.1
uncle
-------------------------------- Failed to execute "C:\Users\wamba children\Desktop\comp.exe": Error 193: %1 is not a valid Win32 application. _________________________________ my compiler shows this error after i take run..... plaese how can i fix it...
olli
it is 5.1.1
It's DevC++ 5.11 but according to your header files its 4.9.2 which is over 4 years old
uncle
This is not a compiler error. Futhermore I am not able to reproduce your error.
ah.. ok.... i've figured out the problem.. its because of spaces in directory name.😁😁
Francisco
Just don't use Dev C++. Use some other more modern IDE like VSCode, CodeBlocks or something like that
uncle
I once faced this last week using Dev C++. I had to run my programs on online compiler
its on one of your path dirctories from to your code contains space
Dima
Lmao vscode for cxx projects.
Dima
BinaryByter
vscode + flutter extenisons 🤤
Dima
your projects must be really small or what
Dima
pp link
Bader
your projects must be really small or what
well, if you consider this small.... https://github.com/nemtech/catapult-server
Bader
I'm working with it / messing about with it
Bader
in vsc
Roxifλsz 🇱🇹
BinaryByter
4 lines of code added 0 removed?
Bader
or at least the SDK portion
Bader
what is this?
Catapult server is upcoming node server of NEM project.
Bader
blockchain
Anonymous
vscode + flutter extenisons 🤤
VSCode and fluffer extensions?
BinaryByter
Thats your momma's favourite bed!
Dima
dayum I thought cluster or something
BinaryByter
thats some cringy auto overuse
Dima
also these spacings
Dima
nvm I like it
Anonymous
BinaryByter
this is my favourite function in the codebase =D
olli
thats some cringy auto overuse
Might be an interesting read https://herbsutter.com/2013/08/12/gotw-94-solution-aaa-style-almost-always-auto/
Dima
using Height = double; ????
Dima
or its an union?
BinaryByter
https://www.youtube.com/watch?v=bSgrKgfFFMQ
BinaryByter
Might be an interesting read https://herbsutter.com/2013/08/12/gotw-94-solution-aaa-style-almost-always-auto/
this is not anything that bucks up your point but an online quiz, btw 😂
olli
this is not anything that bucks up your point but an online quiz, btw 😂
I only said might be an interesting read regarding the use of auto
BinaryByter
> Height height WHY THO
Can't live without wrapping height in a class of itself 😏😂
BinaryByter
I only said might be an interesting read regarding the use of auto
I know that there are people who think that you should always use auto
BinaryByter
except I don't want to read their code
BinaryByter
Dima
I use auto for long names lol
BinaryByter
😂
lets make 20.000 classes and make @oxffffffff unable to compile our project in less than 2 days on his 10yo lappy
BinaryByter
😂
BinaryByter
also, lets make them templated 😂
BinaryByter
Btw, why not add gcc intrinsics?
Mihail
also, lets make them templated 😂
now it's like 30 days
BinaryByter
why not?
Exactly!
BinaryByter
that way ibroheem can't resort to tinyCC
BinaryByter
well tCC is for C
BinaryByter
but ... borland C++
BinaryByter
:D
BinaryByter
(an updated fork of that)
BinaryByter
did you guys know that openwatcom C++ Compiler is still maintained?
BinaryByter
I will give it a try in a few
Dima
open wat