Ir para conteúdo
Fórum Script Brasil

NovatoC++

Membros
  • Total de itens

    5
  • Registro em

  • Última visita

Posts postados por NovatoC++

  1. Brigadão Jonathan Queiroz, poxa já estava achando que era bug assim como os vários do Visual C++ 2008 do tipo que já aconteceu várias vezes comigo de não rodar um código C++ no Visual Studio e no Dev-C++ rodar exatamente o mesmo código, nem tinha me ligado. A sim, é verdade, usei o

    por engano, obrigado por essa dica também.
  2. Boa noite gente, engraçado, eu tinha quase certeza que tinha postado essa dúvida aqui ontem mas, bem, a dúvida é a seguinte. Escreví esse código:

    <html>
        <head>
            <title>My Trip Around the USA on a Segway</title>
        </head>
        <body>
    
            <h1>Segway'n USA</h1>
            <p>
                Documenting my trip around the US on my very own Segway!
            </p>
    
            <h2>August 20, 2005</h2>
            <img scr="images/segway2.jpg">
            <p>
                Well I made it 1200 miles already, and I passed 
                through some interesting places on the way:
            </p>
                
            <ol>
                <li>Walla Walla,WA</li>
                <li>Magic City, ID</li>
                <li> Bountiful, UT</li>
                <li>Last Chance, CO</li>
                <li>Truth or Consequnces, NM</li>
                <li> Why, AZ</li>
            </ol>
    
            <h2>July 14,2005</h2>
            <p>
                I saw some Burma Shave style signs on the side of the road today:
            </P> 
            <blockquote>
                Passing cars,<br>
                When you can't see,<br>
                May get you, <br>
                A glimpse, Of eternity.<br>
            </blockquote>    
            <P>
             I definitely won't be passing any cars.
            </p>
    
            <p>
                Obs.:
            </p>
    
            <dl>
                <dt>Burma Shave Signs</dt>
                <dd>Road signs common in the U.S. in the 1920s
                    and 1930s advertisinf shaving products.</dd>
                <dt>Route 66</dt>
                <dd>Most famous road in the U.S. highway system</dd>
            </dl>
    
            <h2>June 2, 2005</h2>
            <img src="images/segway1.jpg">
            <p>
                My first day of trip! I can't believe I fanally got everything packed and ready to go. Because I'm on a Segway, I wasn't able to bring a whole lot with me:
            </P>
            
            <ul>
                <li>cellphone</li>
                <li>iPod</li>
                <li>digital camera</li>
                <li>protein bar</li>
            </ul>    
            
            <p>
             just the essentials. As Lao Tzu would have said, <q>A jorney of a thousand miles begins with one Segway.</q>
            </p>
        </body>
    </html>

    a pergunta que não quer calar é, por que a imagem em <img src="images/segway1.jpg"> aparece tudo certinho e <img scr="images/segway2.jpg"> não

    aparece, se as tags são iguaizinhas, as imagens estão namesma pasta image e só muda o nome da figura, esse é o index, então o caminho está certo, este é apenas um exercício que estou fazendo, mas o grande problema é que a primeira imagem de cima para baixo, não aparece, aguém pode ajudar? E olha que estou testando no Firefox, não é no IE.

  3. Boa noite aí pessoal, poxa a quantidade de fóruns de python é muito pequena, uma pena. Bom, eu estou aprendendo python por conta própria mesmo, desde o basicão, acontece que algumas vezes ele dá uns erros beeeem estranho, por exemplo, esse aqui, não consigo ver o erro, alguém pode me ajudar?

    notas = [0,0,0,0,0,0,0]soma = 0

    x = 0

    while x < 7:

    nota[x] = float(input("Entre nota %d: " %(x+1))

    -> soma+= nota[x]

    x += 1

    x = 0

    while x < 7:

    print("Nota %d: %6.2f" %(x+1,nota[x]))

    x += 1

    print("Média: %6.2f" %(soma/x))

    por que raios onde eu coloquei a seta (->) o interpretador dá um erro dizedo "Invalid syntax", o que há de errado nisso, não vejo motivo nenhuuuuum, alguém pode me ajudar?

  4. Boa tarde gente, minha dúvida é a seguinte, estou retomando os estudos de html e estou tendo um problema com uma imagem. Eu estou testando com o Firefox, construí o caminho relativo certinho e tudo mais...A grande dúvida é, eu tenho duas imagens, os dois tags img são praticamente idênticos, mas no primeiro aparece o link quebrado e no segundo a imagem aparece direitinho, como pode ser? uhueheuhe Eu já testei inclusive no W3C e apareceram erros no primeiro tag que não apareceram no segundo, apesar de o segundo ter um único erro também mas, como pode? elas estão praticamente idênticas, só mundando o alguma coisa de algumlugar/algumacoisa.jpg

    <html>
        <head>
            <title>My Trip Around the USA on a Segway</title>
        </head>
        <body>
    
            <h1>Segway'n USA</h1>
            <p>
                Documenting my trip around the US on my very own Segway!
            </p>
    
            <h2>August 20, 2005</h2>
            <img scr="images/segway2.jpg">
            <p>
                Well I made it 1200 miles already, and I passed 
                through some interesting places on the way:
            </p>
                
            <ol>
                <li>Walla Walla,WA</li>
                <li>Magic City, ID</li>
                <li> Bountiful, UT</li>
                <li>Last Chance, CO</li>
                <li>Truth or Consequnces, NM</li>
                <li> Why, AZ</li>
            </ol>
    
            <h2>July 14,2005</h2>
            <p>
                I saw some Burma Shave style signs on the side of the road today:
            </P> 
            <blockquote>
                Passing cars,<br>
                When you can't see,<br>
                May get you, <br>
                A glimpse, Of eternity.<br>
            </blockquote>    
            <P>
             I definitely won't be passing any cars.
            </p>
    
            <p>
                Obs.:
            </p>
    
            <dl>
                <dt>Burma Shave Signs</dt>
                <dd>Road signs common in the U.S. in the 1920s
                    and 1930s advertisinf shaving products.</dd>
                <dt>Route 66</dt>
                <dd>Most famous road in the U.S. highway system</dd>
            </dl>
    
            <h2>June 2, 2005</h2>
            <img src="images/segway1.jpg">
            <p>
                My first day of trip! I can't believe I fanally got everything packed and ready to go. Because I'm on a Segway, I wasn't able to bring a whole lot with me:
            </P>
            
            <ul>
                <li>cellphone</li>
                <li>iPod</li>
                <li>digital camera</li>
                <li>protein bar</li>
            </ul>    
            
            <p>
             just the essentials. As Lao Tzu would have said, <q>A jorney of a thousand miles begins with one Segway.</q>
            </p>
        </body>
    </html>

    então, só mudou o images/segway1.jpg para images/segway2.jpg, as duas estão na mesma página e tudo mais, não era para ter erro se uma figura aparece porque as duas tags estão iguais.

×
×
  • Criar Novo...