Thread: help me pls..... :(

  1. #1
    Registered User
    Join Date
    Feb 2002

    help me pls..... :(

    can you help me with my homework.. i find it difficult coz im just a beginner with programming in c++.. pls people.. kindly help me..

    1.) Using arrays write a program with function that takes 2 type integer array input arguments and their effective size and produces a result array containing the absolute difference between corresponding elements. in example, for 3 element input arrays 5, -1, 7 and 2, 4, -2 the result would be an array containing 3, 5, and 9. (we get the answer by 5 - 2 = 3; -1 - 4 = 5; 7- (-2) = 9... we have all positive values because we get the absolute value of the differences.

    2.) Using structures, write a program dealing with this situation:
    when playing a poker is is usual to arrange a hand to reflect its value. write a program that arranges and prints out a hand of 5 cards in sorted order by pips value. ace being the highest, next is king, queen, jack 10,9,8,7,6,5,4,3,2.

    anyone who knows how to do this.. pls help me ... im begging... pls... email me at if you know the answer.. pls help me.. pls....

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Have you even tried to solve the problem on your own? That's the purpose of homework, to teach you how to solve problems and learn for yourself.

    My best code is written with the delete key.

  3. #3
    Registered User minime6696's Avatar
    Join Date
    Aug 2001

    Post Sieriously!

    Ur on entirely the wrong track, hell with that attitude u minewell throw it all out and being in HTML,JavaScript, and be amazed by VB's "Power".

    Now im NOT saying u should do that, im saying u need to get into a new mindset. Everything isn't going to be done for u and explained, u need the think about it! How can I do this? If you have a specific question on something, im suere the C/C++/ASM Community @ would be happy to help, and if u would like I would be happy 2 tutor u.


    P.S. Contact me:
    AIM: aGaBoOgAmOnGeR


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic port scanner code .. pls help ???
    By intruder in forum C Programming
    Replies: 18
    Last Post: 03-13-2003, 08:47 AM
  2. i dont know what to do. pls. help!!!!
    By Unregistered in forum C++ Programming
    Replies: 14
    Last Post: 03-14-2002, 03:24 PM
  3. C programming - pls pls help me
    By sally arnold in forum C Programming
    Replies: 10
    Last Post: 01-16-2002, 04:55 AM
  4. pls help me!!
    By hanseler in forum C++ Programming
    Replies: 1
    Last Post: 12-05-2001, 08:46 PM
  5. Pls Help Me In This Question!!!
    By Joanna in forum Windows Programming
    Replies: 1
    Last Post: 10-20-2001, 02:05 PM