Quantcast
Channel: Programming Forums
Browsing all 51036 articles
Browse latest View live
↧

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 Article


How 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 Article


thread 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 Article

Can 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 Article

Image may be NSFW.
Clik here to view.

FORTRAN 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 Article


Enemies 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 Article

ArrayOperations 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 Article

Using 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 Article


Problem 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 Article


Handling 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 Article

question: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 Article

richTextBox 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 Article

richTextBox 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 Article


question: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 Article

Image may be NSFW.
Clik here to view.

array, 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 Article


Question 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 Article

no 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 Article


Application 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 Article

New 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

New 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
Browsing all 51036 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>