如何将其转换为32位,这是一个不受支持的16位应用程序 [英] How can I convert this to 32 bit, it's a unsupported 16-bit application
本文介绍了如何将其转换为32位,这是一个不受支持的16位应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
#include <SFML/Graphics.hpp>
using namespace sf;
int width = 1024;
int height = 720;
void drawQuad(RenderWindow &w, Color c, int x1,int y1,int w1,int x2,int y2,int w2)
{
ConvexShape shape(4);
shape.setFillColor(c);
shape.setPiont(0, Vector2f(x1-w1, y1));
shape.setPoint(1, Vector2f(x2-w2, y2));
shape.setPoint(2, Vector2f(x2+w2, y2));
shape.setPoint(3, Vector2f(x1+w1, y1));
w.draw(shape);
}
int main()
{
RenderWindow app(Videomode (width, height), "3D Test 0.1");
app.setFrameRateLimit(60);
while (app.isOpen())
{
Event e;
while (app.pollEvent(e))
{
if (e.type == Event::Closed)
app.close();
}
app.clear();
drawQuad(app, Color::Green, 500, 500, 200, 500, 300, 100);
app.display();
}
return 0;
}
我的尝试:
我试过在某些网站上跋涉,但它是所有模拟器的
推荐答案
尝试 script.google.com/作为一种编码资源,我经常使用它。很抱歉,如果这没有用,但你可以告诉我它是否
Try script.google.com/as a coding resource i use it a lot. Sorry if this did not help but you can tell me if it didn't
这篇关于如何将其转换为32位,这是一个不受支持的16位应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文