C++ Beginner

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ben Bateman

    C++ Beginner

    Hey there, I need to get some help with very basic C++ strings (they syntax
    of them in c++ and such). I need to define a string of characters that will
    be input.

    And how do I input the difference between uppercase and lowercase letters?

    Thanks



  • Victor Bazarov

    #2
    Re: C++ Beginner

    "Ben Bateman" <bbateman2@cox. net> wrote...[color=blue]
    > Cool that helped me get started writing the code. Now my next problem is[/color]
    i[color=blue]
    > have to placee a yes/no condition into the code that will either covert[/color]
    all[color=blue]
    > the uppercase letters to lower and lowercase to upper.[/color]

    Just wondering here, are you going to move a finger yourself
    (except to type your requests, that is) to actually get done
    what you need to get done or are you expecting John to do it
    all for you?
    [color=blue]
    > "John Harrison" <john_andronicu s@hotmail.com> wrote in message
    > news:bekipe$67l gt$1@ID-196037.news.uni-berlin.de...[color=green]
    > >
    > > "Ben Bateman" <bbateman2@cox. net> wrote in message
    > > news:J0kPa.1035 $AD3.412@lakere ad04...[color=darkred]
    > > > [...][/color][/color][/color]


    Comment

    • Ben Bateman

      #3
      Re: C++ Beginner

      Actually no, I am looking for help with this, as I said I just started doing
      this last week, and am not sure of the proper syntax of how I would do this.

      "Victor Bazarov" <v.Abazarov@att Abi.com> wrote in message
      news:vgrlgi6auh 1i26@corp.super news.com...[color=blue]
      > "Ben Bateman" <bbateman2@cox. net> wrote...[color=green]
      > > Cool that helped me get started writing the code. Now my next problem[/color][/color]
      is[color=blue]
      > i[color=green]
      > > have to placee a yes/no condition into the code that will either covert[/color]
      > all[color=green]
      > > the uppercase letters to lower and lowercase to upper.[/color]
      >
      > Just wondering here, are you going to move a finger yourself
      > (except to type your requests, that is) to actually get done
      > what you need to get done or are you expecting John to do it
      > all for you?
      >[color=green]
      > > "John Harrison" <john_andronicu s@hotmail.com> wrote in message
      > > news:bekipe$67l gt$1@ID-196037.news.uni-berlin.de...[color=darkred]
      > > >
      > > > "Ben Bateman" <bbateman2@cox. net> wrote in message
      > > > news:J0kPa.1035 $AD3.412@lakere ad04...
      > > > > [...][/color][/color]
      >
      >[/color]


      Comment

      • LeeNova

        #4
        Re: C++ Beginner

        On Thu, 10 Jul 2003 16:03:13 -0500, "Ben Bateman" <bbateman2@cox. net>
        wrote:
        [color=blue]
        >Cool that helped me get started writing the code. Now my next problem is i
        >have to placee a yes/no condition into the code that will either covert all
        >the uppercase letters to lower and lowercase to upper.
        >[/color]

        Are you using a pirated compiler with no documentation?

        If so, you really need to think about paying for some documentation.
        If you already have documentation, do a search for:

        toupper(), tolower(), isupper() & islower()

        That should do it for you.

        Comment

        • David White

          #5
          Re: C++ Beginner

          Ben Bateman <bbateman2@cox. net> wrote in message
          news:LMkPa.1040 $AD3.637@lakere ad04...[color=blue]
          > Actually no, I am looking for help with this, as I said I just started[/color]
          doing[color=blue]
          > this last week, and am not sure of the proper syntax of how I would do[/color]
          this.

          You need more than a newsgroup to learn a language, though. Do you have a
          book, or a tutor, or something else, and does that something else cover the
          areas you are learning? I'm not suggesting that you shouldn't ask the
          questions you asked. I'm just wondering if you are trying to learn with
          nothing, or if you can't find or are having trouble understanding your book,
          or whatever you have.

          DW



          Comment

          • Ben Bateman

            #6
            Re: C++ Beginner

            I am taking classes in programming, I have a book, the book gives me the key
            words to use but I don't understand how to put them into the compiler. I
            understand the logic behind it, but the syntax is what is killing me.


            "David White" <no@email.provi ded> wrote in message
            news:1TnPa.98$s I.11111@nasal.p acific.net.au.. .[color=blue]
            > Ben Bateman <bbateman2@cox. net> wrote in message
            > news:LMkPa.1040 $AD3.637@lakere ad04...[color=green]
            > > Actually no, I am looking for help with this, as I said I just started[/color]
            > doing[color=green]
            > > this last week, and am not sure of the proper syntax of how I would do[/color]
            > this.
            >
            > You need more than a newsgroup to learn a language, though. Do you have a
            > book, or a tutor, or something else, and does that something else cover[/color]
            the[color=blue]
            > areas you are learning? I'm not suggesting that you shouldn't ask the
            > questions you asked. I'm just wondering if you are trying to learn with
            > nothing, or if you can't find or are having trouble understanding your[/color]
            book,[color=blue]
            > or whatever you have.
            >
            > DW
            >
            >
            >[/color]


            Comment

            Working...