I am studying on Udemy c++.  I had a question of vectors of vectors as code. Is there a way to vector a vector if I turned the alphabet into a numerical, then used that numerical to break down each set of 7 using 0-6 as ABCDEFG. Then, 0-6 space could be used for HIJKLMN. I have what is below in my notes but have trouble putting this weird concept of my own into a c++ program. I am thinking of how Romans used to use numbers for intials. Not the same though, lol.  A  B  C  D  E  F  G    0  1  2  3  4  5  6     H  I  J  K  L  M  N  7  8  9 10 11 12 13     O  P  Q  R  S  T  U 14 15 16 17 18 19 20     V  W  X  Y  Z 21 22 23 24 25 so NEO is 13, 4, and 14 where 13 is in the 0 space, 4 in the 1 space, and 14 in the 2 space. One would be 14, 13, 4 where 14 is in the 0 space, 13 in the 1 space, and 4 in the 2 space. My plan is to take poems and convert all letters into musical notes. In essence a U would pull the 6 space with G being the note to play in music when U is in the poem. I hope this crazy thought makes sense and I can learn more about vectors of vectors.

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter14: Exploring Object-based Programming: Designing An Online Poker
Section14.1: Visual Overview: Custom Objects, Properties, And Methods
Problem 7QC
icon
Related questions
Question

I am studying on Udemy c++.  I had a question of vectors of vectors as code. Is there a way to vector a vector if I turned the alphabet into a numerical, then used that numerical to break down each set of 7 using 0-6 as ABCDEFG. Then, 0-6 space could be used for HIJKLMN. I have what is below in my notes but have trouble putting this weird concept of my own into a c++ program. I am thinking of how Romans used to use numbers for intials. Not the same though, lol.

 A  B  C  D  E  F  G  
 0  1  2  3  4  5  6 
 
 H  I  J  K  L  M  N
 7  8  9 10 11 12 13 
 
 O  P  Q  R  S  T  U
14 15 16 17 18 19 20 
 
 V  W  X  Y  Z
21 22 23 24 25

so NEO is 13, 4, and 14 where 13 is in the 0 space, 4 in the 1 space, and 14 in the 2 space.

One would be 14, 13, 4 where 14 is in the 0 space, 13 in the 1 space, and 4 in the 2 space.

My plan is to take poems and convert all letters into musical notes. In essence a U would pull the 6 space with G being the note to play in music when U is in the poem. I hope this crazy thought makes sense and I can learn more about vectors of vectors.

Thank you,

Expert Solution
Step 1: Intro

You seem to be working on an intriguing project that entails mapping letters to musical notes once they have been encoded into numerical numbers. You may build a mapping structure between your letters and the numeric values they relate to in order to do this in C++ using vectors of vectors. After that, you may arrange these mappings using vectors of vectors.

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage