199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jbennet

I gotta make an EpoS system. Does this look right, as a first attempt?

Member Avatar for jbennet
0
78
Member Avatar for Inny

Is there a better way to write this short code? It goes to topics that dont exist, I want it to check first so that dosent happen, and not to go to topics in a particular forum, a forum url looks like this (last number being the forum id) [url]http://inny.ipbfree.com/index.php?showforum=1[/url] …

Member Avatar for Inny
0
148
Member Avatar for ultimate_fusion

as above. e.g int[] array = new int[can be any size] joptionpane.showmessagebox(null, "what to put here is the question" "messageboxtitle" joptionpane.informationmessage}; //dont correct the message box crap i was in a rush i know how to do it e.g array 1 = 1 array 2 = 5 array 3 = …

Member Avatar for franchav
0
3K
Member Avatar for Nimz

hi every1 i also need help with my assignment im supposed to find the errors and explain how to correct it heres the program: //question 3a [code=cplusplus] #include <iostream> using namespace std; int main ( ) { int nrLuggagepieces; float mass, total mass; int averageMass; // initialize totalMass = 0; …

Member Avatar for joshmo
0
104
Member Avatar for jimJohnson

I am working on a program with function files and I am not sure how to ask this so this might be kind of interesting. We were given an input file that I saved to my desktop. This is all I did with it and I am not sure if …

Member Avatar for jimJohnson
0
146
Member Avatar for swapna7999

im getting an error while using Text1.SetFocus the error is invalid procedure call or argument i used this in the form load and i suppose it is used to bring the cursor in the textbox during form load

Member Avatar for boomba23
0
813
Member Avatar for anbuhikaru

So i'm a java student in 9th grade and my code gives me an error i have never encountered before... time is off the essence, so quick help is loved!: it says: Play.java:5: Play is not abstract and does not override abstract method keyReleased(java.awt.event.KeyEvent) public class Play extends JApplet implements …

Member Avatar for jasimp
0
160
Member Avatar for assgar

Hi I have 7 arrays for all containing the same data:time_id, start_time, end_time and colour. Each array represent a day of the week. There are a total of seven columns to display. I have combined them into a three multi dimentional to display data form the 7 layers which are …

Member Avatar for assgar
0
115
Member Avatar for emilio

can i generate an exe file from my c# project so it can run on a pc without .net framework ? i tryed to use the exe file in the bin folder, it's not working even on my pc

Member Avatar for emilio
0
90
Member Avatar for flash121

Hello, Lets say i have an edit control in my program. When i run the program i can write some text in it. How can i save/convert the text that was written in the control to a CString variable ?(it should be "saved" by clicking on a button)

Member Avatar for mitrmkar
0
2K
Member Avatar for tahadhali

Hi all, I'm trying to build a new search system for one of my sites. The idea is something like this: 1. Visitors choose something in dropdown1 (ex. seach staff, search students, seach grades) - all these choises should be extracted from mySQL db and could be updated from time …

Member Avatar for ChiNko5
0
194
Member Avatar for Gondt

the title describes the problem. here's how the code looks like: [code]#include <cstdio> class example { public: class node { public: int value; node *left, *right; }; node *root; example (int a) { root=new node; root->value=a; } // HERE'S THE PROBLEM: void function (node *variable=root) { } }; int main() …

Member Avatar for Gondt
0
277
Member Avatar for pancgom

Hi, I have this form which has got all these drop down boxes which has values built in the html form, once selected they are all sent to the database table to be stored only when the authentication is done and for that record only. I am also using the …

Member Avatar for peter_budo
0
166
Member Avatar for georgioue

