199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for l_03

import java.io.*; import java.util.*; import javax.swing.*; import java.util.StringTokenizer; public class Sample { public static int count = 0; public static String s[]=new String[2]; public static String s2; public static String s3; public static void main (String args[]) throws IOException{ isRead(); } public static void isRead()throws IOException{ int count2 = 0; …

Member Avatar for verruckt24
0
110
Member Avatar for tomcromp

Hello im looking for some script to put on my site such as: [color=black]PageRank Checker Keyword Density Analyzer Link Popularity Checker Meta Tag Generator Search Engine Position Tool Search Engine Saturation or any other similar [/color] if you know any where i can get these please help [url="http://www.daniweb.com/techtalkforums/forum145.html"][/url]

Member Avatar for DaveAdams
0
238
Member Avatar for Rombosia

Hi guys, I have OPOSPOSPrinter.ocx that I'm supposed to use to connect to a fiscal printer and print. I have installed it's drivers. According to the OCX's limited documentation, it says there should be an entry in HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail\ServiceOPOS. I've juggled all I can on this entry with no avail. Is …

Member Avatar for jaasaria
0
612
Member Avatar for taichou

help me to find out how to make a program about tictactoe game...its really hard..[B].im hoping for an immediate answer[/B]..thanks>>by the way this is only one of my problems to be finished...

Member Avatar for ajay.krish123
0
90
Member Avatar for CPPRULZ

Hello I was making a program called englishweight and it has three main components englishweight.h which is a class declaration, englishweight_def.cpp which defines the public member fucntions, and EW_driver which uses the class to calculate what to do with the englishweight and preforms very basic operations. My program works WITHOUT …

Member Avatar for Manutebecker
0
187
Member Avatar for homeryansta

[CODE=C++]/************************************************* Student: xxxxx ID number: xxxxx Instructor: Dr. Julstrom Class: CSCI 301 Project 1 *************************************************/ #include <iostream> #include <cmath> #include <cctype> using namespace std; const int SIZE = 61; int getinput(char []); void compare(char [], char [], int, int); /************************************************* The purpose of this program is to have a user …

Member Avatar for homeryansta
0
208
Member Avatar for swappy

Hello guys... First of all I don't know if I starting this thread in a correct Section..If I`m wrong then sorry mods... Well I`m developing something from which you`ll be able to control any electrical item(Make it ON/OFF) from anywhere. I just wanted to know who will any company benefit …

Member Avatar for Salem
0
139
Member Avatar for arun_lisieux

QUESTION : 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest number that is evenly divisible by all of the numbers from 1 to 20? While trying to solve this problem, i came up …

Member Avatar for arun_lisieux
0
495
Member Avatar for nishidh

[CODE]header.h file: #include <stdlib.h> #include <math.h> #include <malloc.h> #include <stdio.h> #include <string.h> #define STRBUF 256 /* Default string buffer size */ #define SEPARATOR(a) (a == ' ' || a == ',') ? 1 : 0 #define SUCCESS(a) if(a == NULL) { printf("\nUnsuccessful Allocation");\ exit(0);} #define HASHTBLSIZE 101 typedef struct tupleclass{ …

Member Avatar for Salem
0
109
Member Avatar for ashishchoure
Member Avatar for anu123d

Hello all! I am trying to write a program in C , which works as an efficient Login function. It is expected to have following properties: 1.Should accept the username( valid usernames are : '11user1', '12user2' & '13user3' ). The usernames are hardcoded in the program and not stored in …

Member Avatar for anu123d
0
11K
Member Avatar for raghavendra83

Hi All, I want to write a generic function which takes in a void pointer and length as input and writes the data referenced by the pointer to a file. Another generic function which takes in a void pointer, length and offset and reads back the data to the memory …

Member Avatar for Murtan
0
2K
Member Avatar for ~gamer4life~

make a loggin and register page and have it connected to a mysql database using phpmyadmin. Please help!

Member Avatar for Ole Raptor
0
93
Member Avatar for SoulMazer

For reference, I am using Python 3.0. So, I have a small script I am working on trying to improve. I am now trying to create it with only dictionaries and loops. My problem is that I keep getting a Key Error at one of my lines. The line with …

Member Avatar for SoulMazer
0
161
Member Avatar for sonakrish

hi all... Am a beginner in c#. wen i place a control in a webpage and double click it i'm getting it's default event. how can i view its other events and how to include in my coding. Thanks in advance.

Member Avatar for sonakrish
0
116
Member Avatar for FrancisC07

i am using an two dimensional arrays... and i inputed five names on it.. anyone can help me on how to output the five names?? i dont need the whole program.. i just need the code... thnx... ^_^

Member Avatar for Agni
0
104
Member Avatar for shasha821110

Write my own string class is my assignment and there have some problems i can't figure out why? here is my code: [ICODE]//this is one kind of constructor--this one i couldn't change; String::String(char ch, size_t count /* = 1 */) { memset(m_buffer,ch,count); m_length=count; }[/ICODE] [ICODE]//this is overload operator String &String::operator …

Member Avatar for shasha821110
0
69
Member Avatar for Ole Raptor

I have a Stored Procedure that is called through VB6 for a report. The Reports were working great until yesterday. Now all of the reports that use that sp are timing out. The default time is set to 60. I have adjusted this to 1000 and the report finally displays. …

Member Avatar for Ole Raptor
0
169
Member Avatar for rude04

i used setundecorated(true); to remove the buttons and border of the window,,the problem is the frame only stays where it is, because the title bar is removed i cant drag it around the screen anymore.. what code should i add to be able to drag it anywhere in the scree …

Member Avatar for darkagn
0
218
Member Avatar for death_oclock

I am making some software to analyze digital sound data. My first step is to find where all the attacks are, or where the starts of notes are. I want to find where there is a significant increase in volume, working with both relative and absolute differences. The difficulty with …

Member Avatar for death_oclock
0
106
Member Avatar for ramegharaj

Hi All, I've a table name Countries with two fields as ID, and CountryName. Where ID is foreign key(ie., may have duplications) and the country name can be repeated as many times as it needed. for example the scenario is ID CountryName 1 India 1 US 1 UK 1 Japan …

Member Avatar for ramegharaj
0
77
Member Avatar for DemonGal711

I'm working on this program for a new professor and he wants us to write out what are program is going to do before we work on it. So, I've been thinking about the program and I think I'm making it more complicated. Basically, I'm going to be given permutations …

Member Avatar for DemonGal711
0
124
Member Avatar for DBGuy007

Need your help:) Got the following problem: A French vocable got one or more English vocable equivalents and vice versa. What is the best way to store these information in table(s)? Thanks for your help in advance. Best regards, DBGuy007

Member Avatar for tesuji
0
115
Member Avatar for kenji

Hi, Im having some trouble with the function and I hope some one can help. The function is supposed to go through an class array and loop for an empty spot. If it finds one its copies data to the data members. Otherwise it creates a temporary array and copies …

Member Avatar for StuXYZ
0
285
Member Avatar for hericles

Hi guys, I have recently installed and configured Apache to process aspx pages (I had to remove IIS when it started using 100% of the CPU when I requested localhost). Apache works perfectly but I'm having trouble with VS 2003. When I try to create or open a project I …

0
107
Member Avatar for Coyboss

Hello everybody, I know what I want to do with the code, but I am not sure where exaclty to put the "if" statements. I am working on a weekly payroll program and I need to put in an if statement so it throws an error if the weekly hours …

Member Avatar for Coyboss
0
274
Member Avatar for orwell84

I'm getting into bash shell scripting with Ubuntu 8.10, and the tutorial I'm using is telling me to open the file .bash_profile which is allegedly in the home directory. However, I cannot find this file, except in /usr/share/doc/adduser/examples/adduser.local.config.examples/skel and it's called "dot.bash_profile". Plus, the whole thing is just comments. The …

Member Avatar for Aia
0
207
Member Avatar for daviddoria

Anyone know a good, simple set of classes to do thing like cartesian to spherical conversion, coordinate system transformations, etc? I wrote some of this stuff, but my code keeps breaking because of "special cases" that I have not handled. I just want to be able to use this stuff …

Member Avatar for StuXYZ
0
201
Member Avatar for jober

here the code, [code=php]<?php $a = $_GET['Cors']; $b = $_GET['sem']; $c = $_GET['yrlvl']; mysql_connect("localhost", "root", "") or die ('Error'.mysqlerror()); mysql_select_db("sched"); $query="INSERT INTO sked (crs,sm,yrlvl) values ('".$a."','".$b."','".$c."')"; mysql_query($query) or die ('Error Cannnot Insert Records!'); ?> <?php the listbox is "sem", tnx[/code]

Member Avatar for diafol
0
183
Member Avatar for irx

Hey all, I need help from all you genuises out here. I have 3 tables [CODE]CREATE TABLE IF NOT EXISTS `tags` ( `id` int(11) NOT NULL AUTO_INCREMENT, `tag_name` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`tag_id`) ) CREATE TABLE IF NOT EXISTS `video_posts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` …

