This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct string { | |
union contents_union { | |
char buffer[16]; | |
char *data; | |
} contents; | |
size_t size; | |
size_t reserved; | |
} ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://ameritascorp.account.box.com | |
http://amplifiedoffice.account.box.com | |
http://arcadvisorygroup.account.box.com | |
http://archigate.account.box.com | |
http://baylor.account.box.com | |
http://buffalo.account.box.com | |
http://cisco.account.box.com | |
http://clemson.account.box.com | |
http://cotterservices.app.box.com | |
http://cwru.account.box.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reading ASCII, UTF-8, UTF-16LE, UTF-16BE with auto BOM detection using C++11 on Windows platform | |
// Code tested on Microsoft Visual Studio 2013 on Windows 7 | |
// Part of the code is referencing http://cfc.kizzx2.com/index.php/reading-a-unicode-utf16-file-in-windows-c/ | |
#include <stdio.h> | |
#include <tchar.h> | |
#include <string> | |
#include <fstream> | |
#include <sstream> | |
#include <locale> |