Guys hello, i`m a new member here [IMG]http://images.devshed.com/fda/smilies/smile.gif[/IMG] Hello to everybody...I need urgently help... I have an assignment for C++. "We have a collection of emails. This collection has emails from Linguist.org, these mails are legal. these are in a file called ling_filenames.txt. We also have a collection of spam …

Member Avatar for Ancient Dragon
0
143
Member Avatar for reena22

Hi all i just want to know where i can get any java program of about 1000 lines of code BUT it should be open source. looking forward to your help thanks

Member Avatar for reena22
0
109
Member Avatar for saswatdash83

Can anybody tell that when Inline won't work though we have declared function as inline. i.e code replacement won't take place .

Member Avatar for Ancient Dragon
0
108
Member Avatar for avi1109

Hello, i'm stuck with a problem on binary search. I need to compare a string with an array of type string. It is changing the position from which the string should be read but z compare is not successful. here's my code. Any help would be appreciated. thanks in advance. …

Member Avatar for Ancient Dragon
0
138
Member Avatar for anerchy

i just wanted to make a program which reads 5 numbers then writes this 5 number. that's it but i couldn't. something's wrong and i couldnt find what is it. #include <stdio.h> void fun1(void) { int a=0,b=5,c=0; int d[5]; for(a=0;a<b;a++) { printf("%d\n",d[a]); } } int main() { printf("enter 5 numbers"); …

Member Avatar for anerchy
0
105
Member Avatar for joshmo

am wondering how i can go about creating a simple operating system for a PDA device..can anyone help me and tell me if it is possible and the requirements for it..and also how i can go about it..thank you

Member Avatar for hammerhead
0
66
Member Avatar for superC

Hello! I need a help. I've got to make a program with insert and search function and I have to use to following. To create a database in which I will implement insert and search The part of code is given: [code] #ifndef CONTAINER_H #define CONTAINER_H #include <iostream> #include <string> …

Member Avatar for Ancient Dragon
0
109
Member Avatar for super star 90

please help to with this program by mainly using arrays and pointers ,... i need this program to check 2 matrix files "if they contain any character and if they contain cout<<"invalid"; " and to open them from .txt file Help with Code Tags cplusplus Syntax (Toggle Plain Text) [code] …

Member Avatar for Ancient Dragon
0
72
Member Avatar for agrawalashishku

Hello, Attached are two codes. Please compile them and check the output. The question I have is that I am unable to understand why is it that the memory location allocated to tempmemcheck are 8bytes + the last memory location and not 4 bytes plus the last memory location. Similarly, …

Member Avatar for Ancient Dragon
0
117
Member Avatar for lordx78

[code=javascript] var cBrand = document.getElementById('cBrand'); var cType = document.getElementById('cType'); var cStyle = document.getElementById('cStyle'); var cFrame = document.getElementById('cFrame'); var cGroupSet = document.getElementById('cGroupSet'); if (empty(cBrand) && empty(cType) && empty(cStyle) && empty(cFrame) && empty(cGroupSet)) { alert("Please Choose atleast 2 Criteria"); return false; }else{ return true; } [/code] The above code is not working …

Member Avatar for lordx78
0
109
Member Avatar for Beagle

Hi folks, I'm just learning C++ (using Borland C++ Builder) and I am having difficulty reading data from a text file created in Excel. I am trying to read the data into vectors which I can then use in a model that I am building. The problem is that I …

Member Avatar for Beagle
0
118
Member Avatar for kartouss

Hello, I have a function which calculates time for a specific operation and prints the time... However i want to call the time in another function and display its value... The code is as follows:- [code=c++]int encrypt() { double encryptTime,Add,sub,sft,mix; // add + sub + sft + mix calculations encryptTime …

Member Avatar for kartouss
0
238
Member Avatar for shadiadiph

hi i have a table i can write to it ok but i need to know the correct syntax to retrieve the last updated record i have been using something like this but it doesn't work.?? $sql = "select * from tblexdetails where intexchangeID='$tid'"; can anyone ive me any pointers …

Member Avatar for ultra vires
0
3K
Member Avatar for irtiza

Hey Guys.....I am new in web development and this was supposed to be my first Servlet but I am getting java.lang.ClassNotFoundException: servlets.HelloWorldServlet Now in my Apache tomcat folder C:\apache-tomcat-6.0.16\webapps\ServletExamples I have the WEB-INF folder.....which has the web.xml.... Web.xml is something like this... [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee …

Member Avatar for sinan.yumak
0
104
Member Avatar for ohyeah

Hi all, Please somebody tell me the code. I have : a textbox name txtfname a table named Customer (located in Database.mdb) the customer table has only 1 field fname. How do i create a connection such that whenever i click on add button, whatever is in the txtfname textbox …

Member Avatar for ohyeah
0
108
Member Avatar for dbayo

hello..i need a help for math function..when i try to add multiple number in php..the value that return to me is array..below is my code..can anyone help me.. [code=php]<?php $Final2=null; $gred=null; $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("kptm", $con); $result = mysql_query("SELECT NAMA …

0
104
Member Avatar for sjcomp

Hello, I have a statically linked library, which I'd like to convert to dynamically linked one. For that I'd have to export symbols. My question is what symbols should I export in case of the interfaces. Here is an example [CODE=C++] // ----- IA.h // Interface class class IA{ static …

Member Avatar for Ancient Dragon
0
174
Member Avatar for osirus0830

Hello all, I am currently attempting to learn how to program and I am unable to take a class because of my work schedule. I was just wondering if anyone could recommend any books that will help just with learning the basics of programming and not necessarily any one particular …

Member Avatar for tranni
0
91
Member Avatar for old_mustang888

Hi, Plz help me... My project is Sales system using DAO I need the code for: Password code System (to generate the Item code) Item Entry code, Item Inquiry by description, Item Inquiry by quantity on hand Item Inquiry by unit of measure Item Inquiry by unit price Custumer Entry …

Member Avatar for technogeek_42
0
187
Member Avatar for Asiima

Hi there, Anyone to help me on sql code for SUM. I need a query that gets the SUM of one table column and subtract it from the sum from another table column: I tried this but it gave me wrong answer; [icode]SELECT SUM(i.amount-p.amount) FROM income i, payments p;[/icode]

Member Avatar for tesuji
0
129
Member Avatar for myth3_16

Hi All, i wonder if anyone can help me. I've got a form where you can enter your email address and a surname to search for, when clicking on the submit button the form is processed with a PHP page and sent via email. What I want to do is …

Member Avatar for helraizer
0
93
Member Avatar for r30028

I'm having some trouble with dynamic memory allocation of a struct. The struct looks like this: [CODE]struct J { int w; int s; };[/CODE] During the execution of the program, the following line of code results in a crash, which when debugging was because of std::bad_alloc, which does not make …

Member Avatar for Salem
0
74
Member Avatar for Roebuc

Just a quick question, I am working with classes and I was trying to rename one as an array, ie: [code] addressType addresses[n];[/code] But I have decided not to make it an array. So is this a legal statement? [code] addressType addresses;[/code] Or does that only work for arrays? Thanks

Member Avatar for Roebuc
0
99
Member Avatar for dskumar_85

hai friends , i want to give my page very attractive so i want to create or insert a stylesheet in my web page , i don't know that , if any one know's that plz give a css code and procedure to create and insert the css , thank's …

Member Avatar for Confused007
0
115
Member Avatar for Black Magic

Hey, i was just messing around and made a calculator and was just wondering if there was a way i could make it shorter? I'm not really bothered i just want to know? [CODE]#include <iostream> #include <conio.h> using namespace std; int main() { system("TITLE My Calculator Program."); system("COLOR 4"); double …

Member Avatar for Black Magic
0
142
Member Avatar for beatlea

Hello, I created an ArrayList with lists and arrays (randomly chosen) of queues and now need to get access to these lists and arrays to add, remove and display elements in them. How could I do this? I tried ArrayList methods like get(int index) and iterator(), but it just shows …

Member Avatar for beatlea
0
173
Member Avatar for NinjaLink

My goal is to write a problem that will read in a length in feet and inches and output the equivalent length in meters and centimeters. As noted, There are 0.3048 meters in a foot, 100 centimeters in a meter, and 12 inches in a foot. I am only having …

Member Avatar for NinjaLink
0
137
Member Avatar for Black Magic

Just editing my calculator and looking at what functions math.h had and i came across pow, My program compiles and things like that so no error but if I'm not mistaken the answer is wrong. 6 ^ 1 = 6X6? = 36 (IS THAT CORRECT??) JUST IN MY PROGRAM IF …

Member Avatar for Black Magic
0
231
Member Avatar for chinghong

my problem is when want to include the matlab build library dll file in c# project there will be an error! anyone have experience with this problem and solution for it? thanks! problem description this is my simple matlab code [code] function y = getMatlabMagic(x) y = magic(x); [/code] Then …

Member Avatar for azran
0
333
Member Avatar for VernonDozier

Hi all, I am trying to install MySQL++ on Windows XP and use it. I was able to install it in Linux because the website: [url]http://tangentsoft.net/mysql++/[/url] provided an RPM that built the libraries for you. As far as I can tell, no such thing is supplied for Windows. Supposedly, MySQL++ …

Member Avatar for VernonDozier
0
301
Member Avatar for VernonDozier

Hi, I am working on a project wherein one program writes to a file, but allows a different program to read from that file BEFORE the first program is finished writing to it. In this project, the first program is a game. When someone scores in the game, that activity …

Member Avatar for VernonDozier
0
214
Member Avatar for OmniX

This is what happens: I have an input submit button. On mouse over text is changed from RED to WHITE. On mouse out text is changed from WHITE to RED. Simple eh? Well IE does it fine but FF makes everything change to RED border, etc. [code] jscript: function over(button) …

Member Avatar for OmniX
0
210
Member Avatar for DickLaurent

Hello, here goes. I am receiving the following three errors when compiling my new template matching plug-in in imagej C:\Program Files\ImageJ\plugins\Template_Test.java:61: '}' expected. } ^ C:\Program Files\ImageJ\plugins\Template_Test.java:63: Statement expected. public double match(String addr) ^ C:\Program Files\ImageJ\plugins\Template_Test.java:93: Class or interface declaration expected. } ^ 3 errors, 1 warning I'm pretty sure …

Member Avatar for DickLaurent
0
142
Member Avatar for guy40az

Can anyone tell me how I can read the resistance between pins 4 and 6 of the serial port using VB or c++?

Member Avatar for hammerhead
0
137
Member Avatar for BOTnPAID4

I wrote a program to calculate a loan, the program compiles and works fine, but I get an answer I do not understand. The answer comes out "$1.#J". I am pasting the code here I am using, I am not worried about the code it is a pretty simple set-up …

Member Avatar for Ancient Dragon
0
120
Member Avatar for tripjokers69

I have a two part assignment. Part one is to create a menu driven program using variables to do certain tasks. Part two is to convert the variables being used into 2 arrays. The code for part one is post below and works perfectly for everything that is required. My …

Member Avatar for tripjokers69
0
105
Member Avatar for donnerCobra

Hi everybody :) I have a big problem with embedded Python. I develop a plugin for a C++ application and want to "teach" this app Python Scripting, that users are able to script their own functions. the App = The C++ Application plugin = my plugin I develop for the …

Member Avatar for donnerCobra
0
202

The End.