In the world of MFC
Posted by Marcus in C++, Programming on 10. Oct, 2012 | 0 Comments
Last week I got a call from a friend that they needed a simple software written in Visual Basic 6. Since I am an MCP on VB6 I said “Why not”. As it turned out, other coders have tried to Continue reading →
String to int in C++
Posted by Marcus in C++ on 23. Jun, 2010 | 0 Comments
This is simple but mighty annoying if you’re not used to C++, like I am. I am a C# coder, but working with C++ at the moment and sometimes it can get confusing. So I am writing this to remember Continue reading →
Int to String in C++
Posted by Marcus in C++ on 23. Jun, 2010 | 0 Comments
This is simple but mighty annoying if you’re not used to C++, like I am. I am a C# coder, but working with C++ at the moment and sometimes it can get confusing. So I am writing this to remember Continue reading →
Search for C++
Posted by Marcus in C++, LunaWorX.net on 16. Jun, 2010 | 0 Comments
To make my life simplier i made my custom google search tool to find c++ help, only in selected places. That way I won’t need to browse through dozens of forums and sites. So far i’ve added a few sites, Continue reading →
Stop “PlaySound()” in c++
Posted by Marcus in C++ on 26. May, 2010 | 0 Comments
So today I got into the problem of how to stop playing a soundfile that was started with Playsound with the SND_ASYNC parameter. PlaySound(“MySound.mp3″,NULL,SND_FILENAME || SND_ASYNC); Well, the solution was simple PlaySound(NULL, 0, 0); Well, that figures…
Sound in C++
Posted by Marcus in C++ on 19. May, 2010 | 0 Comments
Yesterday I learned how to play sounds with C++. This is the normal way to play a sound file. PlaySound(“chimes.wav”, NULL, SND_FILENAME); That works fine, until you need to control the sound volume. For that you need the Winmm.lib, which Continue reading →
C++ Arrays
Posted by Marcus in C++ on 12. May, 2010 | 1 Comment
Just so I don’t forget… //Simple array int Monkey[10]; int Banana[] = {23,18,10,10,8,2,3,2,2,3}; // Set value Monkey[5] = 42; Banana[3] = 123571113; // Get value cout << Monkey[5] << ” eats ” << banan[3] << ” bananas.” < OK, so Continue reading →
C++ queue
Posted by Marcus in C++ on 12. May, 2010 | 0 Comments
How to use queue: http://www.sgi.com/tech/stl/queue.html More information about the subject http://www.cppreference.com/wiki/stl/queue/start Thanks Roger for the links


