Question:
In C++ Language, How to use cstring header file?
R S
2007-07-13 21:16:02 UTC
In C++ Language, How to use cstring header file?
Three answers:
I R Sonajiso
2007-07-13 21:28:35 UTC
The cstring header file defines quite a few *low level* character string management functions for C-style strings (read: null terminated array of char's). This is most likely not what you want to deal with in C++.



For basic string management, under C++, I would recommend you use the STL string object for string management instead of string.h.



The references at the end have examples.



But, if you insist on using cstring.h just #include in your code and you are ready to use any of the functions described here: http://www.cplusplus.com/reference/clibrary/cstring/
2016-12-14 13:21:44 UTC
YOU FIRST look into in spite of if THE IO HEADER report IS IN comprise itemizing .in spite of if it rather is not THERE PLEASE reproduction FROM ANY the place AND positioned IT IN that comprise itemizing.IF U ARE making use of C EDITOR FROM UR C:residing house windows U ought to reproduction the finished 'C' PROGRAMFILES IN THAT(C:).IF not U CAN USE different DRIVES by making use of placing PATHS AS FOLLOWS: a million.decide for thoughts INTHAT decide for DIRECTORIES : 2.here you have FIEDS to go right into a.comprise b.LIBRARIES c.OUTPUT PLEASE fulfill THE FIEDS AS FOR UR 'C' SETTINGS. and experience the 'C' PROGRAMING.
revolution_cry9
2007-07-13 21:19:39 UTC
#include


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...