199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for torbecire

I am trying to make a calculator. It requires I use a string Tokenizer. I have done so fine with the numbers but can't figure out how to put the & and / in there. The input is supposed to be as follows These are improper fractions whole & numerator …

Member Avatar for torbecire
0
522
Member Avatar for curt22

Hi everyone, I'm having trouble with this code. It compiles fine, but clicking the menu item I just added the actionlistener to doesn't work. I'm new to java and I can't figure it out. [CODE]/* * NewJFrame.java * * Created on March 10, 2008, 2:47 PM */ package javaapplication5; import …

Member Avatar for curt22
0
116
Member Avatar for shannonpaul

I have Two Text Boxes where the user enters their name. I need to validate that the boxes are not left empty and also no numeric data is entered. If it either is entered the click event Cost will determine invalid values and display message box error. Obviously my problem …

Member Avatar for bwkeller
0
155
Member Avatar for fufu123

the program is supposed to enter type of a car,enter arrival hr.enter arrival min,exit hr,exit min,then it supposed to print type of the car,enter time and exit time in military style and then the charges... i dont know what am i doing wrong that its not doing that any advices …

Member Avatar for Ezzaral
0
114
Member Avatar for maggz

[code] #pragma once #include <iostream> /* * Author: Makhdoom Shah 4872 * Date of creation:22/2-2008 * Date of revision: * Revesion #: 1 */ using namespace std; //typedef double itemType; // need for another type, change it here template<class T> class dynarray { public: dynarray( int s = 0 ); …

Member Avatar for Narue
0
290
Member Avatar for duttydea

I have a script that displays data from Mysql server, what i hoping to do is display the data in a HTML Table. I would like to create the table in deamweaver purley cause i am not great at HTML. [CODE]<table width="65%" height="404" border="1" align="left" cellpadding="0" cellspacing="0"> <tr> <td height="16" …

Member Avatar for duttydea
0
336
Member Avatar for welbyobeng

Is it possible to make a column on my database that automatically copy another column on the same table string together with another url? for example on my database "ewelby_k5" I want to create a new column called (fullthumb) on table "files" where "fullthumb" stores "http://k5live.com/thumbs/ + column "thumb" " …

Member Avatar for welbyobeng
0
121
Member Avatar for kishan4every1

