Posts by mrsoliver • 45 points
6 posts
-
1
votes1
answer473
viewsQ: How to concatenate the name of a variable into C++?
Is it possible to concatenate the name of a variable into C++? Something like this: using namespace std; int main() { int casa = 10; string a = "ca"; string b = "sa"; cout << a+b <<…
-
1
votes1
answer147
views -
0
votes1
answer167
viewsQ: Variable and scope beyond file . cpp C++
Is there a possibility of a file . cpp "seeing" a variable declared in in another file . cpp? Example: in the main.cpp file there is a global variable int myVar. You can access it in another file,…
-
0
votes1
answer129
viewsQ: How to play queued audio on SDL Mixer and C++?
I have 4 different audios; I want to play them in a row, press a button and tap 1; when it finishes playing it automatically it starts playing 2, then 3 and then 4.... you can do this in the SDL…
-
1
votes1
answer138
viewsQ: C# Event by pressing button, not by clicking
I need to perform a function exactly by pressing the button. For the common function Botao1_Click it only executes when you release the click, I mean, if you click and hold a little time pressed it…
-
1
votes0
answers54
viewsQ: Skin windows media player Adjust window to video size
I’m building a very simple skin for windows media player. How do I get the video to open in its original size? That is, WMP has to capture the size of the video and already open in its size. For…