Posts by 648trindade • 224 points
8 posts
-
0
votes1
answer50
viewsA: Vector issues using intel’s C++ compiler in Visual Studio
This question is similar to that one made in the stack in English, and the answer to it is same as she received. Anyway, as the purpose of this forum is to provide answers in Portuguese, I will…
-
0
votes2
answers201
viewsA: Error in keyboard events in Allegro
Apparently the problem was a bond that surrounded that code region or the region that I called printf("%c", cmd);. I can’t remember, it’s been three years. Who had a similar problem: take care of…
-
0
votes1
answer113
viewsQ: How to include Sdl_image lib for my Solution in Visual Studio 2015?
I’m trying to create a C++ game with SDL2 for Windows Phone 8.1 I follow this tutorial https://hg.libsdl.org/SDL/raw-file/tip/docs/README-winrt.md and a game with only the SDL2/Winrt project (no SDL…
-
3
votes0
answers2038
viewsQ: Allow a script to access a google spreadsheet and return a JSON without authentication
I was thinking of using a google Docs spreadsheet as persistence of a little application that I will develop. To do so, I made the following script in the google script editor function doGet(e) {…
-
0
votes2
answers1917
viewsA: How to Show all elements of an array declared in a C struct?
Hello, I think it’s unclear what you meant to ask. First, there is no method more recommended for output values in C than with printf. To print the names, just follow the same logic you used to read…
-
0
votes1
answer201
viewsQ: "No module named pygame.base" - pygame and pypy
After several attempts and errors, I was able to install pygame 1.9.2a0 in pypy3, downloading the current version via Mercurial and installing via /path/pypy3 setup.py But when giving import, I get…
-
1
votes2
answers584
viewsA: Is it possible to create a communication between a Tkinter application and a pygame?
Yes, it is possible. At least it is possible to embed pygame in Tkinter. On some platforms it is possible to embed the pygame display in an existing window. To do this, the environment variable…
-
6
votes2
answers201
viewsQ: Error in keyboard events in Allegro
I’m doing a work of my course using Allegro as indicated. I need to capture the events of loose keystrokes on the keyboard, so I used the following: al_wait_for_event(evento, &ev); if(ev.type ==…