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

Misunderstanding with how to use an integer w/ a very simple program

Hey hey, this is my first time ever on the site posting, and as such, if you are reading this, I need you to understand that I am really, really new to C++. I've only even done Flash Actionscript, HTML...

View Article


how to send email in c# website

I want to send email to user when fire is detected. however the codes below is not working. i didn't receive any emails after clicking send. protected void btnSend_Click(object sender, EventArgs e) {...

View Article


Multiplying with percentages

Hi all. How can I automatically code my program so that when I type figures in a textbox, it will automatically be multiplied with a certain number and the answer of this multiplication will be in...

View Article

Image may be NSFW.
Clik here to view.

JTable abstract

Hello to all, I have an AbstractTableModel and im trying to make my checkboxes to work..I have tried different things but i just cant get it /> import java.awt.BorderLayout; import...

View Article

1000 Separator

Hi all. I made a project for accounting purposes and I would like to know, how can I code my TextBox to have a 1000's separator. Like for example, when the user types in 5336, I want it to be displayed...

View Article


Wrong output for Volume and Surface Area

The objective of this program is to calculate the volume and surface area of a cylindrical tank with 2 inverted spherical endcaps. Also, the length has to be within a range of 10 and 20 feet and the...

View Article

Facets of a text based game?

I am looking to make a text based game, like a offline mud kind of thing. Firstly, what i am not looking for; i don't need any particular code, don't need any networking help or mud libraries. What i...

View Article

Question/Problem about swing jTextArea to be used as console I/O

Greetings.. I'm try to run a java class intended to be executed in the console in a swing. I managed to come up with the outputs though, using PipedInputStream with System.setOut() and System.err()and...

View Article


Experience working group

In next month I will have a Java Project ( I learn in an Aptech center ) I'm leader of my group. What should I do first,how to division, what should I handle?

View Article


Making java program monitor users activity and write to file on exit

Hi guys, I'm developing a Hotel Management System and wants to include module that will monitor users activity and save them in a file that the admin will glance on. Please do help me out

View Article

Math with decimal is not working

hi guys, i have a function from Brazilian“s mail company, that calculates the shipping cost from a product, function...

View Article

Move TextBox on Form

I had vb.net on my Computer and it crashed. I could put the focus on any control and using the arrow keys i could move the control anywhere on the form. Now it does not work.

View Article

OpenGL: Problem with drawing update.

Hello guys. I'm trying to make a drawing in a window change his size every time i hit 'b' in my keyboard, but is not working properly. Every time i hit 'b', "glVertex3f(x,y,z)" in...

View Article


About SQL Query in VB.Net

Hello everybody, I Want to use the SQL query given below "SELECT * FROM tblEmployees WHERE (EmpName, EmpCity) = '" & txtNameAndCity.text & "'" Where txtNameAndCity.text = Vishal, Delhi Here I...

View Article

Anyone know a good beginner C# book?

Hey, I'm new to programming in general and kinda lost to be honest. I've looked around everywhere and I can't seem to find a C# book that is made for beginner programmers! I have two books already that...

View Article


Looking to print names and age from Command line arguments

I am writing a program that will allow me to enter between 2 and 6 names and age as command line arguments. I want an error if the arguments is not between 2 nd 6 and an error if a name is entered and...

View Article

SML type of function (currying)?

Using ListPair.foldr I need to create a function zipWith that combines pairwise two lists. The type of the overall function should be: zipWith : ('a * 'b -> 'c) -> 'a list -> 'b list -> 'c...

View Article


New to Java- implementation question

So I have gotten most of my code written and I have the logic down however i cannot seem to get the program to run... When I run it, it just runs the program I ran before this one. I will post my code:...

View Article

Binary VS Linear Search problem. [please help]

Howdy folks; I have been assigned a problem by my professor, and I think I have completed all of the points specified, however; he still says that I have not completed the assignment. I would deeply...

View Article

Cannot search ArrayList in Java

I have to create an ArrayList of students which will store their first and last name, a student number, a major, and their gpa. I have the program working but I have to be able to search the array for...

View Article
Browsing all 51036 articles
Browse latest View live