bugmeno.myopenid.com ([info]bugmeno.myopenid.com) wrote in [info]theppitak,
* POSIX file descriptor is not standard [ANSI] C library?
* the standard [ANSI] C library is just fopen()?
* fdopen(), fileno(), open() is not standard [ANSI] C library?
* notice that MSVC++ has _fdopen(), _fileno(), _open(), not fdopen(), fileno(), open().

> - The standard C++ iostream library now doesn't support
> using fstream with FILE* or file descriptor.

* It had ever can do that? (มันเคยทำได้ด้วยเหรอ?)

> /me never feels disappointed with C++ like this before.

* To "include " doesn't mean that you are writing C.
* It is just a C-style code, which is one important part of C++.
* To be able to write C-style code is one advantage of C++.
* Every advantage having in C, will also have in C++ too (advantage ทุกอันที่มีใน C ก็จะมีใน C++ ด้วย), since C-style is a subset of C++. So, C++ will never worse than C (ด้วยตรรกะนี้, C++ จะไม่มีทางด้อยกว่า C).


Advertisement


(Read 5 comments)

Post a comment in response:

From:
Help
Identity URL: 
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
   Help
Message:

 
Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…