Member Avatar for Ole Raptor
0
95
Member Avatar for wheatontrue

Hello - my Python 2.5 IDLE used to start up, but now it won't. I tried looking at the preferences - those don't have any glaring mistakes. When I try to start it command line I get the following error: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. …

Member Avatar for wheatontrue
0
320
Member Avatar for squirell

Hi, This is my first post on this forum. Apologies in advance if this isn' the right place or there isn't enough info. I'm basically trying to retreive an ID from a quesry string... xyz/nuts.aspx?nuttype=7 What I'm having trouble with is defining the variable and referencing the querystring in the …

Member Avatar for squirell
0
94
Member Avatar for isotope

Hi everybody, I know I'm still a noob with php, but I feel so sad I couldn't manage such a simple (at least apparently) issue. Here's what I want to achieve, in general: - I'm reading XML files via simple_xml - while reading I would populate an array with some …

Member Avatar for isotope
0
145
Member Avatar for rataiii

hello. im new here.. i was wondering if any of you would know where to look for some literature for how to make simple lan messenger. nothing fancy just for chat.. ty

Member Avatar for jbennet
0
89
Member Avatar for Stefano Mtangoo

I have python 2.6 portable and would pop error when I import wx. After some search, I found The prementioned package missing in the XP system. I downloaded and Installed and went fine. My Question is : Is there any way to add vcredist_x86.exe's missing DLL direct to wxpython directory …

