How to read a string along with special characters and pass that into an pointer.
I have a string like T_411_c which should be read from console window and have in a string so that i can pass it to some others API's which requires that? I need C code. reply ASAP.
Loading
VulpesPosted Nov 17, 2011, 9:22 AM
Sam HobbsPosted Nov 17, 2011, 3:29 PM
Reading a string like T_411_c requires no special code; it is very easy, just use any typical code such as what Vulpes shows. If however you need (for example) "£" then the problem is not your source code; you need to change the font used by the console window. Depending on what characters you need, you might need to change your program to use Unicode.