See in MSDN
(C++ standard library header files)
(ex : getline)
Good C++ Reference Manual
Looking for a good book that lists the C++ commands and arguments with a description of each, i.e.:
command getline(a,b,c); used in C++ to get input data from the console or from a file. When accessing the file data, the end of a record is depicted when the eof character is sensed or the end of character, parameter 3(c) is detected. The eof character is "xxx".
Not sure if the above statement is true but trying to purchase a document that will provide the above information for every C++ command. Anyone have ideas where I can get and the name of book and author? Specifically, using Visual Studio, 2019 software by Microsoft. Sid Kraft
-
Castorix31 86,986 Reputation points
2020-12-27T16:21:29.3+00:00
3 additional answers
Sort by: Most helpful
-
Sid Kraft 21 Reputation points
2020-12-27T16:28:40.6+00:00 Castorix31: Yes, I am aware of this site but it still does not go into the detail that I want, does not describe the specifics of how getline(a,b,c) works. Does not specifically says that it stops when an EOR is reached not what EOR represents either octal or in Hex!! That is why I asked if anyone knows of a reference DOCUMENT that does go into a better explanation. Thanks, Sid Kraft
-
WayneAKing 4,926 Reputation points
2020-12-27T21:44:29.577+00:00 I'm sure nobody can read your mind and get a solid grasp of exactly
what would satisfy your curiosity. If you're looking for specifics
about the internal construction of functions such as getline (of
which there are two versions) that is pretty much defined by the
implementation.If you want that kind of low-level detail, there are source code
repositories for different implementations available for public
consumption. For example, the gnu/gcc libs source code can be
found on the web, and MS VC++ libraries have been made open source
so should be available on the web (see GitHub).Now if that's too much detail (the porridge is too hot or too cold),
then reading the ISO C++ Standard may be more to your liking. But such
language standards are not meant for consumption by the general public.
They are primarily for the use of compiler implementors.One of the best online sources for details about each C++ function,
etc. isExamples - the two different getline functions:
std::getline
https://en.cppreference.com/w/cpp/string/basic_string/getlinestd::basic_istream<CharT,Traits>::getline
https://en.cppreference.com/w/cpp/io/basic_istream/getline- Wayne
-
Ahmed Saber 1 Reputation point
2021-11-13T21:52:49.087+00:00 I don't have books , but these websites can help you
w3schools
cplusplus
programiz