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

convert IntSLLNode to IntSLLNode for argument 2

#include <iostream> #include "list.h" using namespace std; void printFB( int el,IntSLLNode *ptr); void printFB( int el,IntSLLNode *ptr) { if (el!=0) {cout<<(ptr->info); printFB(...

View Article


Creating a Library management system in C++ and database in SQL

#include<iostream> #include<vector> #include<fstream> #include "Library.h" #include "sqlite3.h" void Library::ManageCheckout() { control = 1; while(control != 4) { cout << endl...

View Article


Image may be NSFW.
Clik here to view.

LinkedList question

This is my objective for this program Objective: Use the IntNode class (that you saw in Lab 10) to construct a linked list that looks like first -> 5 -> 7 -> 3 -> 5 -> 7 -> 3 ->...

View Article

Need help with exception handling (Try, catch, finally)

Ive got this code for a program that lets you choose weather to find the average of 10 numbers or to find the volume of a sphere or cube, but I need help with adding try, catch, and throw statements to...

View Article

Persistant Java Objects

Hey, I am wanting to save objects into a data structure. So when I run the program again I can access the objects in the data structure again. How can Implement this.The program I can creating will be...

View Article


C++ and PHP CGI

How can I use php to submit a value to a c++ program and then receive the result and display it. Here's an example of the php I am trying to use: <?php INCLUDE 'index.php'; $form1 =...

View Article

Impersonation

Hello. I am creating a program that is set to run as the LocalSystem (NT AUTHORITY\SYSTEM) account, and it works flawless, but there comes a time where I need to change some user settings, in which I...

View Article

Getting values from a MySQL database

Hey everyone, I have a PHP/HTML file that connects to my MySQL database. The HTML part just makes the text area, but the PHP part does all the work. When a user enters a SQL command, it sends it to the...

View Article


Image may be NSFW.
Clik here to view.

Need some guidance with J Unit Tests

/** * Abstract Class Employee * @author Prabhdeep Singh * */ public abstract class Employee { protected int id; // id protected double weeklyPay; // weeklyPay abstract double calculateWeeklyPay(); //...

View Article


using SongCollection

Hi I'm wondering could anyone shed some light onto how i would use SongCollection. im looking to have a script that will run through random songs in a list and play one of the songs. problem is i cant...

View Article

Tooltips that do not fade away.

So I've attached a tooltip to a number of buttons on a flowchart that I am making. The only problem is that some of the tooltip text is quite lengthy to save space on the flowchart. So I need to know...

View Article

Recursive function not working

The function named sub1_skip is supposed to subtract 1 from the stuff field every other node in the list. It's not working and I don't quite understand why. Any help would be greatly appreciated....

View Article

(basic ?) Variable in iframe src error

Hi I'm trying to figure out why this isn't yielding any results. Any insight very much appreciated. I have a .html page and eventually I will try to load this variable in from a database but for now...

View Article


Nick Gravelyn's Tile Engine Editor Error

Hi, I am following the Nick Gravelyn online Tile Engine tutorial and have gotten as far as the TileEditor. When I try to run the game, I am met with an error which reads: "Field...

View Article

JFrame Focus?

Hi, I have a quick question I'm hoping I can get a little help with. I have multiple GUI windows for various tasks. (Create/Delete Account...etc), When when I'm done. I want to send the info and then...

View Article


Update element of an array through Reflections

We are currently in the process of building up a test base for spec flow. So all of the values are coming in as strings. I wrote some code to update a property in the Contract object that I will be...

View Article

Image may be NSFW.
Clik here to view.

ArrayList(s) in Java?

That's the HW question^ Here is the code I've done to try and complete the question: ArrayList<String> name_list = new ArrayList<String>(); name_list.add("Fred"); name_list.add("Jane");...

View Article


Java Between / Not Between.

Hi everyone, I have an assignment due which I can't figure out. If anyone can help me that would be great.. Here is the description: Write a program that will read words from an external file and...

View Article

Finding all the cycles in a graph

Hi, I have an assignment to find all the cycles in a graph, I have to use depth first search. I understand DFS well enough, but unfortunately neither my text book or my assignment page explains how to...

View Article

Create or Replace Function Error

Hello, I'm doing text mining using Oracle SQL Developer: ODMiner.. I imported the data "WEBLOG" into a table.. This weblog data consist of users activity, date, time, url, etc. The first step I took...

View Article
Browsing all 51036 articles
Browse latest View live


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