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

Image may be NSFW.
Clik here to view.

GDI+ complex gradients

Hi guys, I'm new to GDI+ and with the graphics libraries and now I'm facing one serious problem with the gradients. I'm dveloping simple game where you have two or more ellipses that move around, each...

View Article


Mobile Application Developement

Hey everyone! I discovered this cool way to learn mobile application development. It is really easy too! mod:removed referral link

View Article


Keyboard Output In Game

I've doing a lot of research to create a program that will allow me to use my xbox 360 controller while playing the game League Of Legends. I understand there are many software pieces that already do...

View Article

Linked List Problem

I am not expecting a fast answer, but I have to create a car database for my data structures class using a linked list in C, and I need to sort it by year as the data is being inputted then print it...

View Article

display retrieved SQL data into a CheckedListBox

New programmer here and asking your forgiveness on such a novice issue...hahaha Have a windows form app that when i click a button, it connects to a SQL database and retrieves data from a table. I then...

View Article


Throwing custom exceptions

Having trouble with some basic code here. We have an array class that lets the array start at variable indexes. I've encountered problems with throwing exceptions. With the add method, the exception...

View Article

I am curious about getting into game development

Hi, i have been searching google for literally the last couple days trying to learn about this but i cant find ANYTHING, i am trying to get into serious game programming, not because i think i might...

View Article

Needing some assistance on a problem, unique characters

public class AllUniqueStrings1 { public static boolean allUniqueChars(String s) { boolean[] char_set = new boolean[256]; for (int i = 0; i < s.length(); i++) { int val = s.charAt(i); if...

View Article


am i going along the right track? tic tac toe

hi all , my challenge is to create a simple tic tac toe , now i have written the code so when you click a square it draws a string into that square but i everytime i click another square the previous...

View Article


I'm creating a program that lets the user select between 1 of 6 lo

So the program I'm running starts of with 6 loops. each loop is inside of its own if/else if statement. I am getting an error that says 'if' without 'else'. Does this mean I just need to put an else...

View Article

Deck of Cards Applet how to shuffle and display

I'm writing an applet to shuffle 54 cards that I downloaded from an "images" folder, but I'm having trouble how to shuffle and then display the corresponding cards. So far, I know I need to generate...

View Article

produce a matrix table using toString()

I need to display Matrix tables using toString(). My code only displays the value in the last column of the last row. I cant work my way through it. It needs to come out like this: 1 2 3 4 5 6 7 8 9 It...

View Article

Restrict my form to not open more then once

This is my new form code it is working fine but the problem is as i click my button a form appear. i click again another form appear this thing continues as i click again and again. i want to restrict...

View Article


C++ XML Parser, write one myself or find a good free one

We have started our 10 week game development project two days ago, and I was put on the XML Parser and I have no idea where I should start looking. So my small question is: Should I write one myself...

View Article

Restart Code

Hi, im trying to make a very simple game, the first one to make it to zero wins, only 1,2,3 are only accepted. The problem is after the number goes down to zero and declares a winner i dont know how to...

View Article


How can i make a ReadOnly DateTime Picker in VB.NET?

Can anyone know how to make a Readonly Datetime Picker in VB.NET??

View Article

get contatcs firstname in nsmutable array

I'm making an app in which i want to access the contact's first name and store them in to nsmutable array so that i can get the values of that array like array[0] up to array[i-1] and print them in...

View Article


When should we use Exception ?

I leanred exceptions are used to catch errors (such as: files, network, user input ). Do we use it for every case ( listed above ) ? For example devide for 0. We can use IF statment to check a variable...

View Article

Error in writing array to file

Hello and thanks for your time. I came across an unusual problem, while executing the following code. A[0][0], when written onto the text becomes a 0, while it should have been a 1. All other numbers...

View Article

"Starter" code

I know that probably most of us don't like starting our programs from scratch. Whenever I had to do a project, I tend to copy/paste from something I did before, delete the extra stuff that I don't need...

View Article
Browsing all 51036 articles
Browse latest View live


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