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

Changing text in a textbox when input has been entered

hello, i am working on something. And i need some help. I want my text box to automatically change text when i have clicked on a button to enter the password after i have inputted the password as a...

View Article


What should i learn to write a nice java source code ?

I'm new to Java programming. With a basic background knowleged. What should i learn to organize Java source code ? ( In english it maybe "design pattern" Oops, I speak English not well. I have read...

View Article


Changing text in a textbox when input has been entered

hello, i am working on something. And i need some help. I want my text box to automatically change text when i have clicked on a button to enter the password after i have inputted the password as a...

View Article

Winsock length prefix

Hello. I am building a chat client-server application and it works mostly. But now I'm faced with the problem of transferring files, as they are binary data. I was previously using a message delimiter...

View Article

Moving camera in a 2D game world

Moving the game world I've made 2D game world for diablo2 like game and for moving the camera around I'm using two different methods: The 1st method is activating when the mouse position is near the...

View Article


Simulated Annealing N Queens Probability Forumula

I am having some trouble with a simulated annealing algorithm to solve the n queens problem. Basically, I have it look for a better more, which works fine, but then I run a formula to check and see if...

View Article

Image may be NSFW.
Clik here to view.

Array Maximum and Minimum values

Hi there! so I have a problem. I'm supposed to write a code that makes a 4X6 array with random values in it then get the sum of all 24 numbers the average, the maximum value, and minimum values of this...

View Article

recursion palindrome method... i'm stuck

Hi everyone. So in my Introduction to Java class, we're doing recursive methods. My homework was to figure out a way to use Scanner, arrays, and a recursion to figure out whether a user-inputted String...

View Article


Question: What's this assignment asking?

Here is the assignment I was given. The problem was I missed this week of class. But what exactly is it asking? Am I to open the file Assignment4testfile.bin and write a program that converts the...

View Article


Set home page for Web Browser Control in VB 2008

Hey guys, i am designing a web browser application and have tried but not succesful in doing the following 1. Setting the default home page to a html page in the solution (Or link a html file in the...

View Article

Image may be NSFW.
Clik here to view.

declaring a pointer inside a for loop to point to the end of an array.

Ok so i'm making a program that takes in a message, then prints it out backwards using a pointer. Sounds simple enough and it seems to be printing out properly however i keep getting a window that pops...

View Article

vb number of guesses and stats in guessing game

Hi,i am working on a guessing game in vb. I need to show the number of guesses and also the win loss record. Here is the code so far. Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e...

View Article

Even Numbers in Array

Hi there! alright I know this is probably the simplest thing in the world but I just can't get it. Populate a 1D array with even values from 1 to 12. What I have so far complies fine but doesn't run...

View Article


Function in main file

It has been a while since I programmed C at all, now I am working on a c++ program. Do I need to place any functions in a separate source file and header? or can I do the following in the same file as...

View Article

word count

Write a program that takes a string containing a sentence or a set of sentences, and counts the number of words in the sentence that meet or exceed a specified minimum length (in letters). For example,...

View Article


Initializing an obect

I am studying for an exam. Would you please let me know what I am doing wrong. /*Write a class called "Cat". Invent a few "instance variables" that make sense for a Cat. * Include a constructor that...

View Article

How to sort file data by country?

This is a program that reads a file, stores it in an array, sorts it by country and then prints the contents to the screen. Iam able to sort it by id, using the "-" operand. But i would like to sort it...

View Article


Datagridview with combination of calculated fields and database fields

I'm in the process of creating an application for a manufacturing company. It will be run on a touchscreen at the production line. The user will scan a barcode that is an ID for the production run. At...

View Article

How to click this type of webpage button ?

<div id="div_sMenu_text_wimax_auth.php" class="s_text" style="top: 101px;"> <table onclick="if(loading == 1) return;change_page("wimax_auth.php")"...

View Article

Reading in Files

I need to read in a .dat file and manipulate the words and letters in the file to a different format. I am aware on how to read in a file however each item in the .dat file is on its own line like so:...

View Article
Browsing all 51036 articles
Browse latest View live


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