Help with a programming challenge (input, functions, output)
This is practice work for a coding contest at the school, the code is pretty bad; I'm sure there are better methods to approaching the problem, and I'm sure I mucked something (or a lot of things) up...
View ArticleCAN YOU HELP ME PLEASE I NEED IT TOM..
#include <stdio.h> #include <float.h> float grosssalarycalc(float value1,float value2){ float gsalary; gsalary=value1+value2; return (gsalary); } float ovtmpayoutcalc(float value1){ float...
View Articleneed help with simple for loop new to PHP and forum
I need to figure out how to make 5 rows of * and only use one for loop it has been driving me nuts all week any help is greatly appreciated because I have tried so many different ways. I am trying to...
View ArticleImplementing a reload function
I am making a tank game, and I am trying to implement a reload function. What I have now is this: void Turret::shoot(double deltaTime) { if(timeSinceLastFired > cooldown && shotLimit > 0)...
View Article2 Dimensional Array error code
Hi, I am new in C++ programming. I got a question that I don't know how to answer. It is about sorting two dimensional arrays. So here is the question. I must create a code that it can accept 5 names...
View ArticleSave Data in MSAccess Using Listview in Vb 6.0
Hello Guys,, I need Your Help I want to save my data in listview to my DB and This is My code to save data in listview Private Sub save() ListView1.ListItems.Add , , lblrp.Caption...
View Articlepygame collision detection problem
Hi, I am creating a simple game. For a bit now I have been trying to add collision detection. I am trying to use the colliderect() function to detect the collision but I get the error AttributeError:...
View ArticleWriting Special Characters To A Text File
I tried to write "2/9/2013" to a text file. But failed to do so. Is it possible to write "/" including others characters contained in a string in the text file?"
View ArticleAds in software
Hey there, long time lurker, first time poster here =) I've been thinking about ways to make money of my software recently. One interesting approach I thought of was: Integrating ads (like Adsense) in...
View ArticleNeed direction for solving a problem c#
Hello! I have a program, that should print out a string at any given coordinates with foreground and background colors on the screen. My problem I have is, Im not quite sure on how I should make the...
View ArticleHow to display the images in Datagridview from the database
Hello All, I have patient_table in the database. which contain Id, name ,Image & other fields I have inserted the image in the Byte form in the database. Now i want to display all records in the...
View ArticleProblem with remote screenshot sender
Hello everyone I made a project where the following code goes in a client application and it sends a screenshot through the network to my server application. The problem is that when the form is not in...
View ArticleError in Create Database Table
got this error when executing my php. "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 7" validate.php...
View ArticleVB code for two text box item and price from data access
I actually have a Access database where i have a table called "tblfreight" and two column is there (items and Price) And I want to auto show the Price when I choose Items. There is two Textbox:...
View ArticleAccessing account objects in a ArrayList using Loops
First of all, I am posting the main parts of the assignment so that you can better understand the problems I am getting with the loop methods: listAllAccounts, listAllOpenAccounts() and...
View ArticleLimited log-in.
We have a school project, we are making a website. I'm half way done with it, but I have encountered this problem. I want that one of the user must only allowed to log-in once. For example, an...
View ArticleForm Validation Error Message
Hi guys! I've been doing some tests with form validation. I have 3 textboxes, all of which need to have data. Whenver the user clicks submit, the form validates on the same page. If no problem was...
View ArticleVB Code to use open office writer when Ms word in not available
I am using the code below to open documents in Ms word. How can I amend this to switch to Open Office writer when the Ms office suite is not installed? Alternatively I could live with just switching to...
View ArticleGUI for an text editor: wxPython or PyQT/PySide?
Ok I want to make a little text editor that will support plugins and stuff later but at the moment I am trying to figure out what GUI system to use as I have never used any of them. I was looking at...
View ArticleObject reference not set to an instance of an object, Issue using LINQ
I am unsure what the problem is, I get this error after checking an item in the checkedlistbox: A first chance exception of type 'System.NullReferenceException' occurred in SpaceshipList.exe An...
View Article