Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I know that this is a kinda dumb question to ask here, but I have recently been getting stuck on creating a simple window in C++. I would like to customize things like it's name and stuff like that. The reason why I am asking that here is becasue I can't find any solution that works for me online. I have tried lots of things so far, but was never successful. I also do not want to use VS' presets because I don't really think they are the right way to go for me.
Thanks for any effort of helping me with this problem!
SDL provides a really nice and simple cross-platform API to create a basic window and renderer (http://www.libsdl.org/).
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
If possible please provide the documentation I need to get started. I need to get to the nitty gritty of things because I've gone through several languages and am ready to just start doing stuff.
In addition how exactly does one go about integrating bbcode editors into a webpage as the start of a forum site?
You won't like my answer, but you will need to watch a tutorial (or several) on Unity3D. There are a lot of concepts/tools in their software that programming won't teach you.
Once you understand the fundamentals of Unity, the answer should become clear. You will create your scene, and then place a camera that is fixed downward on the Y axis. Attach it to your Gameobject of choice and you'll get camera movement baked in (to some degree).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to explore about the signal of buttons from my gamepad, it's old but can use. And i want to code a small program that can detect and display the 'code' of these buttons when I touch to them in C++, can any body help me, I don't know where can I start ? Please !!!
To put it shortly, if you want to make a game playable in the command line, then don't. It's not meant for that kind of purpose.
I would personally suggest the SFML library. It has utilities for drawing on a window, handling events, graphics, sound, etc. and it's also pretty simple. Here is what you are (probably) looking for:
sf::Joystick class
However, if you don't want to use any external library, you will have to rely on your OS's library (e.g windows.h on windows) but that would make the code non portable, and most people hate that, since C/C++ were created specifically for that purpose. So this method is generally not suggested.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am writing this C++ application with wxWidgets.
I want to reproduce the following situation:
There must be one single mainFrame which should control the others.
Other windows should appear inside this mainFrame (like sections)
wxNotebook must not be used.
Imagine I have wxFrameMain, wxPanelA, and wxPanelB. The application should start wxFrameMain filled up with wxPanelA and after the user choses to change the view, it should get filled up with wxPanelB.
Does anyone have any tutorial or can explain how to do that?
It's really difficult to understand what does the requirement
wxNotebook must not be used
actually mean. Does this mean that the user shouldn't be able to change the pages on his own? If so, you are probably looking for wxSimplebook. If it just means that the user should be able to change pages but using UI different from wxNotebook, then perhaps one of the other book controls can be helpful.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I've been asked to implement Centralized Logging system in C++. But I'm new to programming, and it doesn't really make sense, what needs to be done in class Log? I'm told that this class has to have 3 levels: ALL, ERROR, NONE. What should be in this levels? How should I link this class to my other source codes?
I still do not have clear view on Logging, and cant seem to find resources online. One of the task was not to spam cout. I am really struggling on this, if someone could help me, I would greatly appreciate it.
Thank you.
Edit: Thank for answering. That helped, because I was not in 1st year and they taught python last year and i haven't, so that's why i am struggling with logging
The logging module of Python will give you a good idea of what a logging system should do. See logging.DEBUG, logging.WARNING, logging.ERROR, etc. for what 'levels' means. As for compiling and linking your class, that's a totally different issue altogether.
Other than that, not much for you. This is obviously homework, and you've shown little/no effort in terms of what you may have researched, or code you may have written.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I remember seeing some software applications demos before where they don't have any narration but just a background music played (no words, just the acoustic)...but i was never able to know the name of them. Any suggestions? It was pretty fast paced...or if you could kindly provide a link to some demo, I can try to search by voice...
Thanks
You might try http://www.ambientmusicgarden.com/. They have a lot of low-cost-royalty music which you can browse through based on several criteria. I first encountered them when the engineers at NASA did a really cool video montage of various launches and they used musci from there for their background.