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

Compile Error incompatible types

Hi I keep getting this error when compiling. What can be the problem? Wrote this same while statement in C++ and it works there. error: incompatible types while(nodePtr.next) ^ required: boolean found:...

View Article


Inserting NULL Values to Database C#

Okey This is my Table Structure CREATE TABLE USERS ( [User_ID] INT IDENTITY, First_Name VARCHAR(20) NOT NULL, Last_Name VARCHAR(20) NOT NULL, BirthDay DATE, Age INT, Salary MONEY CONSTRAINT USERS_PK...

View Article


Fatal error: Call to undefined function aary()

I am getting the error Fatal error: Call to undefined function aary() in C:\wamp\www\MultiDimensionalArray.php on line 57 Can someone show me what is wrong with my code and maybe correct it thanks I...

View Article

Callin class from J button Click

See code below for JBUTTON addpatient. The code below the button code is for a class i created to display the addpatient GUI. WHat code do I need to add to addnew button to get the addpatient form to...

View Article

configuration of message size (in bytes) and messages transfer rate

Hello please I need an hint/help on how to implement configuration of message size (in bytes) and messages transfer rate ( messages per second)in which I can specify these values as client command line...

View Article


Image may be NSFW.
Clik here to view.

[Unity3D] How to make Race Standings or Position ?

Hello everybody, I'm making a racing game project. I have a question on making Race Standings or Position. You know, it's like this I've searched all around google and it still doesn't help. I've also...

View Article

hex to ascii converter

Hi, I want to hex_to_ascii converter function in C++ which takes care of special ascii character as well. For example, to convert "610062" into ascii. i know that std::string & push_back() can be...

View Article

Program hangs when displaying a table with 2 or more rows

Why does the program hangs when displaying a table with 2 or more rows? It doesn't hang when it display only 1 row but after I tried adding 1 more row through phpmyadmin and in the program itself it...

View Article


Create .exe for Console App to use in SQL Server Job?

I have a project I have been working on where I have created a somewhat simple Console Application for updating a .txt file with data from a SQL Server View, and then FTP'ing that file to a Web Server....

View Article


unexpected T_ECHO on line 27

Can someone please help me figure out this code. I don't know what I am doing wrong. I am getting an error. <HTML> <HEAD> <TITLE>Module 3</TITLE> </HEAD> <body>...

View Article

Object distribution algorithm

Hi guys, I trying to write an algorithm to evenly distribute some objects: I have 6 "Person" objects, each one has 2 "Card" objects that are equal; what I want to do is take each one of those "Cards"...

View Article

Question for virus in C or C++

Good afternoon I have to do a project for one virus can not figure out how to write the code to copy itself to the 10 principles and destroyed to contain. not asking anyone to tell me the code simple...

View Article

can we implement a program with interface,constructor and overloading

can we use this three within a single namespace?

View Article


Webbrowser - opening new websites

Hi, Please let me know how to do that webbrowser1 will be opening new webpages ALWAYS in the same tab(webbrowser1tab). I'm asking beacouse some webpages opening in separate Internet explorer browser.

View Article

How do I correct this calculator problem?

I was able to put together this program. But it does not give me the number of pennies from $.36 which should be one. Can anyone point me to what I may be doing wrong? I am not supposed to include...

View Article


SDL_GetEvent seems flawed

#include "Object.h" #include "SDL.h" #include <string> using namespace std; SDL_Event event; Uint8 * keystates = SDL_GetKeyState(NULL); int main(int argc, char *args[] ){ bool quit = false; bool...

View Article

Postfix Expression Evaluation

My program needs to read in and evaluate a post fix expression read from an input file. I have to print out the expression read in followed by the results of evaluating said expression. I need to...

View Article


How to subtract first (The, An or A) from begining of the sentence?

[and you don't know if it's there or not]

View Article

Error when reading/writing boolean value with JOption*

I am trying to read in parameters of a triangle then display them in JOptionPane. All of the parameters are working except the boolean value filled and the color. i want to try and solve the boolean...

View Article

Reiterating thru a directory

Hi all If a user has all his/her games installed in c:\games, for example, how would I loop or scan that dir, or other selected directory, for all the subfolders in that directory? I.E. I want to write...

View Article
Browsing all 51036 articles
Browse latest View live


Latest Images

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