小编Dav*_*vid的帖子

为什么我的网页变蓝了

这是一个链接到网站http://alohavirtual.virtual-aviation.org/几周前它刚刚开始变蓝.我查看了代码,没有任何东西可以让它做到这一点.应该有文字,但蓝色掩盖了一切,这是我以前从未见过的东西.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
  <title>Aloha Virtual Splash</title>
</head>

<body>
<center> <img src="http://virtual-aviation.org/alohavirtual/500px-Aloha_Airlines_Logo.png"></br>     </center>
<center><font size="6"></font><b><font face="Arial" size="38" color="#000000">E komo mai</font></b></br>
<font face="Arial Narrow" size="5" color="#000000"><p>Aloha Virtual Coming Soon</p]></font></center>
<!-- HTML Codes by Quackit.com -->
<embed src="http://alohavirtual.virtual-aviation.org/tradhawiianmedley.mp3" autoplay="true" hidden="false" loop="true" width="1" height="1" align="center" name="MusicPlayer" volume="10"></embed>
<font face="Cambria"><center></br>Aloha Airlines Virtual is not related to real world aviation includeing Aloha Airlines, Aloha Island Air, Island Air, or Aloha Air Cargo.</center></font>
</br><font face="Cambria" color="#000000"><center>All rights …
Run Code Online (Sandbox Code Playgroud)

html media embed background

1
推荐指数
1
解决办法
441
查看次数

C++密码尝试限制

我试图写一个程序,将密码限制为三次不正确的尝试,然后在3次不正确的尝试后退出.这是我到目前为止的代码.我觉得我真的很接近搞清楚但我无法弄清楚该怎么做.

#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
#include <cmath>
using namespace std;

void getPassword() 
{ 
  for(int i = 0; i < 3; i++)
  {
    string password; 
    cout << "Enter the password: "; 
    getline(cin, password); 

    if (password == "12345") break; 
      cout << "INVALID. "; 
  } //for
} // getPassword 
int main ()
{
  if (!getPassword()) break;
  else break;
  cout <<endl; 

  ofstream fout; 
  fout.open("mort.txt", ios::app);
  if (!fout.good()) throw "I/O error";

  double p; //Principal/Mortgage Amount
  cout << "What's the mortgage amount?"; …
Run Code Online (Sandbox Code Playgroud)

c++ passwords login-attempts

0
推荐指数
1
解决办法
2675
查看次数

标签 统计

background ×1

c++ ×1

embed ×1

html ×1

login-attempts ×1

media ×1

passwords ×1