Thread: Is the following a bad practice in coding?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657

    Is the following a bad practice in coding?

    Code:
    namespace a
    {
         class A
              {.........};
     }
    namespace b
    {
         class A : public a::A 
             {...};
     }
    namespace c
    {
         class A : public b::A
             {...};
    }
    //and so on..for a few more times.
    If it is not a good idea, Why isn't it? && suggest a better way to represent network packets in a simulation.
    Last edited by manasij7479; 07-24-2011 at 07:14 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Practice
    By Fox101 in forum C++ Programming
    Replies: 4
    Last Post: 04-25-2008, 01:18 PM
  2. Practice
    By RunDosRun in forum C++ Programming
    Replies: 3
    Last Post: 12-24-2007, 12:35 PM
  3. Practice
    By 00Sven in forum C Programming
    Replies: 1
    Last Post: 03-13-2006, 04:13 PM
  4. just practice
    By Fizz in forum C++ Programming
    Replies: 4
    Last Post: 05-27-2004, 07:24 AM
  5. Practice
    By Octorok101 in forum C++ Programming
    Replies: 1
    Last Post: 07-02-2002, 03:14 PM