Hi, I see it everywhere but I can't find what´s mean the S before a constant string..... is a string casting? or what?
Code:StreamWriter* pwriter = new StreamWriter(S"c:\\KBTest.txt"); pwriter->WriteLine(S"File created using StreamWriter class.");
This is a discussion on This is a string casting? within the C++ Programming forums, part of the General Programming Boards category; Hi, I see it everywhere but I can't find what´s mean the S before a constant string..... is a string ...
Hi, I see it everywhere but I can't find what´s mean the S before a constant string..... is a string casting? or what?
Code:StreamWriter* pwriter = new StreamWriter(S"c:\\KBTest.txt"); pwriter->WriteLine(S"File created using StreamWriter class.");
On a hunch, I searched for "managed C++ string literal", and found: String Literal. So, if you are seeing it "everywhere", it means that you are using Microsoft's Managed extensions for C++.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way
Thanks, that is exactly what I need....... you are really a C++ witch