199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pads

Hello everybody I am from Commerce Background doing some IT stuff got some problem by professors.. Can someone solve this problem thanks.. Program Specification: “The body mass index (BMI), or Quetelet index, is a statistical measure of the weight of a person scaled according to height. The body mass index …

Member Avatar for MelechM
0
149
Member Avatar for MelechM

Ok I have Visual C++ 2008 and I made a new project and made an app. It's a basic window with a menu, icon, etc. Now I have the following program for instance: [code] #include <iostream> #include <math.h> using namespace std; int main() { char answer; float c, e, x, …

Member Avatar for MelechM
0
124
Member Avatar for Tank50

Below i write the coding which is not working properly yo me.I want to open excel file and use select statement with where clause.But one I run the coding it give me exception it says "No Value give for one or more parameters" Pls help me. [ICODE] Excel.Workbook theWorkbook = …

Member Avatar for dickersonka
0
176
Member Avatar for zachabesh

Scenario: I have 2 scripts. One is an ftp program that takes a list of files and downloads them. The other is a simple program that takes one file and copies it to another directory. What I want to do: When the ftp program finishes with one file, I want …

Member Avatar for zachabesh
0
83
Member Avatar for fake-name

Ok... I'm working on a program that takes ISBN numbers, grabs data on them from ISBNdb.com and sticks said data into a database. At this point, I've successfully managed to get the ISBN XML file from isbndb.com, but whenever I try to feed it into SAX, it seems to try …

Member Avatar for jlm699
0
341
Member Avatar for Nemoticchigga

How would one seperate a decimal into 2 numbers, the left and right sides of the decimal? float example = 131.14567 into... int left = 131 float right = .14567 thanks.

Member Avatar for ArkM
0
118
Member Avatar for laghaterohan

i want to change first letter of both First name and Last Name to uppercase here is my code however, i am getting error..as Index and length must refer to a location within the string. Parameter name: length MY CODE IS AS BELOW : [QUOTE]Function uppercasefirstletter(ByVal oldString As String) As …

Member Avatar for laghaterohan
0
86
Member Avatar for anuj_sharma

hey guys, i am using XAMPP and i want to take the back up of my database. Please give some suggestions

Member Avatar for peter_budo
0
86
Member Avatar for gamshid

hello guys i have small proplem i use macromedia dream weaver cs3 in developing application but when write a js code with error , nothing happen - no message of the error line or any usual message like php- quistion is ( is there any built in debugger in DW …

Member Avatar for gamshid
0
92
Member Avatar for AQWst

I am in the process of creating a web site using Javascript that appears to work fine with IE, but since I upgraded to Firefox 3.0, some of the Javascript no longer works. Can you please give me some advice as to what I should provide for assistance with this, …

Member Avatar for AQWst
0
132
Member Avatar for coolick81

Hi I wonder how to write a query where given record meets at list n criteria from given criteria? For example i have a table PERSON like this: Name Height (short, medium, tall) HairColor (brown, blonde, black) EyesColor (blue, green, brown) I want to fine people who meet at least …

Member Avatar for dickersonka
0
184
Member Avatar for mancode1007

I am very confused how to write a function which can accept 3 input parameter to calculate sum and average.the sum and average should be returned through output parameter ... pls help ..thx

Member Avatar for Majestics
0
102
Member Avatar for castrohe

I want to insert and order 3 objects (from different classes) in a priority queue. I create an array to access to the element inside the priority and then I push in the priority queue. The code: [code] #include <iostream> #include <queue> #include <vector> using namespace std; class Alumnos{ public: …

Member Avatar for ArkM
0
113
Member Avatar for Lee_Sonnenburg

Hey I'd like to be able to play an mp3 file in a an application in one of my Load procedures. I just need the syntax for playing the file. thanks, Lee

Member Avatar for Lee_Sonnenburg
0
167
Member Avatar for Ancient Dragon

Has anyone been able to compile the lib files using Microsoft Visual C++ 2008 Express compiler? I downloaded and installed MySQL 5.0 Server yesterday, then downloaded MySQL++ source. Attempted to compile and got a bunch of link errors. I used dumpbin.exe to get a list of all the symbols in …

Member Avatar for mitrmkar
0
167
Member Avatar for Hers2keep

I am trying to install Microsoft Accounting 2008 Express, which requires installing SQL Server Express 2005. I have a Vista Home Premium machine and it's giving me fits trying to get SQL Server (any flavor) installed. I've tried every tweak I can find online, but all to no avail. I've …

Member Avatar for dickersonka
0
459
Member Avatar for Douglas B

I wans wondering if I could get some information on using win32 interrupts and making win32 system calls. I found the interrupt list for windows nt ([url]http://www.ctyme.com/intr/rb-4249.htm)[/url], and Linux ([url]http://www.ctyme.com/intr/rb-8144.htm)[/url], but I'm still unsure about the correct windows interrupt. I'm working on windows XP, but will also be working on …

Member Avatar for Douglas B
0
404
Member Avatar for Tootlol

Hi! I am a student taking my first computer science course. The course uses Karel J the robot to teach object oriented programming. However, after acquiring the library I was not able to find the "methods" or "behaviours" for the robot. According to the lecture notes they are suppose to …

Member Avatar for jack239
0
112
Member Avatar for veledrom

Hi, I want to create a form with 2 textboxses(starting number and ending number) and 1 button. When i click on button it is going to list all the records between two numbers in a report. How can i do this? Thansk

Member Avatar for veledrom
0
104
Member Avatar for edensigauke

well, i started generating my code through Textpad, and when i run it, it runs smoothly, but if i am to create the jar file through Netbeans, it becomes a disaster and returns a null error. i cant even figure out where the error is... here is the part of …

Member Avatar for edensigauke
0
142
Member Avatar for emilio

i have a method that saves an object to file : [CODE=java]public void Save() { if (canSave) { JFileChooser fileChooser = new JFileChooser(); if (fileChooser.showSaveDialog (this) == JFileChooser.APPROVE_OPTION) { ObjectOutputStream out; try { out = new ObjectOutputStream (new FileOutputStream (fileChooser.getSelectedFile ())); out.writeObject(this.game); out.close (); } catch (IOException ex) { } …

Member Avatar for emilio
0
178
Member Avatar for kookies

I am currently using a great javascript based image viewer and wish to use it as a menu to navigate pages on my website . Wondering if someone could take a look at this great menu and modify the javascript for me ? As i know nothing about javascript but …

Member Avatar for essential
0
218
Member Avatar for Dannyo329

I just knew about getch() and found it better than cin (a lot) but there's one problem bugging me, can you makea n if statement for getch()? For example they have: [CODE] int a; cin >> a; if (a == 1) //blah else if (a ==2) //blah else //blah [/CODE] …

Member Avatar for Dannyo329
0
659
Member Avatar for thillai

hello everybody, In my project, i have used frames in one web page.and whatever javascript i have written in that page is not executed...why...? Thank you

Member Avatar for thillai
0
314
Member Avatar for smileeok

I have a question about the memory allocation of class. My compiler is GCC 4.1.2. I define a class called Foo, create three objects of it, and have a look at their addresses. Following is my code: [code=c++] class Foo { int k; }; int main() { Foo f1, f2, …

Member Avatar for ithelp
0
139
Member Avatar for aussie_chick

G'day everyone, I need to fill a 2day which is passed as an argument that is able to store the height and weight of 5 volunteers. The function I need to do this in needs to prompt the volunteers for their height and weight. Could anyone please give me a …

Member Avatar for aussie_chick
0
3K
Member Avatar for anuj_sharma

hey guys, i have made a database which has two fields namely username and password. Now when the user enters the password, i want that the password should be stored in encrypted form in the database so that the admin cannot see the password. Please give some suggestions.

Member Avatar for varmadba
0
77
Member Avatar for lonestar23

Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or …

Member Avatar for lonestar23
0
554
Member Avatar for Easter Bunny

i have a clients.dat file with client info in it. i have gone through it to find the record i want to delete, used PushBackBuffer to unread the one i want top delete, skipped that bit and carried on reading the rest and writing it to clients.tmp. after i have …

Member Avatar for Easter Bunny
0
143
Member Avatar for SonxQ7

Hi, learning hibernate but still experiencing some errors and exceptions ... [B]My User.hbm.xml[/B] [code] <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="com.genuitec.hibernate.User" table="SNX_USERS" > <id name="userId" type="java.lang.Long" column="user_id" > <generator class="increment" /> </id> <property name="firstName" type="java.lang.String" column="first_name" length="20" /> <property name="lastName" type="java.lang.String" column="last_name" length="20" /> …

Member Avatar for SonxQ7
0
204
Member Avatar for pentiumpablo

Hi I was wondering if somebody could help me i am completelty stuck I want to read in triangle measurements from the command line check if the tri is square then when the user is done print out the amount of squares. the user would signfy that s/he was done …

Member Avatar for javaAddict
0
105
Member Avatar for chaom79

Hi guys, I've developed a virus scanning program using php. Well, it seems my program worked fine--- it can detected the infected files. The problem is how can I make the program to delete the infected files. It seems when I tried to developed the coding, it didn't work. Below …

Member Avatar for sndpbohra
0
159
Member Avatar for john88

I dont know why this doesnt work, basically I want to calcualate the letters and numbers and white spaces and so on, nothing fancy. And it does work, it does calculate everything. However I seem to be stuck in the while loop or something because I cant print it out, …

Member Avatar for MelechM
0
123
Member Avatar for Himanshu1984

hi, I am developing an application in Windows CE platform is Windows Ce .net 4.2. i need to play media file through C code, i have managed to play media file in win32 through "system" command but this command is not available for Windows CE, i have tried CreateProcess function …

Member Avatar for Himanshu1984
0
283
Member Avatar for anuj_sharma

Can someone please give me a brief overview of MySQL. It's advantages,disadvantages,security and other features. Thanks.

Member Avatar for Shanti C
0
118
Member Avatar for Emerald214

I don't understand why **ptr is used in this code. Please expain to me. [code] template<class NODETYPE> void Tree<NODETYPE>::insertNode(const NODETYPE &value) { insertNodeHelper(&rootPtr, value); } template<class NODETYPE> void Tree<NODETYPE>::insertNodeHelper(TreeNode<NODETYPE> **ptr, const NODETYPE &value) { if(*ptr == 0) *ptr = new TreeNode<NODETYPE>(value); else { if(value < (*ptr)->data) insertNodeHelper(&((*ptr)->leftPtr), value); else if(value …

Member Avatar for ArkM
0
116
Member Avatar for jgalewsk

Hello, I need some help with some code I have. The compiler is giving me weird errors and I am not sure how to fix it, especially because I dont see anything wrong with the way I wrote my code. It has to do with array of structs and declaring …

Member Avatar for v1d1t
0
205
Member Avatar for designingamy

Hello all! I have been told for many reasons that when a user wants to end their account on a website, that you shouldn't delete the user out of the database for awhile. So if I need their information to be off the Internet, but still remain in the database, …

Member Avatar for designingamy
0
108
Member Avatar for dinilkarun

we are able to query successfullu from a Column called "ParentUUD" (without space) using query "SELECT Name FROM PartVersion WHERE ParentUUID='"+ str(lstUUID[0]) +"'" we have a column whose name is "Parent UUID" (with space) We are trying to query the column from PYTHON. we are getting error.I think the error …

Member Avatar for LEwen
0
340
Member Avatar for ohyeah

I don't mean "iostream.h" or missng "return 0;". I wonder why don't run like it should but shows "press eny key continue"? [CODE]#include <iostream.h> int n,m,result,br=0; int a[100][100]; int jj=0; void main() { cout<<"n?"; cin>>n; cout<<"m?"; cin>>m; for(int i=0;i<n;i++) for(int j=0;j<m;j++) { cout<<"a["<<i<<"]["<<j<<"]="; cin>>a[i][j]; } for(int ii=0;ii<n;ii++) for(int jj=0;jj<m;jj++) { …

Member Avatar for MelechM
0
156
Member Avatar for bricjames

I am working on a program that will have the user input two numbers ....the program then adds them together and prints out the sum.....the program is to then ask if you want to continue...the user is to type in y or n....how do i go about having the program …

Member Avatar for MelechM
0
123
Member Avatar for opposition

could someone please show me how i would be able to reverse the printout of a linked list?, i have gotten it to print out in the right order but not sure how to make to printout in reverse. here is my current code, [CODE] void print(node*& head) { node* …

Member Avatar for opposition
0
86
Member Avatar for lumeniel

Hello, everyone the follow error shows when i try run my code if (i==2): width = line[0,3] TypeError: string indices must be integers The code of error is this [CODE] for line in fl: i += 1 if (i==2): width = line[0,3] elif (i==3): frames = line[1,1] elif (i>3): append(array_color, …

Member Avatar for lumeniel
0
89
Member Avatar for sauna

[code=cplusplus] #include<stdio.h> #include<math.h> #define max 100 double f(double y); int k, i; double y[max]; double x[max]; void copyarray(double[], double[]); main() { FILE *file; double h, x, y; printf("this program does a first order ODE for dy/dx=-y+1 with initial condition of y(0)=0 from x=0 to x=0.9\n"); printf("input the step size (h>0):\n"); …

Member Avatar for ArkM
0
110
Member Avatar for FragFighter

Hello, I am looking for beta testers for chapter one of Crystal of Light. It's almost done (I estimate 3-4 more hours of programming) and then I will release it. Anyone interested in being a beta tester? I just need people to make sure that all of the events and …

Member Avatar for FragFighter
0
141
Member Avatar for the universe

Hello, Does anybody know how to write a command to generate a random array (let's say with 100 numbers) that contains numbers from a function that goes like y = x exp (2.5). where the range of x is given. I hope that my question is understandable :-) Thank you,

Member Avatar for VernonDozier
0
147
Member Avatar for skatamatic

Ok, so I'm trying to prove to my teacher that Div and Mod isn't always the best way to solve things. So i created this tiny program, held entirely in main.cpp : [CODE=cplusplus] //Project: Mod_Efficiency //Author : Kyle Wesley //Descrip: This was made to prove that mod/div operations are often …

Member Avatar for skatamatic
0
3K
Member Avatar for AwesomeLord

I am writing a small program in C++ and I need some help. [code] #include "iostream" #include "string.h" using namespace std; void main(){ string sman; cout << "Are you there? \n \n"; cin >> sman; if(sman == "yes" || sman == "Yes"){ cout << "Screw that! \n \n"; main(); } …

Member Avatar for MelechM
0
81
Member Avatar for shaikh_mshariq

I have Installed apache http server 2.2.4 [COLOR="red"][B]on[/B][B] Windows [/B][/COLOR]and configure the doc_root to my htdocs directory and its working fine. But when is add these lines in httpd.conf file it gives error. [COLOR="green"]LoadModule php5_module "C:/php/php5apache2.dll" PHPIniDir "C:/php" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps[/COLOR] It gives error like"[B][COLOR="Green"]server cant load …

Member Avatar for abinash.b
0
573
Member Avatar for motterj

Hi. I'm trying to modify some PHP code (actually, the HTML section inside it) to set the background as transparent, so the displayed text shows the website's template's background beneath the text. It works great in Firefox, Safari and even Chrome, but in IE7 the background is solid white no …

Member Avatar for motterj
0
109

The End.