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

Problem with multiple (array) socket receive

Hi! I have to make a connection (client application) to 8 different socket. And then receive data from all socket. What I'd tried to do is make an array of socket and the connect them. This is working...

View Article


Program does not respond to input (Beginner)

Hello peeps. I'm learning C in my programming class and I'm a beginner. I'm trying to do a simple program where the user enters a number, then the program spits it back out. But for some reason when I...

View Article


hlsl - how do i reflect meshes of the same type to be opposite.

Hi all and thanks for reading. My issue is that I wish to know the correct method for reflecting a mesh against another of the same type using the shader. Im sure this can be done, but I am a noob so...

View Article

Penny Wise PRogram

Players: 2-6 Object: To be the last player with any coins. Setup: Each player starts with four pennies, three nickels, two dimes, and a quarter. The pot is empty at the beginning of the game. Play: On...

View Article

Double cannot be dereferenced

Having problems comparing to objects radius... says double cannot be dereferenced. I'm new to the equals method and greaterThan method so I need some help! public class Circle { private double radius;...

View Article


Pythagorem theorem

hi having a little problem with pythagorem theorem the problem is is that I've wrote the formula to find the length of the hypotenuse line but when I draw this to the screen the line is longer tha my...

View Article

Page layout

Hello I've seen this layout in certain websites where the page's <body> width and height are fixed to the actual screen or monitor size and when you scroll 'down' or 'up' only the <div>...

View Article

Page layout

Hello I've seen this layout in certain websites where the page's <body> width and height are fixed to the actual screen or monitor size and when you scroll 'down' or 'up' only the <div>...

View Article


Record and FikeOpen Question

Hello, I am making a code that is just for a small school project I have. To explain it fast - a user enter some info into textboxes - it gets saved in a file on the computer. I am using "Records" i...

View Article


Loss of data in writing large String to a file

Hello, I have approximately an 8Mbyte string I want to write to the hard drive. In doing so approximately the last 100 characters is not getting written. I am debugging in NetBeans and on the final...

View Article

saving selected array value to a variable

i have created an array to save the selected files in my folder and display these value in a dropdown box but i want to save the selected file which i can call later to view in a table. here the code i...

View Article

The operator * is undefined for the argument

Hello, I'm new to this website, and new to programming. I'm trying to write a simple code that will multiply height and width(Excuse my English, It's not my native language) But I'm getting the error...

View Article

Circumventing Open File Dialog Box when Uploading a file to a website

Hello board, I am a brand new member here, and I am nearly brand new to coding. I cut my teeth using uBot Studio, if anyone is familiar with that. So I have a pretty basic understanding of coding and...

View Article


Need help with errors

Where did I go wrong on this code? import javax.swing.*; import java.util.*; import java.text.*; public class CoffeeDriver { public static void sortName(Items arr[]) { Arrays.sort(arr,...

View Article

Framework of Cart Pole w/ Reinforcement Learning

I am working on a side project that is modelling a the inverted pendulum problem and solving it with a reinforcement learning algorithm, most notably Q-Learning. I have already engineered a simple MDP...

View Article


Single Responsibility Principal

I'm wanting to work on separating this submit function so that it doesn't do too much. What can I do to make this functions into smaller functions. /* Not sure if this is needed if...

View Article

Backtracking Sudoku Solver

delete please

View Article


A database on the phone or something else?

Hi everybody, I plan on creating a Java Mobile application that needs quick access to a relatively large amount of information. The information would (ideally) be structured in 4 or 5 information...

View Article

How to search a tree(postorder) in C

I write a function to search a tree, and find out the node suitable and store them in an array. It is in postorder. void search_for_node(node *root, node *list[]) { int j; if (root == NULL) return;...

View Article

Cannot write output text file to contain seperate lines,

I would like to write a program in c# that reads words from an input text file and writes an output text file containing lines each consisting of two comma separated values identifying the word and 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>