Member Avatar for Stefano Mtangoo
0
177
Member Avatar for rock9449

[code=cplusplus] #include <iostream> using namespace std; int main () { int choice,num1,num2,answer; cout<<"This is a caculator program which will do math for you\n"; cout<<"Please Choose From one of 4 math operators\n"; cout<<"1 +\n"; cout<<"2 *\n"; cout<<"3 -\n"; cout<<"4 \\n"; cin>>choice; if (choice==1) { cout<<"please enter in two numbers to add" …

Member Avatar for shasha821110
0
94
Member Avatar for codedhands

Hello.Please i have a problem with my code.I am trying to edit a file.The problem occurs when i use the seek function.for example,i have a file outlined like this: [CODE] myfile.txt <Name>Ben</Name> <Age>32</Age> <Sex>Male</Sex> <Country>Mars City</Country> [/CODE] Now,when i try to edit the Age,i use the code: [CODE=python] f=open('myfile.txt','a') f.seek(17,0) …

Member Avatar for lllllIllIlllI
0
100
Member Avatar for samtan

Was wondering about Null pointers , do they really point to location zero in memory and does that location got all the bits zero. Does this mean a NULL pointer points to itself? [CODE] Node<Type> *A = 0; A = Find_Node(Position-1)->R_Link; [/CODE] I have this code , where "Find_Node" function …

