I am developing program that will run only on windows, from windows xp to windows 10. using MFC. Do i have to be concerned about endianess issue. There will be many struct that will be converted to byte array and written and read from file.
typedef struct
{
int Userid;
__int64 StartDate;
__int64 EndDate;
int DaysLeft;
WCHAR Email[256];
WCHAR Serial[256];
WCHAR UserApplied[229];
WCHAR Country[256];
WCHAR Address[256];
}RecordInfo;
What are consequences of endianess (big/little). Is there any guide for writing endian-independent code in c++. Or if it is only for single platform (like windows only) there is no concern about endian issue.