- My C++ synchronization objects library for Windows and Linux was updated.. - 1 Update
- How to get the next line character(s) - 17 Updates
- How to get the next line character(s) - 3 Updates
- why inline function doen't "inlined" - 4 Updates
computer45 <computer45@cyber.com>: Feb 15 06:21PM -0500 Hello, My C++ synchronization objects library for Windows and Linux was updated.. Now my Scalable RWLocks using scalable counting networks were updated to version 4.2 Now the scalable counting networks are much more optimized and they avoid false sharing.. You can download my new C++ synchronization objects library for Windows and Linux from: https://sites.google.com/site/aminer68/c-synchronization-objects-library Thank you, Amine Moulay Ramdane. |
wij@totalbb.net.tw: Feb 14 06:53PM -0800 How to get the OS dependent new line character(s) and store in a variable? const char newline[]=std::endl; // this line shows intention but don't work |
Melzzzzz <Melzzzzz@zzzzz.com>: Feb 15 03:05AM > How to get the OS dependent new line character(s) and store in a variable? > const char newline[]=std::endl; // this line shows intention but don't work What dou you want? '\n' is for new line , but if you want to follow specific OS then look what character(s) are needed. -- press any key to continue or any other to quit... |
Paavo Helde <myfirstname@osa.pri.ee>: Feb 15 06:31AM +0200 > How to get the OS dependent new line character(s) and store in a variable? > const char newline[]=std::endl; // this line shows intention but don't work In practice (assuming the old classic Mac OS is derelict): #ifdef _WIN32 const char newline[]="\r\n"; #else const char newline[]="\n";
Subscribe to:
Post Comments (Atom)
|
No comments:
Post a Comment