Print dot( . ) in c++

This is a discussion on Print dot( . ) in c++ within the C++ Programming forums, part of the General Programming Boards category; Suppose a string contains dot as character( say, "c++ is good programming." ). Find the position of dot( . ) ...

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    1

    Print dot( . ) in c++

    Suppose a string contains dot as character( say, "c++ is good programming." ). Find the position of dot( . ) using standard find function and then print the whole string.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    And what are you asking our advice on? I presume you would consider it cheating that we solve your assignment, so it would perhaps be a good idea to be more specific about what you are asking for?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    This link has all the information you will need to do that assignment.

    QuantumPete
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  4. #4
    Registered User
    Join Date
    Aug 2008
    Posts
    8
    Wow... that may be the easiest homework problem I've ever seen posted on one of these boards.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. merging linked lists
    By scwizzo in forum C++ Programming
    Replies: 15
    Last Post: 09-14-2008, 05:07 PM
  2. need help making a dot bounce up and down y axis in this prog
    By redwing26 in forum Game Programming
    Replies: 10
    Last Post: 08-05-2006, 12:48 PM
  3. Personal Program that is making me go wtf?
    By Submeg in forum C Programming
    Replies: 20
    Last Post: 06-27-2006, 12:13 AM
  4. Scope And Parameter Passing
    By djwicks in forum C Programming
    Replies: 6
    Last Post: 03-28-2005, 07:26 PM
  5. What kind of programs should I start writing?
    By Macabre in forum C++ Programming
    Replies: 23
    Last Post: 04-12-2003, 08:13 PM

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