Posts

C++ || string with c++ || Part - 1

  Programming codester   C++ || String with c++       [PART-1]   in previous tutorial we learn about operators.   So now it's time to learn the concept of string with object-oriented programming with c++ .   Question of the day: Which memory storage is widely used in PCs and Embedded Systems? a) EEPROM b) Flash memory c) SRAM d) DRAM STRING WITH C++: -   Strings are used for storing text.   A  string   variable contains a collection of characters.   So, let's learn with example about string.   Syntax:   string variable = “your string ”;   EXAMPLE:   string blog =  "programming codester " ;   In this example variable is blog and string are programming codester .   To use strings, you must include an additional header file in the source code, the  <string>   library.   Example of string with object-oriented programming with c++ .     So, you s...