Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How can I run this command in terminal?

    Hello all,

    I am try to run in terminal the files located inside of the URL:

    mainly the Tic-Tac-Toe Application in C++. Click one and you find

    //Compile and link with wsock32.lib

    located at the top of source code. I know to run a C++ program by inputting g++ [name].cpp -o [name]

    but do need help in "//Compile and link with wsock32.lib"

    What exactly I type in the terminal to this? Thank you, and I apologize for my poor English.

  2. #2
    Linux Newbie
    Join Date
    Sep 2012
    Nashville, TN
    I think the problem you will run into is that it uses the winsock library which is a windows only library. You might be able to find a port of winsock but I am not 100% sure if one exists.

  3. #3
    Linux Engineer
    Join Date
    Jan 2005
    Saint Paul, MN
    WinSock is a port of the "FreeBSD sockets" and all Unix and Linux flavors have the sockets library (in see include "socket.h").

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts