Client - PLEASE HELP!

This is a discussion on Client - PLEASE HELP! within the C++ Programming forums, part of the General Programming Boards category; Hi Everyone, I have a group assignment to do and I need to basically get a simple blackjack game working ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    3

    Unhappy Client - PLEASE HELP!

    Hi Everyone,
    I have a group assignment to do and I need to basically get a simple blackjack game working over a network. So basically we have to make a Client and a server. My job is to make the game and a Client. This has to be done for next Thursday and I have been dropped in the deep end and have NEVER programmed in C++ before!
    I know that I am never going to get it fully working but to at least pass I need to at least get a little Client together that at least can pass messages over the network. So what I want to do is just at least get a little chat Client working or something. We have to be able to show we can create sockets. I know that some of the processes I should need to use are: Socket(), bind(), connect() and close().
    The Socket type I am using is TCP. As you can probably guess I'm really stressing about this now because I have no idea how to go about it. I'm sorry but I don't have any code to post up here.
    I'm not expecting anyone to do this for me but any help that anybody is willing to give me will be more than appreciated. Any code, examples or anything that might help me at least get a simple Client set up will be of great help. Or if somebody has the time to do a little more than that feel free.
    PLEASE HELP!!!

    Thank you for any help, Mark.

    P.S. If anybody does want to help but needs more information on what I have to do just ask.

    (The reason I have never used C++ before is because I took a year out at uni and then when I came back they had changed the programming we are using from Java to C++ so it's my supid Uni's fault that I can't do this!

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    This has to be done for next Thursday and I have been dropped in the deep end and have NEVER programmed in C++ before!
    So, you're at a school which requires you to program in C++ and you don't know C++, and you just figured that all out one week before an upper level assignment in C++ is due? Now, I've heard everything.

    Just curious: why do you think you should pass without being able to do the work?
    Last edited by 7stud; 12-14-2003 at 12:13 AM.

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    3

    Angry It's Not My Fault!

    I'm at Univerity which was teaching me Java until I came back after a Sandwich Year to find they were now doing C++. Therefore it is not may fault that I have a C++ assignment to do whilst not knowing C++. And the reason it is so late is because we had lots of group work to do for the same assignment before we could do the C++ bit. i.e. APL, Data Flow Diagrams, Requirements of the Client & Server etc.
    So basically it's not my fault that I'm in this position. Like I said any help would be very appreciated but if you don't want to then don't!
    If anybody else wants to HELP! then you don't understand how much you would be helping me. Thanx.

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    Therefore it is not may fault that I have a C++ assignment to do whilst not knowing C++.
    It sure is your fault. You're the one that decided to attend a school that requires programs be written in C++ when you don't even know C++. While the change in languages while you were taking time off may be unfortunate, it makes no sense why you would return to that school. Did you think you could fake knowing C++? Or, did you figure you could cheat your way through every assignment?

  5. #5
    Registered User
    Join Date
    Dec 2003
    Posts
    3
    It sure is your fault. You're the one that decided to attend a school that requires programs be written in C++ when you don't even know C++. While the change in languages while you were taking time off may be unfortunate, it makes no sense why you would return to that school. Did you think you could fake knowing C++? Or, did you figure you could cheat your way through every assignment?
    It isn't my fault. I didn't decide to go to a University that requires programs to be written in C++. I went to University to do degree on Games Development which includes all aspects (Games Design, 3D Modelling,) This assignment is just for 1 unit out of 10 this year. After successfully completing 2 years at university which includes other prgramming assignment Why would you give up just cos you have 1 assignment to do in a prgramming language you have never used before? This is just a small part of my course. Before I went on my sandwich year I was tought JAVA in order so that when I get in my final year I will have more work to do in Java. BUT the Univerity has changed the programming language used for the year below me meaning I am expected to have a certain amount of knowledge from previous years in this language. But I don't-What i do have is knowledge in Java from previous years. The university did not tell me when i came back i would suddenly have to use another language. How the hell is that my fault?
    These forums are supposed to be here to get help. All I am asking for is help. I'm not asking people to do the work for me and i'm certainly not asking for people to start questioning whose fault it is that i'm in the position I am in. ALL I WANT IS HELP!

  6. #6
    Registered User
    Join Date
    Apr 2003
    Posts
    2,662
    These forums are supposed to be here to get help. All I am asking for is help.
    There are many people here willing to help you, but how do you expect to get help with a language you admittedly don't know?

    My advice to you is: start with a "Hello World" program and work your way up. A good idea would be to take some more time off school, so that you can get the prerequisites for your classes fufilled. If you have trouble with the syntax or concepts, post your code and your questions.

    No one here is going to take your assignment description and do your assignment for you.

    Good luck.
    Last edited by 7stud; 12-14-2003 at 05:54 PM.

  7. #7
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,659
    Why not write the program in Java, then at least you'll have something that's yours? Turning in something that you did not 100% participate in is bogus, too, just be a man and turn in your best effort...



    ITSA
    Socket Library!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to Send Mac Address From Client to Server
    By Lieyza197 in forum C Programming
    Replies: 2
    Last Post: 05-27-2009, 09:58 AM
  2. Socket Programming Problem!!!!
    By bobthebullet990 in forum Networking/Device Communication
    Replies: 2
    Last Post: 02-21-2008, 06:36 PM
  3. Client works on a LAN but don't send all the data
    By Niara in forum Networking/Device Communication
    Replies: 9
    Last Post: 01-04-2007, 03:44 PM
  4. Replies: 1
    Last Post: 09-18-2005, 09:06 PM
  5. Unicode vurses Non Unicode client server application with winsock2 query?
    By dp_76 in forum Networking/Device Communication
    Replies: 0
    Last Post: 05-16-2005, 07:26 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21