Francisco
Yep, and so i want know can he add automaticly lib dependonsy for cmake conf file
I haven't used it yet, but there's a video out there that shows some use cases. Let me find it for you
Francisco
https://youtu.be/9cCQHJ-cNHY
Francisco
There isn't still a "standard" package manager (like pip for Python or npm for JavaScript), but conan is definetely the closest one
Francisco
By the closest one, do you mean some of the issues addressed by the committee on this issue?
By standard I mean something that everybody uses. The standar commitee is not going to standarize a package manager, because it's not the point of the standar
Serg from FarCry
string value = "77347ggg77"; try { // string -> integer int i = std::stoi(value); return i; } catch (...) { // error management return defaultValue; } Why result is "77347"? Not error.
Francisco
In fact, atoi is a C function, so it won't throw any exception
Serg from FarCry
Jussi
How i can get convert error exception?
Use some boost api for this
Jussi
They have more feature rich stuff than stl
swarnim
Use some boost api for this
Boost can also be unmaintained.....
swarnim
So tread at your own risk.
swarnim
Anonymous
Ok hi I am karan
Anonymous
And I am interested in coding
Anonymous
But I need to learn coding
Jussi
But I need to learn coding
I would learn C basics first
Anonymous
Can you please suggest me some books for coding
Anonymous
Thank you guys for your help
Jussi
Talula
K&R
That is one old book, I think it was written before I was born.
Jussi
It is still superior
Jussi
C was also written before you were born
Jussi
And the new editions cover c99
Jussi
Instead of ansi
Anonymous
Buy new version of this book This book is awesome Means really awesome
Talula
I don't understand one thing, I agree C is good to learn the basics of how computers really work and all (but not really), but I don't know why people wanna start with C?
Anonymous
Hello guys Am studying 2nd year "BCA"degree
Anonymous
But i don't know how to coading
Jussi
C is very basic language, and you learn good programming habits by creating simple c programs
Talula
I mean C syntax is very similar to C#
Anonymous
But not for begginers bcoz..it's not a book written by some school teachers for begginer students.. It's a book written by a programmer for other programmers.. So,. This book is not for begginers
Anonymous
Please help me out of this
Jussi
Yeah, so better learn simple C instead of dome very complex C# language
Jussi
With classes and shit
Talula
You don't have to make or use classes, it's not required.
Jussi
Ok. Never mind then
Talula
You can make a simple program in C# without doing anything with classes.
Jussi
Just explain namespaces etc in win C#
Anonymous
Whom you are telling
Jussi
Instead of simple int main(void) in c
Talula
Explain main()
Anonymous
I also think its never wrong to learn how a computer works on a low level.
Talula
Same thing different way to approch it.
Jussi
Tazz, if many people say that C is good to start with, and you are the only one arfuing it is not, who is right?
Talula
But it's not really low level because C doesn't really work like Assembry.
Anonymous
Jussi
did I say something else?
Anonymous
Jussi
Anonymous
Brother
Anonymous
Help
Anonymous
Me
Anonymous
Help
Stop spaming, else you'll get a warn.
Jussi
Explain main()
it is the entry point of an application now, explain me, as I'm just starting to learn C#, why does my program need a namespace and why is there main function inside the namespace?
Talula
Same exact thing... it's the name of the program.
Jussi
Why can't I put my main outside the namespace in C#?
Jussi
this is already super confusing for a starting programmer
Talula
nanespace is the name of the program
Anonymous
Why can't I put my main outside the namespace in C#?
Bcoz namespace is preprocessor.. Pre processor means before processing the programm
Jussi
preprocessor??? what?
Jussi
I think there is only one processor in my PC!!!
Anonymous
Jussi
I know
Jussi
I'm emulating a beginner coder
Anonymous
Not processor of your computer