Anonymous
What was ur printf statement?
It's solved now. Thanks anyway
kappa
Free and good c/c++ compiler for ios
joel
gcc
kappa
gcc
Thanks
Anonymous
Theres no {} after for
Dima
Lol I thought it was a psedocode
Anonymous
It should be like this for(int i=0;i<4;i++) { cout<<"now"<<i<<" "; }
Anonymous
It should be like this for(int i=0;i<4;i++) { cout<<"now"<<i<<" "; }
If there's one statement to execute, She doesn't need to enclose it with curly braces.
Anonymous
Free and good c/c++ compiler for ios
clang It is built on LLVM which is supported from Apple
Anonymous
Anonymous
And this person tells that C is better than C++
Anonymous
But doesn't know the basics
Anonymous
Anonymous
/report
Salitha
/report
Anonymous
And this person tells that C is better than C++
You really don't need to bash anybody. If you don't like what whoever's saying, guess what, you can just shut it, can't you?
joel
Yes.
cool I always use curly braces never tried w/o
Anonymous
Anonymous
Don't send pictures.
Dima
/warn Read tf rules
Anonymous
Don't send pictures.
The rule is not about all pictures The rule is about pics of code and screen
Anonymous
/warn Read tf rules
Rose doesn't work
Dima
Okay, manual actions then 🤷‍♀️
Dima
Lol it only bans, nevermind it’s his fate then
Dima
Banned
Dima
joel
oops
jack
Theres no {} after for
which makes a code unreachable..
Salitha
jack
using braces will be good
Anonymous
Yay
Roy
I_Interface
Roy
Artöm
no? 90% of programs in Linux are written in c
Hell no. Core programs like [, ls, kernel funcs are C, but there're hella lot other programs
Artöm
gcc, clang are eg C++
Sid Sun
You people haven't done multi processing or threading in C?
Anonymous
It is possible
He tells from standard lib perspective
Sid Sun
Most of the books don't have it, neither do a lot of the tutorials.. so I can see why you may think it would not but it does
Sid Sun
He tells from standard lib perspective
Oh, stdlib doesn't provide that
Sid Sun
You need to use pthread I think
Sid Sun
unistd provides multi processing capabilities
Anonymous
Oh, stdlib doesn't provide that
But c++'s one does😌
Sid Sun
But c++'s one does😌
Oh, yeah.. they added it in '13 I think
Sid Sun
Updated it rather I should say
Anonymous
There's no c++13
Sid Sun
Before we needed to rely on pthread like some sort of a peasant
Anonymous
Sid Sun
Anonymous
Didn't know that
Boost provides a lot of interesting things
Anonymous
Check it out
Sid Sun
Thanks for telling me!
Sid Sun
Anonymous
Hi
Anonymous
i been doing C , compiling in the terminal
Anonymous
is there a way to compile automatically after saving document
Anonymous
assuming using VScode
joel
with vscode you could search for extensions
joel
u may find one
Izuchukwu Michael
Thanks and good day everyone
Nikhil
what is the best c++ package manager??
Андрей
C/C++ Open Source Package Manager | conan.io Conan, the C / C++ Package Manager for Developers. "Conan brings C++ development and dependency management into the 21st century and on par with the other development eco-systems. /more ⏬
0x88
hi guys
Nikhil
best c++ package manager that works with gcc and cmake on windows
joel
these are things u could easily Google and find
Francisco
best c++ package manager that works with gcc and cmake on windows
The most promising is conan. There's others like vcpkg, but I think conan will be the main one
Sai Meghana
Sid Sun
Didn't know that