Laxmikant
This is for mean
I_Interface
Please tell any esey way to learning programming
if seriously, only a monkey can ask like that
Badugar
I_Interface
there is no easy/short way to learn it
Laxmikant
Sorry
Shvmtz
Pls suggest some good IDEs for C in Linux/windows..
Badugar
Laxmikant Pick a mathematical problem and try to solve it via code. Like the size of circle.
I_Interface
Pls suggest some good IDEs for C in Linux/windows..
VisualCode or CLion - linux Visual Studio - windows
Dima
CodeLite is good
Shvmtz
CodeLite is good
Is it open source ?
Dima
Perhaps
Talula
Is it open source ?
Why do you need it to be open source?
Shvmtz
Perhaps
Ok thnx for ur advice
Nomid Íkorni-Sciurus
CodeLite is good
I'm for emacs 😏
Shvmtz
Why do you need it to be open source?
Don't need actually..
Badugar
Vim + Clang, latter with -Wall -Wextra -Werror. Compiler is your friend.
Badugar
Or whatever combination of text-editor and compiler you want.
Nomid Íkorni-Sciurus
Badugar
what about autocompletion ?
A text editor does not autocomplete. Look for a plugin which does that.
Nomid Íkorni-Sciurus
Badugar
Text editor are not ides
I know. But text editors can be expanded by plugins to contain functions of IDEs.
Kk
Nomid Íkorni-Sciurus
I know. But text editors can be expanded by plugins to contain functions of IDEs.
yes but isn't it better to have a tool made just for that
Nomid Íkorni-Sciurus
(I'm an emacs user, I can say that it does not work well for everything)
Dima
Foxner
Just use notepad.exe
Nomid Íkorni-Sciurus
Badugar
yes but isn't it better to have a tool made just for that
For me personally, yet, no. I prefer to keep it simple, text editor, manpage and compiler.
Foxner
Train programming by compiling to machine code yourself.
Nomid Íkorni-Sciurus
For me personally, yet, no. I prefer to keep it simple, text editor, manpage and compiler.
This works for those languages which don't require complex operations.
Nomid Íkorni-Sciurus
Try to make emacs work for Java
Nomid Íkorni-Sciurus
or D
Nomid Íkorni-Sciurus
or JavaScript, actually
Nomid Íkorni-Sciurus
C/C++ and LISP support is probably the only decent
Artöm
Train programming by compiling to machine code yourself.
This is different from programming. Goid to knoe, but not need to master
Artöm
For me personally, yet, no. I prefer to keep it simple, text editor, manpage and compiler.
I dont use refactor features, but highlighting, autocomplete and definition search are useful
Artöm
Francisco
Do you mean dll by library?
Dlls are dynamically loaded libraries (the Windows ones), which are a special kind of libraries that are linked at runtime
I_Interface
/report
Anonymous
suppose i have printed the output on the screen can we reprint on that
Dima
Read the rules before posting photos of screens
Dima
repost these or you’ll get wrecked
I_Interface
Anonymous
suppose i have printed hello on output screen on inplace of hello i want to print something else is this possible
Tomas
Hey could someone link me when did this syntax become available and that does it mean? auto main() -> int { ... do stuff ... return 0; }
Francisco
That's return trailing type. The auto keyword is used to deduce the return type, and the arrow is to indicate the type inside the scope of the function (it's useful when dealing with classes)
Francisco
I think it's been around since C++14
Artöm
11
Artöm
Valid C++20 btw
Francisco
Not only classes. You need it when return type depends on arguments auto f(auto a, auto b) -> decltype(a + b);
Yep, forgot about it, but that utility is now a bit useless (the auto now deduces the type, no need of decltype)
Ritu Raj
Hello...
Francisco
Yep, but not that useful in my opinion
Ritu Raj
Can I post my question???
Ritu Raj
It's Plain and clear...
Francisco
Just ask
Artöm
Or here auto f(auto a, auto b) -> optional<decltype(a + b)> { if(...) { // ... return { a + b }; // note the syntax } return { }; }
Ritu Raj
Is there mathematical relation to solve this question?
Ritu Raj
Ritu Raj
What is approach to solve this one??
Ritu Raj
How can I find minimum sides??
Anonymous
How can I find minimum sides??
Minimum sides are 3 for a polygon
Ritu Raj
Minimum sides are 3 for a polygon
Have you read the question?
Anonymous
Have u not read mine?
Anonymous
U asked how u could find minimum sides and i said polygons start with 3 sides
Anonymous
What is approach to solve this one??
We don't solve codeforces here