C++ Beginner

B

Ben Bateman

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
 
V

Victor Bazarov

Ben Bateman said:
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.

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?
John Harrison said:
Ben Bateman said:
 
B

Ben Bateman

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 said:
Ben Bateman said:
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.

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?
John Harrison said:
 
D

David White

Ben Bateman said:
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.

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
 
L

LeeNova

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.

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.
 
B

Ben Bateman

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,113
Messages
2,570,690
Members
47,269
Latest member
VitoYwo03

Latest Threads

Top