¡@

Home 

c++ Programming Glossary: forename

What's the simplest way of defining lexicographic comparison for elements of a class?

http://stackoverflow.com/questions/2500664/whats-the-simplest-way-of-defining-lexicographic-comparison-for-elements-of-a-c

something like this struct MyData string surname string forename bool operator const MyData other const return surname other.surname.. const return surname other.surname surname other.surname forename other.forename This becomes pretty unmanageable for anything.. surname other.surname surname other.surname forename other.forename This becomes pretty unmanageable for anything with more than..

What is the modern equivalent (C++) style for the older (C-like) fscanf method?

http://stackoverflow.com/questions/2537500/what-is-the-modern-equivalent-c-style-for-the-older-c-like-fscanf-method

tFile ^ mypost.aftername delimiter fscanf tFile ^ mypost.forename delimiter fscanf tFile ^ mypost.dept delimiter fscanf tFile.. mypost_struct mps is mps.nr is.ignore 1 ' ' is.getline mps.forename 255 ' ' is.getline mps.aftername 255 ' ' is mps.dept is.ignore.. spaces in account. I have updated the answer assuming that forename and aftername are likely to contain spaces. And there was this..