Python and Voice input
Is there any way to make a Python program that takes a voice command as input and do stuff based on the command?? 1) I need something like a library or an index or a tutorial if possible. 2) If someone...
View ArticleHow does C++ determine variable location on the stack?
Correct me if I am wrong, but in the function "doub", a new variable scope is entered, correct? I am interested in knowing how C++ determines the stack location of "x". When it swaps to the new...
View Articlethread in init()
is running a thread in init() possible? I am trying to load images and I would like to load the images in the background as the program starts but I cannot find anything on threads in init, everything...
View ArticleCan anyone help writing DIJKSTRA algorithm in emu8086?
Can anyone help me making dijkstra algorithm in assembly language in emu8086? Help me if anyone can?
View ArticleFORTRAN code getting one submatrix and oscillating determinant
I am new to FORTRAN (programming generally) and am having problems with my code, which I have been trying to fix for weeks without success. I am trying to write a code to calculate the determinant of...
View ArticleEnemies moving in curves at a constant speed
Currently I am using the Pythagorean theorem to determine how much the X/Y values should be increasing for when I am tracking the Player. However the problem is that the enemy slows it's speed as it...
View ArticleArrayOperations class on primitive-type-static arrays
Hi I wrote a class that carries out operations on integer-type-static-arrays. However, I'd like to extend the functionalities in this class to other primitive-type-static-arrays, but I don't know a...
View ArticleUsing SDL_Image to display png images
Hi, Recently I have been experimenting with SDL_Image implementation into my program, simply because bmps do not support transparency and are too memory intensive. The problem I am facing with it is...
View ArticleProblem Grouping columns in a query
I have two tables, Table1 and table2. Table1 has the customer Info; Table2 has Notes for each Customer. Table1 CustomerID Name Address 1-----------JohnDoe----- abc 2 -------- james ----- cba Table2 -Id...
View ArticleHandling config file data
Hi all, I'm trying to create a program that can convert text from one format to another, and a lot of rules are necessary in order to do this conversion. So, my idea to handle this was to hold all the...
View Articlequestion:c++ syntax, (struct*) variable_of_type_struct?
(note:this is a question about syntax, not winsock. I am just using winsock as an example of where it has occured) I have been doing some winsock programing recently when I encounted this peice of...
View ArticlerichTextBox selectedText WinForms
Hello guys. I have a simple Windows Form Application, and I docked on my form an richTextBox. I have set the next lines: public Form1() { InitializeComponent(); this.Load += new...
View ArticlerichTextBox selectedText WinForms
Hello guys. I have a simple Windows Form Application, and I docked on my form an richTextBox. I have set the next lines: public Form1() { InitializeComponent(); this.Load += new...
View Articlequestion:Game Engine Structure
Really quick, any good books or sites that explain good Game Engine structure? I'm writing a very simple one in SDL and I would just like some basic common sense help with setting up the...
View Articlearray, dynamic memory, std::vector
Ok so i post the code..which is working perfectly fine, then i go on with the question /> 01 #include <iostream> 02 using namespace std; 03 04 int ROW=44; 05 int LN [][5]={ 06 /* 0*/ {37,13,...
View ArticleQuestion about objects
I want to ask, for example I have a server and client classes. I have a GUI components in that client class. If I would send to the server whole client object, and then server would modify smth, it...
View Articleno instance of constructor matches the argument list
Here is the constructor Bullet(sf::Vector2f& startPos, float angle, float speed, float lifeTime, std::string fileName, b2World& world) And my argument list //How each variable is defined...
View ArticleApplication relaunches outside of program!
I've tried to do this code below that runs on form load: Declare Auto Function SetParent Lib "user32.dll" (ByVal hWndChild As IntPtr, ByVal hWndNewParent As IntPtr) As Integer Declare Auto Function...
View ArticleNew to mobile development
I am currently a university student looking to expand my knowledge of programming. I currently know the basics of C# and java (formatting, loops, arrays, linked list, searching, sorting) i know the...
View ArticleNew to mobile development
I am currently a university student looking to expand my knowledge of programming. I currently know the basics of C# and java (formatting, loops, arrays, linked list, searching, sorting) i know the...
View Article