Advanced Minds

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
character string c++ Is wifstream(wchar_t*) missing in STL? (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: character string c++ Is wifstream(wchar_t*) missing in STL?
#7868
Ferhat.Haydar (Visitor)
Click here to see the profile of this user
Birthdate:
character string c++ Is wifstream(wchar_t*) missing in STL?  
Hello all, I am trying to write code using only wide character set and what a suprise: I could not find the constructor for wifstream(wchar_t* file_name) in STL. Is this right? I need to open a file which name is represented in wide characters. Is there any other way to do it using standard C++ library without resorting to converting to char*. Thanx. Happy programming.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7869
Shiva (Visitor)
Click here to see the profile of this user
Birthdate:
character string c++ Is wifstream(wchar_t*) missing in STL?  
Is this right? I need to open a file which name is represented in wide characters. Is there any other way to do it using standard C++ library without resorting to converting to char*. Thanx. Happy programming.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7870
Pete Becker (Visitor)
Click here to see the profile of this user
Birthdate:
character string c++ Is wifstream(wchar_t*) missing in STL?  
Hello all, I am trying to write code using only wide character set and what a suprise: I could not find the constructor for wifstream(wchar_t* file_name) in STL. Is this right? I need to open a file which name is represented in wide characters. Is there any other way to do it using standard C++ library without resorting to converting to char*. Nope. The wide-oriented streams in both C and C++ support reading and writing of data that is represented as wide characterss. Neither language supports naming files with wide characterss.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7871
Ferhat.Haydar (Visitor)
Click here to see the profile of this user
Birthdate:
character string c++ Is wifstream(wchar_t*) missing in STL?  
any other way to do it using standard C++ library without resorting to converting to char*. Thanx. Happy programming.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7872
Jack Klein (Visitor)
Click here to see the profile of this user
Birthdate:
character string c++ Is wifstream(wchar_t*) missing in STL?  
Hello all, I am trying to write code using only wide character set and what a suprise: I could not find the constructor for wifstream(wchar_t* file_name) in STL. What compiler/STL are you using. EGCS1.1 & GNU do not have proper iostreams.(i.e. they do not have the templated basic_istream<Ch,Traits etc. Is this right? I need to open a file which name is represented in wide characters. Is there any other way to do it using standard C++ library without resorting to converting to char*. Thanx. Happy programming.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7873
Alex Martelli (Visitor)
Click here to see the profile of this user
Birthdate:
character string c++ Is wifstream(wchar_t*) missing in STL?  
because operating systems and their file systems are not under the control of the language standard, and not all platforms support these features.  If such functions were added to the language it would either become impossible to have a conforming implementation on platforms without the features, or strictly conforming code using these features would not be portable to all conforming implementations. It just isn't so.  Constructing a fstream with a name string of (narrow-characters), say, +++++ , is fully conforming
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
nieautoryzowano sprawdz autoryzacje brak autoryzacji no auth 905
stackable recycling bins mercedes video rss feed cover letter trading news