Jump to content
Sign in to follow this  
Meron95

Editado

Recommended Posts

herty

Tu o que estás a fazer no codigo é

Enquanto ouver texto vou ler
{
   if (lerLida = NADA) //les uma linha i não fazes nd com ela (???)
   {
        c1 = lerLida; //les outra linha
        c2 = lerLida; //les mais uma linha
   }
}

Leste 3 linhas e so guardas.t 2. Não percebi pk o fizes.t :/

Mas so tas a guardar o texto, onde tas a ver se a linha contem o "C1"/"C2" para ires buscar o que queres?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.