Thread: Need help with 2 c++ tasks.

  1. #1
    Registered User
    Join Date
    Jun 2015
    Posts
    3

    Post Need help with 2 c++ tasks.

    Hello, I am a student and I am learning programming with internet technologies.
    Programming was my weakest subject. I have a debt in one of the subjects from last year. As I forgot mostly everything it's really hard for me to fix the debt.

    I got two tasks to fix it and I would like to ask if someone could do it for me. I need to have it done now.

    1. Find a text of 10000 words, count letters of each word, save the words and letters in map type container they need to be lined from shortest to longest word.
    The results than have to be showed in a txt file. Find 100 most often used words. Use iostream, string and map libraries. Has to be done in OOP style.

    2.Calculated function y = cos ( x ) values ​​and to output to a file. X varies between 59 ° 59'30 '' to 60 ° 00'30 '' after one second. X value derived sexagesimal format. Y value to put 10 decimal places . Task Has to be done in OOP style.


    I read the rules I know I shouldn't expect for someone to write a full program for me. I don't feel good asking to do it myself. But I am asking out of desperation. As time is short and I nearly forgot everything after so much time and there is no one else to help.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    As you noted, writing the programs for you would be against the rules: it would be helping you to cheat.

    So, consider the first task: what is your plan for implementing a solution, what have you done thus far and how does it not work?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jun 2015
    Posts
    3
    As the second task impossible for me. I don't understand it at all and don't have much time to try somehow do it.
    I focused on the first task, trying to find out how could I count letters of each word not all of them.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Vadim Polukejev
    I focused on the first task, trying to find out how could I count letters of each word not all of them.
    Great. So what have you done thus far?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Jun 2015
    Posts
    3
    Never mind I think. Thank you for your attention anyway. It's good to see someone trying to help in my position.
    I am from Lithuania and found someone who speaks in my language. He is good at c++ and he agreed to help.
    Thanks again for your effort.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simultaneous Tasks
    By C_ntua in forum C# Programming
    Replies: 2
    Last Post: 07-28-2009, 08:21 AM
  2. Homework tasks for fun
    By KoG Metalgod in forum C Programming
    Replies: 3
    Last Post: 12-19-2006, 12:40 PM
  3. C++ tasks
    By Womble in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2003, 02:15 PM
  4. c++ tasks ??
    By tcr8008 in forum C++ Programming
    Replies: 3
    Last Post: 10-18-2002, 02:02 PM
  5. Multiple Tasks
    By Joe in forum C++ Programming
    Replies: 7
    Last Post: 10-09-2001, 03:33 PM