MrSmith
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
MrSmith
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
Francisco
In fact, atoi is a C function, so it won't throw any exception
Serg from FarCry
Francisco
Talula
Jussi
Jussi
They have more feature rich stuff than stl
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
Anonymous
Can you please suggest me some books for coding
Talula
Jussi
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
Jussi
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.
Talula
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
Anonymous
Jussi
did I say something else?
Anonymous
Jussi
Anonymous
Brother
Anonymous
Help
Anonymous
Me
Talula
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#?
Anonymous
Dima
Jussi
Jussi
this is already super confusing for a starting programmer
Talula
nanespace is the name of the program
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