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

Program that counts lowercase, uppercase, numbers, and other

I have written a program that counts the number of lowercase, uppercase, nubers, and other characters in a continuous string. The problem I am running into is when it counts through the string it...

View Article


How to best fire off events at certain times in millaseconds.

I am making a music game in java, and have created a program that exports a text file of the milliseconds of the beats in a song. My game reads those in fine, but I am trying to find a good way to...

View Article


Correct Date Format

I have spent all morning and tried everything i have found. All I need is for my Date to be in the UK Format (dd/MM/yyyy). My date is populated in a DT and appears correct while in there. As soon as i...

View Article

Problem filling a textbox connected to DB

Hi I'm trying to fill a textbox according to another textbox value while searching the Table first textbox is txtMjrCode and the other is txtMjrName, I want the txtMjrName fills if the txtMjrCode value...

View Article

Trying to make a caeser cipher program with a character array

Basically have to enter a message and a shift amount and then the encrypted message will display the new character array. For example if i input: hello...with a shift of two, the new message would be:...

View Article


Removing elements in linked list

So my assignment is removing elements, int type in a linked list, to make them in order of ascending. So for example: header -> 2 -> 1 -> 1 -> 4 -> 3 -> 6 I have to traverse the list...

View Article

Pointers building a product-management program?

Hi fellow developers! Im about to start a little project designed to be used by myself in my little 2-man company. I need an application to manage products that i order home for my customers and along...

View Article

how do i display the numbers

Hi, I want to create a program where 5 people enter there name, and the computer randomly picks a name and says they have won. I have tried it with a for loop, but I have never been good with for...

View Article


Basic Url Router - simliar to Laravel's

I've implemented a very basic routing class that follows the ease-of-use Laravel routing system. I want feedback on what could be wrong, completely ridiculous or downright terrible: router.php: class...

View Article


i need to retrieve username and password from SQL DB

i'm working on a school project that i need to retrieve username and password from sql database and, depending on username and password entered, open specific windows form i have administrator forms,...

View Article

Passing c++ arrays to java jni

Ok, i am doing a java jni project, and i am trying to pass a string array from c++ to java. How is this done, i cannot figure out how to do it.

View Article

Compiling error? or code error?

Hello everyone, I hope that someone can help with my question. I have this command: first.size = (memory[3] & 0xFF) | (memory[2] & 0xFF) << 7 ) | ((memory[1] & 0xFF) << 14 ) |...

View Article

Not getting an error when entering letters and question with looping.

/* I'm trying to compile this program, but cant get it to run smoothly. When it prompts you how many integers should I compare? if I put 5 for example... I can only go up to 5 and will display the...

View Article


Finding the term with maximum recursive calls

Hey all, I'm stuck on an assignment - the objective is to find the GCD (greatest common divisor) of 987 and x recursively. But the goal is to find what number x could be that gives the highest number...

View Article

Update jlist

Which is the best way to update my jlist? I have 4 classes 1. Contact Contact(String name,String surname,int age,String phoneNumber) 2. ContactList which is an arraylist of Contact objects 3....

View Article


can't print a rectangle

Hi all.. i have a question. i started to read some tutorials in java,but i think that the lesons that im reading are not very clear. Here's what i don't understand System.out.println(new Rectangle(5,...

View Article

JButton hidden behind Image

I am using an image as a background and then I have another image as a JButton. The Background image currently overlaps the button, so you can't see it. When I comment repaint() out, then the button is...

View Article


Image may be NSFW.
Clik here to view.

Select text in VS 2012

Hi, how do I select text in a text box between point A to Z and then continue with the loop eg: TextBox1.Focus() TextBox1.Selectionstart(at point A) TextBox1.SelectionLength(ends at point Then...

View Article

Master Pages and Postback in ASP.NET

Hi, I have only one Master Page in my app , and i used RadPanel for NAVIGATION in Site. What i want is: When i navigate between pages through NAVIGATION, then MASTER PAGE CONTENT PLACE HOLDER Should...

View Article

Python Twitter API Help!

Hi, I'm still learning json and stuff like that so I need a little help. I'm basically trying to use twitter API to visualize the tweets on my timeline. This is my code so far: import oauth2 as oauth...

View Article
Browsing all 51036 articles
Browse latest View live


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