This MSDN article states that getcwd() has been deprecated and that the ISO C++ compatible _getcwd should be used instead, which raises the question: what makes getcwd() not ISO-compliant?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Functions not specified in the standard are supposed to be prefixed by an underscore as an indication that they’re vendor-specific extensions or adhere to a non-ISO standard. Thus the ‘compliance’ here was for Microsoft to add an underscore to the name of this specific function since it’s not part of the ISO standard.