Thread: MAC LInux C++

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    MAC LInux C++

    Hi;

    in Ubuntu and C++, i need the code to obtain and show for screen myself MAC.

    Can you help me?.

    This is part of a big program and it's the only thing which i have problems


    I can use:

    #include <algorithm>

    #include <cassert>

    #include <iostream>

    #include <sstream>

    #include <vector>

    #include <netdb.h>

    #include "linklayer.h"


    Thanks in advance.

  2. #2
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    This looks like an assignment. If you've read the rules, you'd know that we won't do your homework for you, just help if you have a question.

    Looking up a reference for netdb.h should be enough.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 11-07-2009, 05:21 PM
  2. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 11:40 AM
  3. .NET Runtime on Linux / Mac OS
    By cboard_member in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-20-2005, 05:46 AM