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

Animation

I want to make 2D game. The character should run left-right. I want to use animation, picture changing while I'm running.. I have a array of images. I tried to use Animation. But It doesn't work. Same...

View Article


Problem in disck scheduling algorithms

helo, I cloudn't make my program work in C++; it is even make my system crash when i was try to solve the problem , #include<iostream.h> #include<conio.h> #include<stdlib.h>...

View Article


Adding graphic objects to ArrayList

Hello, I am trying to make a program that allows the user to click anywhere on a JPanel to create a "bubble". I want there to be multiple bubbles, in essence I want the number of bubbles the user can...

View Article

SQL query failing.

Hello I have a problem with a SQL query for my web-based game. Could you guys please have a look at it and help me a bit with how to structure this query? Here is my query code: //This would be written...

View Article

OpenFileDialog problem

I am trying to create a list of files to copy or move I use OpenFileDialog to add the files to the list But whet the file is link "shortcut" it add the original file not the lnk file what should I do

View Article


Image may be NSFW.
Clik here to view.

Problem with reading from file to a vector of struct

Hi! I'm trying to read in a list from a file into a vector of struct. It reads in the first row normally and then like this: and it reads the last row two times. Don't really know why. Thanks for any...

View Article

Timer and action listener

I would like make a program the counts down from 10 to 0. When it reaches 0 it says Blast off and exits. It needs to use an action listener.And display the countdown in a JTextfield. It is to use the...

View Article

CakePHP Problem: Failing to Save Uploaded File to a Database Table

Hello, I am having some trouble saving an uploaded file to a table in MySQL database. With that said, I have 2 fields in this table that references 2 other tables. One being user_id (which lets you...

View Article


SDL using C in DevC++ 4.9.2

Hi there I just set up SDL in DevC++ to do make some 2d games.I then tested it by typing a demo program and the program gave the desired output(displayed a window) but an unwanted console window is...

View Article


JAR - won't use custom MANIFEST.MF, constantly uses default

Been pullin' my hair out for hours now on this. I have programmed this project for almost 60 hours and I'm trying to JAR it all up (tried both Eclipse and command line jarring). However, I keep getting...

View Article

Refactoring the method.

I am solving the Travelling Salesman Problem. I have a cost matrix and i want to find the cost of a tour. Method i have written works but my question is whether it is written in a Pythonic style. Any...

View Article

Using an array to have multiple bullets on the screen. [2D]

Hello guys. I'm working on a simple space shooter kind of game where you are supposed to shoot enemy ships that are coming towards you. I have the code working to the point where you can fire a single...

View Article

Everybody needs a bit of help, here are 32

What can you do in 32 bits? This is just a fun little game to see what you can represent in a standard 32-bit integer. As most (all?) languages allow for bitwise operations I don't care what language...

View Article


[link] Starting An Open-Source Project

http://coding.smashingmagazine.com/2013/01/03/starting-open-source-project/ I've seen this question pop up a few times, and this article does a great job sweeping over all the areas you may miss when...

View Article

Changing the Form Title

Hey, I am kind of new to Visual Basic and I am running Visual Studio 2012. So, my question is... How do you change the title of the Form from "Form 1" to something else?

View Article


Excel-Active X Combobox, Selecting Sheets

Hi, Am a newbie in trying to automate Excel. I have a workbook with 50 worksheets and a menu sheet. On the menu sheet I created an Actixe X combobox filling it with the fifty sheets. I wish to be able...

View Article

Auto resize of GRID in asp.net

hi, i have a prob, i have a RADGRIDVIEW which is shown in picture , when Load it , its sides are cutted because of no design limitation, i donot know how to tackle it, eg CSS or Grid resizng etc...

View Article


Grid resizing due 2 design limitation

hi, i have a prob, i have a RADGRIDVIEW which is shown in picture , when Load it , its sides are cutted because of design limitation, i donot know how to tackle it, eg CSS or Grid resizng etc attached...

View Article

Image may be NSFW.
Clik here to view.

If Textbox is left Empty Then Set it to Default Value

Hey, I am making a simple calculator in Visual Studio 2012 using Basic... I want there to be a default value to an input into a textbox in case it is left empty (default = 0)... this is my code Public...

View Article

Image may be NSFW.
Clik here to view.

C++/SDL "fog of war" effect

Hi everyone! I'm trying to create something like a "fog of war" effect but I don't really know how to do it... I've found this:...

View Article
Browsing all 51036 articles
Browse latest View live


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