199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for edborelly

Hello Everyone, I am trying to write a perl script that finds files that have not been accessed for x amount of days. I coded it using a system call with an unix find command: system("find ${directory_path} -follow -type f -atime +${max_days} -exec /usr/bin/ls -lurt > $results_file {} \\;"); but …

Member Avatar for edborelly
0
149
Member Avatar for elvenson

Im very new to SQL in general, let alone coding it into python. I can interact with a MySQL database just fine for the most part, but im running into some problems here... This is the function in my script that keeps raising errors: [CODE=python] def NewChar(): """ NewChar() - …

Member Avatar for elvenson
0
281
Member Avatar for g_loughnan

Hi there, I have this null pointer exception error in my code which I can't fix. I'm just trying to create an interface which can display an image, text and 12 buttons all at once. I've checked out loads of other threads, but I can't see where the Null entry …

Member Avatar for g_loughnan
0
148
Member Avatar for majestic0110

HI all am trying to construct this hybrid of java and mysql. the data comes from a mysql database and I want it to display in the gui. this I have achieved thus far. However I have buttons that sort by surname, first name, ID tag etc....I need event handlers …

Member Avatar for majestic0110
0
225
Member Avatar for Srynx

Hi, I'm working in a 4x4 sudoku solver and i'm a beginner in c++. I use Microsoft Visual Studio 6.0 and windows xp professional Variables are: a1 b1 c1 d1 a2 b2 c2 d2 a3 b3 c3 d3 a4 b4 c4 d4 First i wrote that program [CODE] //sudoku.cpp: #include<stdlib.h> …

Member Avatar for Srynx
0
136
Member Avatar for rajatC

i m new to java...i made my first applet...a simple applet to showing "THIS IS MY FIRST APPLET"..but it's not working...i m not able to see it in mozilla firefox and IE7... plz help.. the code is here... [B]tryApplet.java[/B] [code=java] import java.awt.Font; import java.awt.Color; import java.awt.Graphics; public class tryApplet extends …

Member Avatar for rajatC
0
143
Member Avatar for yangchen60

Hey guys ----------------- Truck t; Car c; Vehicle *broom = &c; broom->drive(); broom = &t; broom->drive(); ----------------- by saying Vehicle *broom = &c; what do you actually do ? what it means? *broom is a pointer located on c's adress in memory ? Is that right? thanks

Member Avatar for dubeyprateek
0
66
Member Avatar for ep2002

Hi there, I've been this online office management system hyperoffice.com for a while now & I never liked the program b/c of all the bugs, it wasn't designed properly (user interface) & tech support always blames us (not just me, even my VA & techie) for their issues, plus they …

Member Avatar for csc111vs
0
185
Member Avatar for azalia

Have never worked with either so just at this point trying to get the environment up and running. Yesterday I downloaded: 1. SQL Server 2005 Express Edition with Advanced Services SP2 2. Microsoft SQL Server 2005 Express Edition Toolkit 3.HTML-Kit build 292 did a PHP hello world and was not …

Member Avatar for ShawnCplus
0
89
Member Avatar for mithesh

Hi All, I want to display the string captured by using onkeypress event now my problem is i am able to display the string in the text box but i want to display it using <span> or <div> as a string i am attaching the code also : <html> <head> …

Member Avatar for ~s.o.s~
0
85
Member Avatar for gourav_jain

Hi All, I need one help in handling unicode data in java script. I want to run a loop to print a series of characters. Since '\u0041' represents character "A" but can I write a counter let say from '\u0041' - '\u0067' to write all the characters from "A" to …

Member Avatar for ~s.o.s~
0
123
Member Avatar for stubBuddy

The following code consists of 2 functions: one called Options and the other called checkOptions. The Options function is fine. No problem, it is taken from Johnson M. Hart's book. The second function was added on to attempt to complete an exercise at the end of the chapter. Okay, the …

Member Avatar for stubBuddy
0
176
Member Avatar for Roebuc

Ok guys, I have a form I want to email the data to my email addess. There are three inputs, two text and one text area. On submit I would like it to display a thank you page. Whenever submit is clicked, I get a script error(thank you page never …

Member Avatar for Roebuc
0
103
Member Avatar for Acidburn

Hey guys, I'm wondering if theres a way of getting the java.util.* packages into the J2ME evniroment. I've got a midlet project which runs but when I try to reference a java.util element it doesn't find it. Googling didn't bare much look either. it returned the following url [url]http://en.wikibooks.org/wiki/Programming:J2ME:Connected_Limited_Device_Configuration[/url] however …

Member Avatar for peter_budo
0
99
Member Avatar for Brent.tc

I need to know how (if even possible) to return a substring without having to return a local variable or space allocated by new here's some code as an example as to what I'm looking for. [code] char* substr(const char* str, int start, int len) { char retSub[len+1]; int pos=start; …

Member Avatar for Salem
0
106
Member Avatar for revenge2

hello, I am following a book and im stuck on this one.....(note it's tacky but just bear with me, im a newb)[CODE] #include <iostream.h> int main() { int RedSoxScore, YankeesScore; cout<<"Enter the score for the RedSox:"; cin>> RedSoxScore; cout<<"Enter the score for the yankees:"; cin>> YankeesScore; cout<<"\n"; if (RedSoxScore > …

Member Avatar for Ancient Dragon
0
130
Member Avatar for hidash_in

[B]hi all, i have to get the number of pages for a pdf document using java. i checked in java pdf api library but i have not get the correct idea. can anybody help for my work pls. if u have code for that na pls send me. advance thanks …

Member Avatar for peter_budo
0
670
Member Avatar for george22_jk

hello i am george.i have to do 2 exercises in c/c++ and i dont know a lot of programming.the exercises are: 1) code for depth first search with adjacency list for every graph 2)code for Dijkstra algorithm with weight graph if somebody knows something(code,links,etc...) that could help me please contact …

Member Avatar for Salem
0
177
Member Avatar for degamer106

I'm stuck trying to figure out how to update the text field after I click on the button in the GUI. The number of roaches is supposed to be updated each time I click, but I can't seem to find the right tool for the job in the APIs. RoachPopulation.java …

Member Avatar for javaAddict
0
116
Member Avatar for P90K

Im new whith vb6, i onley now de basic of it. but i have a problem with excel. I opend and existing excel file with vb6 in a private sub. [CODE]Dim xlApp As Excel.Application 'Nodig voor werken met excel Set xlApp = New Excel.Application 'excel openen xlApp.Visible = True xlApp.Workbooks.Open …

Member Avatar for P90K
0
116
Member Avatar for azalia

I want to pass a float array from one function to another function I want to make use of the float array type(here container) [code=c] void funct1() { float container[4]={0.1,0.2,0.3,0.4} void funct2() ----(1) {return container;} } void funct3() { void funct2(); use container array; }void funct1() { float container[4]={0.1,0.2,0.3,0.4} void …

Member Avatar for Narue
0
87
Member Avatar for drsmith

I am having fits trying to come up with previous/next buttons for my particular project. I want the user to be able to easily browse through shifts. I have 3 shifts per date and that is how it is stored in the db. Right now I have the users going …

Member Avatar for drsmith
0
252
Member Avatar for hugvc333

Hi everybody, I am Hugo . I want to know something more about SQL. please can anybody give me some idea about some basic SQl questions? First of all i want to know, 1.What is the SQL Data Manipulation Language(DML)? 2.What is the SQL Data Defenition Language(DDL)?

Member Avatar for nav33n
0
123
Member Avatar for argopal
Member Avatar for majestic0110
0
83
Member Avatar for jayDC
Member Avatar for jayDC
0
66
Member Avatar for Butterflieq

Hey guys gotta quick question for ya. I'm trying to figure out the best way to write an array for the following: (1) Hot dog 1.50 (2) Fries 1.00 (3) Lemonade .75 (4) End order You should be allowed to keep ordering from the menu until you press 4 for …

Member Avatar for neosomosis
0
150
Member Avatar for purplegerbil

Hi, I have the following code: [CODE]<% Dim myMail Set myMail=CreateObject("CDO.Message") myMail.Subject="Information from website" myMail.From="mymail@hotmail.com" myMail.To="someone@hotmail.com" myMail.TextBody="This is the information I want to email" myMail.Send set myMail=nothing %>[/CODE] When I use the above code I do not get an email sent to me. Any ideas? pG

Member Avatar for purplegerbil
0
65
Member Avatar for kishou

Is it possible for someone to hack into my database/table? if so should i name my table/database: database 5465464577688960985047834?

Member Avatar for azalia
0
77
Member Avatar for ahmedusa2005

Dear Members I have started the following program, and I do not know how to solve the issue to store names in an array and retrieve them again, and how tos tore the names in a file in the Hard drive. If somebody could help me with my issue. Thanks …

Member Avatar for neosomosis
0
98
Member Avatar for welbyobeng

Ok am new in java programming and I am trying to conduct a simple class called Area. If anyone know anything about java you can help me. I am writing a class that has three overloaded static methods for calculating the area of the following geometric shapes. circles rectangles cylinders …

Member Avatar for javaAddict
0
266
Member Avatar for eranga262154

Hi all, I want to find the number of words in a rich edit control. There is no direct class member to do this. So I think if I can count the number of word break and line brake then it is easy. But it is also not easy. On …

Member Avatar for WolfPack
0
898
Member Avatar for samari

[code=c] void main() { TRISA=0x00; TRISB=0x00; while(1) { PORTB=0x06; PORTA=0x01; delay(10); PORTB=0x5B; PORTA=0x02; delay(10); PORTB=0x4F; PORTA=0x04; delay(10); PORTB=0x66; PORTA=0x08; } } [/code] This a few program that i make in creating a scoreboard for basketball using PIC 16f84a..Is this program correct??

Member Avatar for Colin Mac
0
183
Member Avatar for jobs

I have a C program I am writing and need this program to write to syslog and have the logs in a separate file for my program. Eg. My program is called "example.c", then I want to have a log file called "example.log" in /var/log. Do I define log file …

Member Avatar for WaltP
0
1K
Member Avatar for ceyesuma
Member Avatar for masijade
0
106
Member Avatar for peterye

Hi, could any one reconmend me a good book can be fast to handle basic php and mySQL. It will step by step to teach me program begin from web hosting which available for both PHP and MySQL. Do need any software on my computer ? coulp of books when …

Member Avatar for vssp
0
157
Member Avatar for Queue

After writing out the main functionality for my templatized data structure, I am stumbling with the syntax to allow for Compare (so the user can provide a definition for less). If I am not mistaken, I need to add at least another constructor. I tried reading the STL implementations for …

Member Avatar for Queue
0
215
Member Avatar for kaizen202

Hi All I want to catch an error and report it into a Database in a remote server.(C#.NET). Can anyone help me?. thanks in advance....

Member Avatar for kaizen202
0
97
Member Avatar for patmagpantay

Hello! I have set up a script form called " form tools " without a problem, This script gathers all information in the registration form and stores it into a database (php and mysql), Now I would like to randomly choose 5 people from the data I collected from the …

Member Avatar for nav33n
0
118
Member Avatar for kishou

how would i use 2 if statements? i tried using && but it wouldnt work. :( like: if (yo!==yo) if (yogfhf!=yoh)

Member Avatar for kishou
0
94
Member Avatar for jobs

[QUOTE]The function time() retrieves the current calendar time from the system's clock. It has the following prototype: time_t time(time_t * tp); In systems in which no clock is available, the function returns -1.[/QUOTE] Part 1: I found this on the internet. I have a question about the above quote where …

Member Avatar for Ancient Dragon
0
105
Member Avatar for balla4eva33

If I have a const char * of "bad,cold,new" how can I count just the number of commas? Do I need to convert it to string? If so, how do I do that? Do I need to convert all the commas to zeros first? How do i do that?

Member Avatar for balla4eva33
0
163
Member Avatar for raija09

anybody out there who can make a program that adds a user input... for example... if the user enters 123456... the program must add 1+2+3+4+5+6 and display its sum; thats all... please help me on this... really need it... tnx a lot...

Member Avatar for ericstenson
0
99
Member Avatar for White-Gandalf

Introduction: I already tried to post this on the dev-c++ - forum at sourceforge, but didn't check for the far too low frequency at that forum (about two questions per week). Thus i tried t find a better visited one and found this here. I use: Dev-C++ 4.9.9.2 Windows XP/SP2 …

Member Avatar for White-Gandalf
0
131
Member Avatar for chubajj

Hi guys Im making a program in assembly that copies all of the text files from one folder to another , the problem that i have is how to join the path from the folder whit the name of the text files that the program reads. Ex: dest folder: num1 …

Member Avatar for Duoas
0
62
Member Avatar for xcoaster1

I have a script I'm currently working on where the user inputs the information into a form, previews the page and then a email is sent to the appropite party. Currently, this is all functional except after the preview screen, the email produces the information in the box, but adds …

Member Avatar for KevinADC
0
142
Member Avatar for fredjahed

Hi All, When trying to change the bcackgroundImage of element useing javascript method style.backgroundImage="url(blue_link.gif) no errors found but the script can't find the image so what is the correct way to use the address of the image? Thanks very much in advance, Fred

Member Avatar for MidiMagic
0
468
Member Avatar for hidash_in

how to calculate the days between two dates excluding saturday and sunday foe example if i am calculating the days between 14/12/2007 to 17/12/2007 the answer for no of days should be 4... pls send the code for above problem. advance thanks hidash.

Member Avatar for MidiMagic
0
119
Member Avatar for n.aggel

hi, i have the following program [CODE]see the attachment[/CODE] when i try to compile through the command line {with the scipt compile} everything works fine... when i try to use my makefile...i get tons of errors.... It is my first serious try with makefiles and i would like some assistance …

Member Avatar for Barefootsanders
0
94
Member Avatar for Tell Me

hi may I bother you a moment :icon_redface: the follow program is without compilation error but whin I running , load error appear can you help me what is the error :( :( [CODE]#include <iostream> #include <string> using namespace std; bool function () { int ascii; string s1= "word" ; …

Member Avatar for iamthwee
0
88
Member Avatar for claudiu_is

anyone knows what event can I fire when I edit the contents of a datagrid cell ?

Member Avatar for claudiu_is
0
144

The End.