Advertisement

04.07.2008 at 12:57AM PDT, ID: 23300679
[x]
Attachment Details

Split input into two variables

Asked by gnukki in C++ Programming Language

Tags: C++

Hi,

I'm making a programe where the user has to type in a coordinate via cin. This could be A5 (known from chess). I would like a function that split this input into two variables, where the letter is converted to a number, a=1, b=2 ect. The function should also work with both upper- or lowercase letter.Start Free Trial
 
Keywords: Split input into two variables
 
Loading Advertisement...
 
[+][-]04.07.2008 at 01:06AM PDT, ID: 21295003

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C++ Programming Language
Tags: C++
Sign Up Now!
Solution Provided By: Zoppo
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.07.2008 at 01:41AM PDT, ID: 21295151

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 01:47AM PDT, ID: 21295170

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 01:51AM PDT, ID: 21295186

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628