Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
需要帮忙。
我做了一个 vb.net 项目,它已经完成了。但我的问题是,在我将项目安装到另一台计算机后。除非 WAMP 服务器打开,否则它无法连接到数据库。有没有办法在不打开 WAMP 服务器的情况下使用?
WAMP 代表 Windows Apache MySQL PHP。它运行 MySQL 服务器,因此您需要它来访问数据库。选项是另一台计算机上的用户运行一些 MySQL 服务器或连接到运行应用程序所需的数据库的 Web 服务器。
您也可以考虑使用 Microsoft Access 数据库。在这种情况下,您不需要服务器。所有数据库都在一个 MS Access 文件中。
为什么在我的电脑上cout<<main;打印1?我以为它会打印main的地址。但是当我使用时,printf("%x",main);我会得到不同的输出。
cout<<main;
1
printf("%x",main);
编辑:
我尝试std::cout了其他功能。我得到1了每一个案
std::cout