Hi, i found this Function to convert any integer into its BINARY VALUE... I could not make it through.. Can someone Help me out.... I need a good explanation on how it works... Here is the code. [code=c] char *binString(int value) { static char bin[17]; int index; for(index=0;index<16;index++) { if(value …

Member Avatar for jephthah
0
105
Member Avatar for Parsu7

Is it necessary to declare an inner class private?If it is then plz specify the reason why is it necessary to declare an inner class private?

Member Avatar for jwenting
0
139
Member Avatar for lAmoebal

Hi guys, I'm writing a simple script that uses snmpget statements to check the errors received by ports on a router and have the results going to a file. I've never worked with Perl before but one of my coworkers had a really basic script that I've been trying to …

Member Avatar for lAmoebal
0
176
Member Avatar for devilgod

ive created a program using the actionperformedmethod...even though the panel and all other things r coming in the output nothing is happening when i perform an action.... here is the program...... [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.awt.Color.*; public class goku extends JFrame implements ActionListener { int clicked=0; …

Member Avatar for new_2_java
0
156
Member Avatar for sagedavis

I know, this is a weird question, but... I am working right now on an inherited project, and finding this quite a bit. [code] $objSomething -> $object [/code] I have had it explained to me that this is similar to the dot in javascript's [code] element.style [/code] This concept in …

Member Avatar for sagedavis
0
113
Member Avatar for kittycat07us

I have a random question, but how would you link a string into a char? To explain the program, it reads from a standard input character by character. Then it rewrites the it to make the output characters from uppercase to all lowercase.. if you would like to see what …

Member Avatar for kittycat07us
0
109
Member Avatar for Gerritt

Another problem has occoured. How can I get the highlighted function to run? Whenever I run the program, the function is totally skipped. [code] void add() { int vala, valb, valc, bog=5, count; char alakazam; double log[0], vald, valf; clearer(); do { for(count = 0; count < 5; count++) { …

Member Avatar for jephthah
0
118
Member Avatar for some one

hi every 1 I am working at my graduation project using ASP. net and I want to know if it is possible to search my data base to get specific data and if it so could you tell which is the best way to do so and if you know …

Member Avatar for some one
0
130
Member Avatar for atrusmre

I am currently trying to write a Telnet Client program in Visual C++. I was wondering if anyone knows where I can find a tutorial on how to write the protocals for telnet, or how to connect to a telnet server. I have written a small "chat" program (the one …

Member Avatar for Devoney
0
2K
Member Avatar for pavya133

there is problem in java program. I want to send object of a particular class as a parameter to a method in other class dynamically. e.g Suppose there is method named 'insert' in a class 'Daobase' and parameter to this method is object of any class that is i want …

Member Avatar for masijade
0
158
Member Avatar for dilip.mathews

Hi all, Can anybody help me with a an algorithm to find the maximum subset sum in an array. It would be better if the solution is of O(n). [example: {5,-2,10,-4} the maximum is 5 + (-2) + 10 => 13].

Member Avatar for omko
0
1K
Member Avatar for Lensva

me and my amateur code again :$ This time if works somewhat fine, but gives a error table. any ideas mates? [code] #include <iostream> using namespace std; long fib_sk(int); int fib_mas(int); //=========================== int main() { int iSk; cout<< "element count- "; cin>> iSk; if (iSk<0) { cout<< "need positive value …

Member Avatar for Lensva
0
93
Member Avatar for amitahlawat20

[code=cplusplus] #include<iostream.h> #include<string.h> int main() { int x; cout<<endl<<"enter x:"; cin>>x; int temp=x; int count=0; while(temp!=0) { count++; temp=temp/10; } char *p=new char[count+1]; for(int i=0;i<count;i++) { *(p+i)='\0'; } for(i=count-1;i>=0&&x!=0;i--) { *(p+i)=x%10; x=x/10; } *(p+count)='\0'; cout<<endl<<"converted string : "; for(i=0;i<count;i++) cout<<(int)*(p+i); // int type cast used , if not used then …

Member Avatar for Narue
0
127
Member Avatar for gast74830

Is it possible to find out the number of signals which are in the signal mask. If so, how?

Member Avatar for Narue
0
68
Member Avatar for Palmap

Hi guys, I'm fairly new to MS Access and I am running Ver.2003. I have a problem with comparing a Excel speadsheet with an Access DB. The result I require is as follows.... If field 'Last' and ID Num in Excel speadsheet matches 'Last' and EmpID in Access DB then …

Member Avatar for Palmap
0
92
Member Avatar for asadullah

How to make your program to be fast. 1. Use Pre Increment or Pre Decrement in place of Post Increment or Post Decrement operator. i.e. use ++i or --i in place of i++ or i--. Because ++i operator take increment and save it i.e. One CPU Instruction is required for …

Member Avatar for Narue
0
354
Member Avatar for yellowflashboy

Hey, guys. i desperately need some help designing a university project. the project is called Grocery shop. it has a product class which will hold all the products description and set thresholds finally it will need a stock management class which will allow the user to add, remove and edit …

Member Avatar for yellowflashboy
0
110
Member Avatar for Jennifer84

If my startform is Form1 and I will open Form2 from Form1 and press a button with this code on Form2. Form2 will close. Is it possible to write something here so the whole application will close wich meens both Form2 and Form1. [code] this->Close(); [/code]

Member Avatar for Jennifer84
0
100
Member Avatar for t_yalthis

hi everybody, I need arrays which has boolean type of data in them.. is it possible to do it in vb6? I searched the web but couldn't find any related information.. thanx..

Member Avatar for Mbt925
0
122
Member Avatar for begyu

Hi, I would like to define a function, but I get errors... What's wrong with this? [CODE] #include <cstdlib> #include <fstream> #include <iostream> #include <ctime> #include <cmath> #define N 5 using namespace std; const float M_2PIf = 6.283185307179586476925286766559f; const float M_PIf = 3.141592653589793238462643383279f; const float epsilon = M_PIf/(1e-06f); /* -----------------RANDOM_GENERATOR------------------------------- …

Member Avatar for Narue
0
149
Member Avatar for dinilkarun

I am new to VB.Is there anything similar to checkedstbox(VB.net) in VB 6.0?. If not, can i make one using listbox,checkboxes and scroll bars?

Member Avatar for Mbt925
0
77
Member Avatar for ravipawar1

i am new to the c++ prog. the main problem with me is that i have no teacher to teach me c++ prog. so i am doing it by myself. so i want to ask u that which kind of book should i use to understand the c++ and do …

Member Avatar for codeaa
0
81
Member Avatar for welbyobeng

I attached the 2 script I have a script that retrieves a file from my database with an option of providing a path Now the appendPath Will "tack on" the contents of appendPath to the front of the file name. For example, :if appendPath is set to: $appendPath = 'http://www/path/to/'; …

Member Avatar for welbyobeng
0
125
Member Avatar for cyberdyne

hi frnds, I need a batch program that can reboot every time a system starts.It should work in NT systems too.

Member Avatar for chris5126
0
128
Member Avatar for vinithktp

Hi all, I doing a CMS project. I am using a rich text editor. Please guide me [B]how to upload images from rte to database[/B]. Thanking you.......

0
66
Member Avatar for rahul.b123

I have undergone a basic course in C Programming and I wish to enrich my programming skills by learning how to code for graphics in C and my main interest is to learn to write virus and so on. Could you please guide me what books should I need to …

Member Avatar for DangerDev
0
94
Member Avatar for dougy83

Hi, I have a problem compiling a project in Dev-C++ (MingW32). For some reason I can't assign an iterator from map::erase(iterator). My sources (MSDN) for map::erase(iterator) says that erase(iterator) returns an iterator... Does anyone know what I'm doing wrong? [code] bool TCPIPRedirectManager::poll(){ bool haveMsg = false; for(map<ConnHandle, TCPIPRedirect*>::iterator it = …

Member Avatar for vijayan121
0
223
Member Avatar for johnny.g

hii,,guys,,i m using asp.net2005 and sql server 2005...in my page i have used gridview and sql datasource,i m able to edit,update and delete the records,,the problem is tht for 1 column i would lik to use a dropdown list instead of textbox when i am in edit or update mode,,,heres …

Member Avatar for johnny.g
0
218
Member Avatar for Lensva

new guy in this sphere, dont bash too much :S [code] #include <iostream> using namespace std; int main() { int x,y; cin>> x; cin>> y; if (x==0) cout<< "x = 0"; else cout<< "x isnt 0"; return 0; } [/code] this piece works ok but if i add 1 more …

Member Avatar for Lensva
0
107
Member Avatar for the juice

hey i am doing an assignment and it is to create a multithreaded bubble sort but i am having problems initialising and assigning jobs to the threads. i have included the classes and the errors i am getting and was wondering if someone could tell me what is going wrong. …

Member Avatar for the juice
0
2K
Member Avatar for roswell1329

I've recently been elevated in my team to a lead position, and one thing I have identified as a problem is that we don't have any existing curriculum or program for teaching programming to those members on our team without programming experience. There seems to be a barrier to people's …

Member Avatar for trudge
0
78
Member Avatar for SubProf

Hello, I have a combobox on my form that I need to be populated with data from a table in MS Access. I am new to coding in Visual c# and would appreciate any help I can get with this. Thanks in advance, SubProf

Member Avatar for SubProf
0
89
Member Avatar for technogeek_42

can any body here knows how to create a program that will count the vowels and constants for example: the quick vowels:3 constants:5 can any one help me or can any one have idea on doing that using #include <string.h>

Member Avatar for technogeek_42
0
66
Member Avatar for forzadraco

Helo... Thanks for read my thread... i have problem to make a web page like my.yahoo.com where a news click, a new pop-up window show and the web-page(background) become more darker and pop-up window willbe focuss... Anyone can help me...? Thanks, Ardy Satria H [email]forzadraco@gmail.com[/email]

Member Avatar for forzadraco
0
89
Member Avatar for fluidtype

Hello there! I was asked to replace the bitmaps in an existing software. The software was compiled using Visual C++ 8. Do you guys have any idea how to go about this? Cheers!

Member Avatar for fluidtype
0
123
Member Avatar for naju

I have a string in my database as [B]in' out"[/B] now i need to show this in input textbox i did <input value='in' out"'> output only: in also <input value="in' out""> output only: in' out the real output should be in' out" Actually i need to do like this encode …

Member Avatar for naju
0
82
Member Avatar for heshangho

hey guys I have a question on this guessing game. I want to make this game to repeat. when the guess is correct, i wanted the user to input 'y' or 'n' and if yes it should repeat. How can i do that? Do I have to put the whole …

Member Avatar for heshangho
0
142
Member Avatar for lydia21

hi i have a form where the user will giva a key word ...based on the keyword i wabt the user to fetch all the rows in the table

Member Avatar for nav33n
0
68
Member Avatar for cseale03

Hey everyone! I have been working on this project for about a week now. It reads in a text file and outputs how many times the top five characters are used, what the percentages are for the top five compared to the rest of the ASCII characters, and shows the …

Member Avatar for cseale03
0
107
Member Avatar for hawada99

Good Morning to all of you. I just joined today. I am a freasher in programming, live in India. I made a project and want to create a setup of project. Can anyone tell me the solution. Thanks in advance. Raj

Member Avatar for Jx_Man
0
80
Member Avatar for sk8ndestroy14

Okay, so here's the challenge. I want a continously running program that will automatically close all running programs, log off the user account and shut down the computer when the batterly life of my laptop reaches a certain amount. First of all, can that be done with visual basic and …

Member Avatar for Jx_Man
0
168
Member Avatar for banarabbyt

Hi all, I saw your guys site while browsing forums for help and you guys seem most knowledgeable. Here is my problem, I just uploaded some script to a site of mine, and now I'm getting this error message: Parse error: syntax error, unexpected T_LNUMBER, expecting '{' in /home/mickeylo/public_html/index.php on …

Member Avatar for banarabbyt
0
118
Member Avatar for teked

Hi i have just begun to develop a calculator in C++.net. I have created 10 buttons on the form 0 to 9 and the usual operands + - * / = etc. I want the code to work out the preceidence i.e. * before / etc but cant seem to …

Member Avatar for priyad2
0
166

The End.