Results 1 to 3 of 3

Thread: Dev ++ and Sockets question...

  1. #1
    AFLAAACKKK!!
    Join Date
    Apr 2004
    Posts
    1,066

    Dev ++ and Sockets question...

    I have been in the process of learning C++ and have stumbled upon a good tutorial that teaches the basics of socket programming with C++. Some of you might know what I'm talking about, it's Beej's guide. I have a problem though. My compiler is Dev ++ and I can't run the programs that use sockets because I need to link some kind of a file and #include <winsock.h>. Can someone help me out and tell me what file I need to link, and how to link it in Dev ++. The guide tells you that you can do it in the "Projects tab" but in dev++ it's greyed out for some reason...

    Any help will be greatly appreciated!

    Thanks in advance!
    I am the uber duck!!1
    Proxy Tools

  2. #2
    it is greyed out because you are not using a project atm.
    you have 2 possibilities to write a program in DEV-CPP, one is stand alone code and the other is via a project.

    now when you go to file-->new-->project. you can start a new project and copy the code you have so far into this project. NOW you are able to use the options as given by Beej's guide.

  3. #3
    AFLAAACKKK!!
    Join Date
    Apr 2004
    Posts
    1,066
    Ah, yes, I feel so stupid for not realizing this simple solution, thank you very much!
    I am the uber duck!!1
    Proxy Tools

Posting Permissions

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