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

Not getting data (PDO)

So I have a form and a span element with an id that needs to be updated but isn't getting updated with the value from the database - it just gets the default rate value instead of getting the actual...

View Article


error '.class' expected

Hi I am having trouble with a Rock, paper, scissors program. Just so there is no doubt, I am doing this for a course. I just want help with the error message. .\Input>javac RPScissors2.java...

View Article


Logic error

Hello, Wrote a simple program that basically ask the user to enter the # of people entering and exiting a store. No more than 125 people allowed total inside and people may come and go anytime they...

View Article

**Tutorial HELP** COUNT() with SQL

<?php include_once('resources/config.php'); $query = mysql_query("SELECT COUNT(1) `posts`"); $count = mysql_result($query, 0); echo $count; ?> Its supposed to return the number of rows that i...

View Article

C program to graph functions

I need to write a program in C that can take any function and graph it. I was able to do this , but my program isn't correctly graphing functions with sine and cosine. I believe it is graphing sine and...

View Article


data structure binary search tree

#include<iostream.h> #include<conio.h> #include<process.h> class node { public: int info; node* left,*right; node* next; node() { left=0; right=0; next=0; } node( int a) { info=a;...

View Article

Image may be NSFW.
Clik here to view.

two questions about jTable.

Hi, i have two questions about jTable. Question 1 : i have a boolean column (etat) in table projet in database, can i show this column in jTable? cause i do for all other columns, but not for this...

View Article

How can I copy a class?

How can I make a copy of a class? I have a class, and before I want it sent to a method I want it to be an entirely new variable so the changes the method makes do not change the original variable. I...

View Article


A multi-client Chat application with File Transfer

I have been working on this project for 3 months already and I spent most of my time to learn about Socket programming and Threads. I have developed this Multi-Client Chat application using several...

View Article


Sending keystrokes to a webbrowser object.

I've been frustratingly trying to send keystroes to a webbrowser object in C#. But the catch is, is that It needs to continue functioning if the parent window loses focus. In short I can't just use the...

View Article

Problem with scraping a live webpage

Hey guys. I am trying to scrape a webpage to retrieve live betting odds and display them with C#. This is my code so far. It doesn't return anything. I want it to return the fixtures and the betting...

View Article

Saving and loading ListView items

Hey guys, So I've been trying to save a listview items to a txt file - since I'm not that experienced with any known database yet -, but it seems that I did something wrong somewhere in my code and it...

View Article

Struct variables printing problem

I am writing a genetic algortihm and i have a problem in printing some struct variables. I know that the code reads them properly because i get a result but when i try to print them on screen or in a...

View Article


ERROR: What is the error in this line of my code....

What is the error in this line of my code.... public Datem(int m, d ); {this(m,d,2006);}

View Article

Simple Calculator

I am just a newbie to this language. I am making a simple calculator using TASM. I already get the function of multiplication but my problem is the addition, subtraction and division. Here is my code...

View Article


Image may be NSFW.
Clik here to view.

JSON Array Parsing Error!

Hi guys, I am making an android app and getting the following errors when I am running my activity on Emulator. -Error parsing to json on getJarrayFromString(); org.json.JSONException: Value Database...

View Article

Authenticating password and username after jbutton click

Below is the error i receive after entering correct username and password. How can I correct this? I have 1 textfield for username and password field for password. Exception in thread...

View Article


C++ program to solve a soduku puzzule

I am not asking you for the code but I require some hint how to make this program in C++. I have tried using random numbers but the number of possibilities is so much that it looks as infinite loop....

View Article

C++ program to solve a soduku puzzule

I am not asking you for the code but I require some hint how to make this program in C++. I have tried using random numbers but the number of possibilities is so much that it looks as infinite loop....

View Article

error with sql server in c#

I debuged my programm and it worked properly,but now i face this two errors, 1- Unable to delete file "C:\Users\M.elecworld\Documents\Visual Studio...

View Article
Browsing all 51036 articles
Browse latest View live


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