Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) std::strlen

 

std::strlen is a function to determine the length (in characters) of a C-style string.

 

#include <string>

struct Person
{
  std::string m_name;
  //Other member variables
};

int main()
{
  Person p;
  p.m_name = "Bilderbikkel";
}


 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict

This page has been created by the tool CodeToHtml