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

plotting circle on a xy grid

Hello , I have a code in which i have developed a sensor network with hundreds of nodes. THese nodes are scattered on a grid by assigining them random X and Y values. Each node has energy level which...

View Article


c# App_Startup event

Hi! When i run the file associated with my application, i want to do something with that file, where can i get the information about that file? basically I'm looking for c# equivalent of vb.net...

View Article


[VB.NET 2010] Populate Gridview from SQL

Hello fellow DICs, I'm having an issue populating a gridview from MSSQL. Here is my work so far: Private Sub RemovePart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...

View Article

thread with an instance of RemoteReader.Cant seem to get it.

I need to make a client with GUI. Here is what the teacher told us to do. Structure of your class: //many import statements public class ChatClient { public class ChatClient() { //Initialize the GUI...

View Article

Database menu item+ingredients tables

Ok. Right away i'm sorry if I shouldn't have made this topic or if theres an answer somewhere on here but I did do a quick look and to be honest i'm not even sure what I should search to find an...

View Article


Image may be NSFW.
Clik here to view.

Need help identifying and error

I believe I have my problem narrowed down to two sections of code. The first possible place of error is in the check actionlistener. Specifically getting the text from the JTextField. I tested the...

View Article

2D Arrays: cannot convert from 'int *' to 'int'

I've been working on a program which outputs a PPM pixelmap file after drawing it into a 2D array. I believe I have the idea down and most of it working but I'm running into the following error: error...

View Article

vb.net desktop application deployment issue

I am writing a vb.net desktop application for medical support group. They have a small network of 6 users. Because of security issues, the network nor any of the computers have access to the internet....

View Article


Inserting input stored in a variable into a while loop.

I'd just like to know how you would insert input that is stored in a variable into a while loop. Also I'd like to know what Boolean expression is best to use.

View Article


Writing code with multiple Class Methods and String Arrays

So what I am trying to do is create a code that lists music artists names using user input. It has to have multiple classes so I will have a main class, and a class for each decade of music. Music.java...

View Article

Random Code Playback / Revised Scoring System / Etc

Hey, For my first C++ project, I've decided to make a multiple choice quiz for my girlfriend - she is studying for her state-regulated exam to become a licensed hair stylist. Currently there are 25...

View Article

help using getline compared to input

Hey there, my code is nearly perfect, but I need help with my input for a value. here's the snippet of my code: cout << setw(15) << right <<"$" ; double Amount; input >> Amount;...

View Article

Image may be NSFW.
Clik here to view.

Direct X 11, TRIANGLESTRIP faces not going where they're supposed

Hi-o, I'm in a bit of a pickle. I've been at this for a few hours now and am having trouble getting my cube faces flat. I've noticed when I change the base vertex location on...

View Article


Text History Window

I'm making a program to keep incoming calls organized. Sort of like for a secretary to keep a record of who calls in and who they wish to speak to, etc. I wanted to make a history window that exports...

View Article

Image may be NSFW.
Clik here to view.

SDL&OpenGL - Simple colored triangle is pretty dark (C++)

Hi guys, i started programming with SDL and OpenGL! My first project was a simple rotating colored triangle. After that i tried a 2nd triangle, but this time textured! After around 1 hour playing...

View Article


Static method issue

Just fixed my bug never mind

View Article

Image may be NSFW.
Clik here to view.

New to C++ and have a query about arrays

Hi Everyone, I am new to C++ and I have a question regarding arrays. I know that in C and C++ when you create an array you need to specify how long it needs to be and then once you've done that it...

View Article


Image may be NSFW.
Clik here to view.

image that I want to add to existing JLabel does not display

I want to display the image that is saved exactly where all my text files are and the name of the image is: banana.jpg I don't want to make another class for displaying it so I tried to add a method....

View Article

Selection sort find "kth" smallest element

I have been asked to create a function based on selection sort to find the kth smallest element in an arbitrary array of integers. I used the standard selection sort which sorts the array and then uses...

View Article

Plane assignment program from hell for a very bad java programmer

Problem: -Create a java program in which an airline can keep track of it's seating assignments. -Using the InputDialog Method ask the user how many people will be coming aboard the plane. - The plane...

View Article
Browsing all 51036 articles
Browse latest View live


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