Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
F

fanyeqing

@fanyeqing
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • I use C++ all the time!!
    F fanyeqing

    It seems you didn't even write a class. Personally I think it would be better if you wrote:

    class MyClass
    {
    public:
    void MyDoSomething( const std::string & myCompareValue )
    {
    blablabla...
    }

    void MyDoSomethingOnListString(const std::string & myCompareValue )
    {
    for (int C = 0; C < myListString.size(); C++)
    {
    if (myListString[C] == myCompareValue) { MyDoSomething(myListString[C]); }
    }
    }

    private:
    std::vector myListString;

    };

    The Lounge c++ tutorial question career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups