# C++ help

**URL:** <https://forum.kirupa.com/t/c-help/214921>\
**Category:** Uncategorized\
**Created:** [February 2, 2007, 12:08am UTC](https://forum.kirupa.com/t/c-help/214921 "2007-02-02T00:08:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wo1olf](https://avatars.discourse-cdn.com/v4/letter/w/278dde/32.png) [@wo1olf](https://forum.kirupa.com/u/wo1olf)\
**Post date:** [February 2, 2007, 12:08am UTC](https://forum.kirupa.com/t/c-help/214921/1 "2007-02-02T00:08:49Z")

</div>

[COLOR=black]can anyone help me with this.[/COLOR]  
[COLOR=black]Basicaly what the script does, is to ask a verb to a user and then list all the persons of the verb in the present(in french).[/COLOR]  
All i want is to a make a loop that take a pronom\* add it to the unchanging part of the verb and add the time part.  
Like this take pronom[1] add … add lastpart[1]  
anyoneknows how can i do it? my script above doesn’t work…

> 

#include \<iostream\>  
#include \<string\>  
using namespace std;  
void main(void)  
{  
string pronom1= "je ",  
pronom2 = "tu ",  
pronom3 = "il / elle / on ",  
pronom4 = "nous ",  
pronom5 = "vous ",  
pronom6 = "Ils /Elles ",  
terminaison1 = “e”,  
terminaison2 = “es”,  
terminaison3 = “e”,  
terminaison4 = “ons”,  
terminaison5 = “ez”,  
terminaison6 = “ent”,  
verbe\_inf,  
radical\_verbe,  
verbe\_conj;  
cout \<\< "Entrez un verbe a l’infinitf " \<\<endl;  
cin \>\> verbe\_inf;  
radical\_verbe = verbe\_inf.erase((verbe\_inf.size()-2),2);  
for (int i =1; i\<7; i++){  
verbe\_conj = pronom\*+ radical\_verbe + terminaison\*;  
cout \<\<verbe\_conj \<\<endl;  
}
