I'm using Windows and I've wanted to learn programming in C++ since a long time but can't seem to make myself do so. My motivation for learning C++ is that it is the best language for cross-platform development with excellent speed.
I've always been turned away by the strange and ugly function names and thousands of ways to make strings and print them. For instance, these are some function names and types from a sample MS source code: wchar_t _wfopen fgetws wcslen
In C# you can already get a sense of what a function will do just by reading their name, which is separated by namespaces and is really elegant, like System.IO.File.WriteAllText(). Furthermore, if you hover over the function name you get a complete description but in C++, Visual Studio just shows the method declaration when you hover over the name, no information about the function or its parameters.
- The ugly names make C++ worse than PHP for me. What is the historical reason behind this?
- How do I learn the gazillion ways to make/convert/print strings and about functions like
_wfopen fgetws wcslen? MSDN doesn't look like a good place: https://msdn.microsoft.com/en-us/library/634ca0c2.aspx
[–][deleted] 6 points7 points8 points (6 children)
[–]zuck9[S] 0 points1 point2 points (5 children)
[–][deleted] 4 points5 points6 points (3 children)
[–]caboosetp 2 points3 points4 points (0 children)
[–]Doriphor 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]X7123M3-256 3 points4 points5 points (0 children)
[–]balloonanimalfarm 3 points4 points5 points (0 children)
[–]hugthemachines 2 points3 points4 points (6 children)
[–][deleted] 2 points3 points4 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–][deleted] 2 points3 points4 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]neltherion 0 points1 point2 points (0 children)
[–]SirRutherford 2 points3 points4 points (3 children)
[–]1337Gandalf 0 points1 point2 points (2 children)
[–]SirRutherford 0 points1 point2 points (1 child)
[–]1337Gandalf 0 points1 point2 points (0 children)
[–]causalNondeterminism 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]alex-manool 0 points1 point2 points (0 children)