Like Tree2Likes

good habits - TCHAR, unicode, etc.

This is a discussion on good habits - TCHAR, unicode, etc. within the Windows Programming forums, part of the Platform Specific Boards category; OK. So far, so good. No more char in my program. Found int Wmain for passing command line args as ...

  1. #16
    Registered User
    Join Date
    Feb 2012
    Posts
    44
    OK. So far, so good.

    No more char in my program. Found int Wmain for passing command line args as TCHAR. Works already. No converting. All will be in TCHAR from now on. No more printf, etc.

    And a _tfopen (which only has 2 args vs. _ftopen 3??). And using the _fgetts.

    Can someone NAME (nomenclature) what things like stat, fstat, _tstat, _fgetts are called. "Standard C functions"? Do they have anything to do with Microsoft or Windows, per se? IOW, when I search on this stuff, I don't know what to call them to get an accurate google search.

    Thanks for offering the sound and sage advice. I'm wary being a dinosaur (50) and having programmed for 35 years that it's already harder to learn new tricks and I realize how the early learning can be ingrained quite heavily. So, here I am.

  2. #17
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,777
    They are Microsoft extensions. That is why they are prefixed witb an underscore.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Old habits die hard
    By Yarin in forum General Discussions
    Replies: 11
    Last Post: 01-23-2012, 11:50 PM
  2. Bad coding habits
    By Magos in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 09-12-2005, 05:44 PM
  3. Unicode vurses Non Unicode client server application with winsock2 query?
    By dp_76 in forum Networking/Device Communication
    Replies: 0
    Last Post: 05-16-2005, 07:26 AM
  4. Professional Habits?
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 01-17-2003, 01:27 PM
  5. Unicode & Good Program Design :: C++
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-05-2002, 04:09 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21