-
October 8th, 2004, 05:05 AM
#1
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!
-
October 8th, 2004, 06:21 AM
#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.
-
October 9th, 2004, 03:37 AM
#3
Ah, yes, I feel so stupid for not realizing this simple solution, thank you very much!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|