Here is a simple Polynomial class. Its purpose is to show how one can [B]simply [/B]create a Polynomial class without using abstract datastructures such as linked lists etc. Each term is printed out in order of its power - from highest to lowest. Inspiration was taken from a Java source code, the link appears to now be dead.

Member Avatar
Member Avatar
+2 forum 9

This snippet shows you how to connect to a database using ODBC in vb.net 2005

Member Avatar
Member Avatar
+0 forum 5

I have an assignment to write code to calculate a cubic spline. The values for my coefficients are correct, but the Gaussian elimination part of my program has me really confused. I was given code in C by my instructor, but am struggling in making it work with my code. If anyone has any suggestions I would GREATLY appreciate it! [CODE] #include <iostream.h> #include <iomanip.h> #include <math.h> #include <fstream.h> void main() { int n = 4; double x[4]; double y[4]; double matrix[4][4]; double a[4][4]; double b[4]; int i, j, m; double ratio, temp; int count; for (m=0; m<n; m++) { …

Member Avatar
Member Avatar
+0 forum 32

Here is a free excel to tab file convertor. Feel free to use for whatever purpose you want. There is no need for excel to be installed on the host pc. Assumes the user is on a windows platform. Extract all three files into one folder and run the main exe run.exe. This will read the file 'test.xls' and create a tab file called 'three.txt.' Enjoy.

Member Avatar
Member Avatar
+0 forum 1

Just found a really cool, free flowchart drawing software. Basically, I was searching the net for something similar to visio and smartdraw and came across yED. ( stuff in word and open office just doesn't cut it for me) [url]http://www.yworks.com/en/products_yed_about.html[/url]

Member Avatar
+0 forum 0

Hi guys, At the moment I'm looking to test pure actionscript 3.0 code, because one, cs4 takes ages to load and two, flash develop can be used anywhere. I've heard that flash develop is a free to use but I wanted to know how to install it. Any help would be great.

Member Avatar
Member Avatar
+0 forum 15

Well technically it isn't an anagram finder, more of a word descrambler program. It is useful for games like scrabble etc. All you need is a dictionary file, which you can find readily online. Make sure the file has the words on each line and they are all in lowercase. The program has a good time complexity because it doesn't brute force every permutation of the scrambled letters. That means it can descramble very long words in a short space of time (as long as they are in the dictionary file.) Notes: Program is NOT thorougly tested, bugs may exist. …

Member Avatar
+0 forum 0

How to sort a class by their various attributes in C++

Member Avatar
+0 forum 0

Evaluates an expression as a string using reverse polish notation.

Member Avatar
Member Avatar
+0 forum 2

Hey... do anyone knows c++ function for implementation of big numbers...i tried googl it...but, i can't find nothing that solve my problem i need to calculate a^e(mod n) example: 125^107 (mod 187)=5 result of 125^107 is too big for standard notation in c++... can someone please help me!

Member Avatar
Member Avatar
+0 forum 14

Hullo, I'm trying to make a write a program to automatically create a jar file in java. I've got this far and this works. [CODE]#include <windows.h> #include <direct.h> #include <fstream> using namespace std; int main() { chdir("C:/j2sdk1.4.2_04/bin"); system("javac Saluton.java"); system("java Saluton"); remove ("Saluton.class"); return 0; }[/CODE] But I was wondering is there a better way, using windows API to execute the system("javac Saluton.java") command?

Member Avatar
Member Avatar
+0 forum 4

The End.