Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Raw C++ File Transfer Program with GUI (http://www.programmingforums.org/showthread.php?t=10835)

c0ldshadow Jul 25th, 2006 1:17 AM

Raw C++ File Transfer Program with GUI
 
1 Attachment(s)
haven't been doing much programming lately, but a few weeks ago i decided to make a program in c++ that two people can use to transfer files between computers. one person can use the program to listen for incoming connections, and then the other person can send them a file using their ip.

if anyone sees any problems with the code please let me know. i hope that this code helps people understand winsock and how to make a simple GUI with C++.

here are the project files:

http://deeptide.com/pubcpp/sockchat.cpp
http://deeptide.com/pubcpp/resource.h
http://deeptide.com/pubcpp/file.rc
http://deeptide.com/pubcpp/exeguiregshred_full.ico

i have attached a screenshot of the ugly gui; i would have made the image bigger but the forum file size attachment for images was giving me problems.

Ooble Jul 27th, 2006 7:00 PM

Sounds pretty cool. Unfortunately, it's late and I can't check it out. Oh, and remember, there is a Finished Projects section.

rsnd Aug 7th, 2006 6:04 AM

nice...great work.

good gui coding

You should put those gui stuff in classes and seperate files. I would think people usually does that when they work directly with user32 library and c++. Its easier to understand and good for "rapid gui coding" with c++. Otherwise things get messy and time-consuming.

and...do you really need "UpdateWindow" straight after u painted everything.


All times are GMT -5. The time now is 12:45 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC