199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for noodlneck

Hello I'm haveing a problem running my program because i keep getting error C2447: '{' : missing function header (old-style formal list?). Can someone explain to me how to fix this problem? Below is a copy of my program. The program is designed to take three number inputed buy the …

Member Avatar for noodlneck
0
333
Member Avatar for ushtv

[B]Description: We are accredited dealers on all brand new and used models of television sets & Brand New Phones at very cheap price with complete accessories. We are great in selling to bulks buyers and also individuals buyers, if you are interested in purchasing any one of the products, kindly …

Member Avatar for SheSaidImaPregy
0
235
Member Avatar for bis student
Member Avatar for JRM
0
132
Member Avatar for nljavaingineur

Hello fellow developers, Does anyone know why I keep getting this error message "illegal start of expression"? I've already checked my braces. They matched. Still.....[This is code for the basic operation of a calculator n my code is as follows] [CODE]public void button2_actionPerformed(ActionEvent e) { applyOperator('+'); } public void button14_actionPerformed(ActionEvent …

Member Avatar for electron33
0
145
Member Avatar for starkman

Hello!! I thought I would try and post a problem I have been unable to solve as of yet, though I imagine is easy for experts ;oP I am trying to play around with the mouse functions of Windows, attempting to create a sort of mouse free environment that uses …

Member Avatar for Lerner
0
637
Member Avatar for new_2_java

Hi all, I am reading values (user name and password) from user's input, and I need to mask the password which is entered by user in the command line... Can someone give me a hint which class do I need to look at? Appreciate your inputs. Thanks.

Member Avatar for new_2_java
0
163
Member Avatar for dmotah

hi, im new to java...and the rest like swing and all that stufss. i got a code but i want to change the applet a bit , i mean the way it is diplayed. ken u help. and yes i want wen i click exit button the applets closes and …

Member Avatar for electron33
0
119
Member Avatar for twoheadedboy

Hello, I'm looking for some help with this short and simple program which I've had problems with for ages. The code for the last solution was apparently right, just didn't work. Anyway here is the latest one: [code]#include <iostream> #include <cmath> using namespace std; int main() { const double dx=0.1; …

Member Avatar for twoheadedboy
0
163
Member Avatar for hooray

Ok im not sure wether this counts as a php question or a database question, but ill put it here anyway. I have two fields in a database, one of which holds a foreign key that is a primary key from the other: USER(user_ID, username, password) USER_INFORMATION(user_info_ID, [COLOR="Red"]user_ID[/COLOR], name, DOB, …

Member Avatar for hooray
0
119
Member Avatar for HowBil

Hey guys, I'm new at this and was wondering if someone could help. I need to calculate the average amount of gallons used per km driven but I don't know how to do it. What do I need to include in my code(below) to include an average? I'd appreciate any …

Member Avatar for Lerner
0
223
Member Avatar for programmingme

Hey Everyone! I have two - hopefully simple - problems that I need help with. I wrote an atm program in c++ that works except for two things... (1) the part where I calculate the balance based on the interest rates for the checkings and savings accounts need to be …

Member Avatar for JRM
0
279
Member Avatar for ahmad usama

hello.....to all of you.... i m in urgent need of codeof download accelarator....if u kno plzz.....any link....tell me... byye...byeee....

Member Avatar for jwenting
0
281
Member Avatar for nilma

Dim dbnil As Database (not identifying the database name by the APP.Path) Dim rscustomer As Recordset Private Sub Command1_Click() If Text1 = "" Then MsgBox "please enter ID", vbCritical, "customer" Text1.SetFocus Else If Text2 = "" Then MsgBox "please enter the name", vbCritical, "customer" Text2.SetFocus Else rscustomer.AddNew customer(" ID") = …

Member Avatar for choudhuryshouvi
0
107
Member Avatar for loushou

I am trying to dump 2 longs, an array of floats and DWORDs, and an array of shorts into a file, USING BINARY out mode. Here is my code: [CODE]#include <windows.h> #include <fstream> #include ".\vertexs.h" using namespace std; int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { OURCUSTOMVERTEX p_verts[5] …

Member Avatar for Duoas
0
101
Member Avatar for olams

Hi, I am writing a program about getting the nth fibonacci number using a class that i have created. I am having problems with it. Any help is greatly appreciated. [code] *void lfib(int a){ int i; eArray x(500), y(500), ans(500); x=y=1; for(i = 1; i<=a; i++){ ans = x + …

Member Avatar for Duoas
0
67
Member Avatar for baheddad
Member Avatar for Flixter

Can someone help me with this task? Write a C++ class that implements all the functions of an ordered dictionary using (2,4) tree??? Needs me for today if someone now somethnig pls send something.

Member Avatar for Narue
0
109
Member Avatar for hidash_in

hi, i have a problem in accessing an application from the domain server. can any one is there to clear my problem./ Advance thanks hidash

Member Avatar for electron33
0
139
Member Avatar for davethedope

Having a bit of trouble figuring out my image upload script. I have modified this a bit, but I am stuck as to how I can get all the links to be output into one space. [code=language]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?=$site_name?></title> <style type="text/css"> <!-- …

Member Avatar for davethedope
0
150
Member Avatar for dexter1984

Hi, I did some C++ assignments and was confused about a certain code. [CODE=language] #include <iostream> #include <iomanip> using namespace std; int main() { long result, input, num, count; count = 0; cout << "key in number"; cin >> input; while (input>0) { count++; input /=10; } cout << count; …

Member Avatar for dexter1984
0
95
Member Avatar for dee2020

hi friendz.., im working on "feedback form analysis" project the first main aim of my project is to store data submitted by the user from the feedback form in a text file which can be accessed randomly. For that.... i wrote the following code: [B] CODE:[/B] Private Type feedbackdata Laboratory(0 …

Member Avatar for dee2020
0
178
Member Avatar for rmd

hey there, i want to write a c program to read array from a text file .....which looks something like this ex.txt 123 245 465 12 37 84 984 i want to write a program to read these values and subtract each value from the next one(like 245-123,465-245,....and so on …

Member Avatar for Salem
0
110
Member Avatar for Abhishek Anand

Which files are needed to run assembly program? Where has to save this program? How this program will run? From where can I get those files? Thanks, Abhishek Anand.

Member Avatar for Tight_Coder_Ex
0
107
Member Avatar for hattusili

hi, when i compile my c code at visual C++ 6.0, i got some errors and i can't fix it, please help.. my C file uses the unistd.h and the code is /* This is defined as a real library function to allow autoconf to verify its existence. */ int …

Member Avatar for Salem
0
238
Member Avatar for BlackPelican

I am taking a C++ course, though I am far behind due to my inability to grasp the material. and i must complete 3 projects by Jan. 29. I am having ALOT of trouble implementing the switch statement, and I don't know how to make it loop back the user …

Member Avatar for Salem
0
987
Member Avatar for abar

Hi, I want to have a button in Borland C++ builder 6, for which the background color can be changed. The default TButton available in bcb 6 is wrapper to the windows button & does not have the color property. I went thro the net & found some code for …

Member Avatar for abar
0
302
Member Avatar for SergioQ

Curious if anyone here has any experience with Image::Magick for Perl? The code in red does create a GIF file in the new dimensions, but it is blank, or should I say black. I know the $src handle is good, as I use it in the Thumbnail module and it …

Member Avatar for SergioQ
0
117
Member Avatar for kux

here is the thing: i have a constructor that calls a member function, the function throws an exception, i catch the exception in the constructor, free all dynamic allocated variables and then rethrow the exception when i rethrow i get this: Unhandled exception at 0x10210e32 (msvcr80d.dll) in Test.exe: 0xC0000005: Access …

Member Avatar for kux
0
225
Member Avatar for SergioQ

So am using Perl, and I need the user to upload an image (multiple formats) and then have been playing around with Image::Magick. I have to tell you that I am not that impressed with it. I've been toying around, and the resizing feature sometimes gives me a funky image. …

Member Avatar for SergioQ
0
74
Member Avatar for n33712

Hi Have a problem writing what i am sure is simple Javascript but have been trying to get round a problem for ages. The program asks the user to enter either 1 or 2 (there is a window prompt to say what option 1 and 2 are) When they enter …

Member Avatar for n33712
0
98
Member Avatar for joomy

please: I want algorithm the job of this algorithm is transfer from post fix to tree. and pre fix to tree.......... please help me quicly..... dont forget me.. from: joomy. Thanks so much.

Member Avatar for Narue
0
107
Member Avatar for sasdap

How to incorporate text to speech conversion in python? Is it possible? If so How to do it?

Member Avatar for sasdap
0
53
Member Avatar for kartik07

Hi,I hava proj wherien I connect to ACCESS via VB and retreive data.Now I need to represent the data in flowcharts or with some other graphics... how do I approach this props....

Member Avatar for bushman_222
0
103
Member Avatar for technogeek_42

[ICODE]['5 command buttons: 'cmdRestart; cmdLogOff; cmdForceLogOff; cmdShutdown; cmdForceShutdown Option Explicit Private Const EWX_LogOff As Long = 0 Private Const EWX_SHUTDOWN As Long = 1 Private Const EWX_REBOOT As Long = 2 Private Const EWX_FORCE As Long = 4 Private Const EWX_POWEROFF As Long = 8 Private Declare Function ExitWindowsEx Lib …

Member Avatar for bushman_222
0
116
Member Avatar for smiles

Hi ! I am trying to write C program for a microcontroller (CCS compiler software), here is the part that I get error "Expect a close paren" [CODE] void Speech(char words); void main() { //INTRO OR GUIDED WORDS char hello[]="HELLO WORLD!\n"; Speech(hello,0xC0); [COLOR="Red"]//it says error here[/COLOR] } void Speech(char words,int …

Member Avatar for smiles
0
100
Member Avatar for TheAlex

Hello...I've been trying to figure out this problem for most of the week - it's my second attempt at any XML and my first at XSLT so I haven't got a complete grasp of what I'm doing yet. Any help will be muchly appreciated. :) The problem is, the code …

Member Avatar for TheAlex
0
226
Member Avatar for Ajuddy

HI, I am still new in this language. i would like some help. i need to write a program that finds an avarage marks of "y" students by rerunning and terminating the program. i need this in a 2 dimensional array to store a roll number and marks of the …

Member Avatar for Agni
0
133
Member Avatar for muthumari

Hi , How to write the database connection(insert,delete or select query) within javascript function.Is it possible.Anyone can you help me Thank you

Member Avatar for Zhoot
0
194
Member Avatar for wiz83

hi, iam fairly new at unix.what iam trying to do is iam running a perl script through crontab.the problem is iam getting an error message on my mail. this is the crontab file: 24 16 22 1 * perl /rishi/s-branch/perl1/perl/filecomp.pl this is the content of my perl file #!usr/local/bin/perl @comp=`diff …

Member Avatar for DimaYasny
0
198
Member Avatar for larryperl

I have to write a shell script like this-- 1) Utility will be run under the directory owner. 2) This utility will clean files in ABC/logs. And following logs will be backed up or deleted. Dispatcher Logs Middle tier Logs Sage log Sage monitor log Sage db clean up result …

Member Avatar for larryperl
0
183
Member Avatar for acampolonghi

Hi, This is My problem: I receive datas from an xml Feed and I always worked in this way: <cftry> <!--- fetch data from web service ---> <cfhttp url="http://www............. method="get" charset="utf-8"/> <cfset xmldata = cfhttp.fileContent> <cftry> <!--- extract data from XML document and convert to query ---> <cfset lstColumns = …

Member Avatar for l14n
0
214
Member Avatar for duttydea

Hi everyone!! I have a mysql table of products and i want to group them by the category then each sub category in a table: SQL strng: [CODE] SELECT `Product_Name` , `Product_Description` , `Product_Features` , `Product_picurl` , `Product_price` , `Product_Category` , `Product_subcat` FROM `prod_listing`[/CODE] Like this: Acoustic Treatment Acoustic panels …

Member Avatar for nav33n
0
70
Member Avatar for RohitSahni
Member Avatar for dani190

hey guys i have this line [CODE]$result=mysql_query($query) or die(mysql_error()); $option=""; while($row=mysql_fetch_array($result)) { $option.="<option value=".$row['firstname; lastname'].">".$row['firstname; lastname']."</option>"; } [/CODE] Now i need to fetch the last name and first names and put them into those option values... hows that done? If i go [CODE]lastname, firstname[/CODE] I get nothing, if i just …

Member Avatar for nav33n
0
135
Member Avatar for pradeep.singh28

hi friends, I am pursuing mCA final semester and i want to develop a project in JAVA using swing and applet, i have a good knowledge of core java and swing, so i want a good quality project where i can test myshelf,can you please help me in deciding the …

Member Avatar for jwenting
0
187
Member Avatar for someguy88

Hello I apologise if im posting in the wrong place at all im fairly new to your forums and i was wondering if someone could help me with this bit of code im writing. Its supposed to roll 4 random d6 dice and then minus the smallest roll and print …

Member Avatar for Passmark
0
79
Member Avatar for sigkill9

I'm new to Python and am trying to figure out how to streamline the code at bottom to get it more simple but am having trouble. I was hoping that someone here could help me out? The program I am trying to create simply asks the terminal operator for five …

Member Avatar for vegaseat
0
222
Member Avatar for newbietoC++

I have an assignment in my Advanced C++ class using Visual C++. I have most of it but there is a problem. After each pass it is supposed to display the results. I can get it to display the unsorted list, display the sorted list but not after each pass. …

Member Avatar for Ancient Dragon
0
99
Member Avatar for x38class

How do I find the code to add/update/retrieve text to exif data as comments Also what are limitations, eg number of characters and is it just plain text or control characters eg cr/lf etc for formatting when text is retrieved any help much appreciated Regards Bob

Member Avatar for x38class
0
94
Member Avatar for duttydea

I am a Newbie To PHP!! I used maestro php myqsl to crate the code below.. I am trying to change the query to include a where statment: "where Product_Category = Acoustic treatment" everytime i edit it i get a syntax Error!! please can you help? Thanks in advance [CODE]<?php …

Member Avatar for nav33n
0
348

The End.