Member Avatar for samtan
0
116
Member Avatar for starzstar

Hi, I am new to Python and have a requirement to develop a simple requirement to design a login screen, and then a screen which will have two parts in it one will show local files and other files on server I am planning to use tkinter for this is …

Member Avatar for jlm699
0
115
Member Avatar for Blackeagle

Hello, i'm trying to print specific lines from a file using only [U]one command[/U] for example: a file contains 30 lines , i wish to print the content of lines 13, 14, 15, 16?? what command to use for that?

Member Avatar for Salem
0
100
Member Avatar for Stonehambey

Hi guys :) Did a bit of searching but couldn't find much on this, so I thought I'd ask here. I want a Tkinter Label to display a polynomial, so naturally I need to put some superscript formatting onto it. But I can't seem to work out how to. Any …

Member Avatar for Ene Uran
0
2K
Member Avatar for leegeorg07

hi again i have been looking at the bacon cipher and i have made this [ICODE]import re dictionaryofcodes = {'A': '11111', 'B': '11110', 'C': '11101', 'D': '11100', 'E': '110111', 'F': '11010', 'G': '11001', 'H': '11000', 'I': '10111', 'J': '10110', 'K': '10101', 'L': '10100', 'M': '10011', 'N': '10010', 'O': '10001', 'P': …

Member Avatar for leegeorg07
0
125
Member Avatar for puneetkay

Hello everyone, Im back, with a new problem. LOL! I need to change Java datatypes to SQL types. I have sql queries as String object. like this one : [CODE=sql]create table MyTable ( id bigint, name String , city String , state String ) OR create table MyTable ( id …

Member Avatar for masijade
0
182
Member Avatar for Ravi Kant

Please Help me. Please see the attachment. I have created a project and have coding problem. Please help me. it's urgent.

Member Avatar for binoj_daniel
0
101
Member Avatar for smelf1

Hi all, I am currently displaying the information stored in the security logs in event viewer in vista. But i cannot get the category task to display like it is in vista (Special logon, logon, audit policy change) when i use evententry.category.tostring it just displays a number. Anyone know how …

Member Avatar for rapture
0
203
Member Avatar for fastnetweb

Hi all... I hope someone can help. We have a quote ajax form that works in Firefox (the dropdown values can be seen), but doesn't in IE. See - [URL="http://www.villagevetinsurance.co.uk/quote_engine/"]http://www.villagevetinsurance.co.uk/quote_engine/[/URL] The problem is with step 2 of the process. On step 1 - just put in a post code (i.e. …

Member Avatar for fastnetweb
0
87
Member Avatar for spanish

Hello, Please i need some assistance running a perl script, i obtained a Google API key, installed a a perl editor to run the program, The server for the program went down,so this is the only way to access the application, however i experience errors when debugging the program on …

Member Avatar for KevinADC
0
160
Member Avatar for Gribouillis

What do you think would be the best way to write this structure [code=python] if testA: actionA() if testB: actionB() if textC: actionC() else: actionDefault() else: actionDefault() else: actionDefault() [/code] if I want to write only one call to actionDefault() ?

Member Avatar for Gribouillis
0
139
Member Avatar for RingmasterTJ

Hey Everyone, So, I'm having an issue with a compiler error (C3861 to be exact). I'm creating a Binary Search Tree for my C++ course. The Binary Search Tree needs to overload the << operator & print the data in the tree inorder. My initial thought on solving this problem …

Member Avatar for RingmasterTJ
0
2K
Member Avatar for TasostGreat

I'm trying to write a program in C++ which writes characters into a file from 100 chars up to 120.000.000 chars in Linux. Would it be faster if I would try to use multithreading and if yes could you give me some advice some links to useful sites maybe some …

Member Avatar for Salem
0
172

The End.