Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 25th, 2006, 12:17 AM   #1
c0ldshadow
Unverified User
 
c0ldshadow's Avatar
 
Join Date: Jun 2005
Location: NJ
Posts: 23
Rep Power: 0 c0ldshadow is on a distinguished road
Raw C++ File Transfer Program with GUI

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.
Attached Images
File Type: jpg untitled.JPG (13.5 KB, 109 views)
__________________
DeepTide

The way is shut.
It was made by those who are dead
and the Dead keep it.
The way is shut.
c0ldshadow is offline   Reply With Quote
Old Jul 27th, 2006, 6:00 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Sounds pretty cool. Unfortunately, it's late and I can't check it out. Oh, and remember, there is a Finished Projects section.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Aug 7th, 2006, 5:04 AM   #3
rsnd
Hobbyist Programmer
 
rsnd's Avatar
 
Join Date: Jun 2005
Location: Helltown
Posts: 162
Rep Power: 4 rsnd is on a distinguished road
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.
__________________
Spread your wings and fly! Chicken!
rsnd is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OnlineTextEditor.Com! Sane Show Off Your Open Source Projects 43 Jun 16th, 2006 8:55 AM
Language display in program Prm753 C++ 3 May 30th, 2006 5:45 PM
Command Prompt SkyPioneer Coder's Corner Lounge 5 May 3rd, 2006 10:07 PM
After execution - Error cannot locate /Skin File? wchar Visual Basic 1 Mar 5th, 2005 9:04 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:51 PM.

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