132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nuwan

Dear All I`m very new to Perl programming and using Perl 5.8.0 on Linux environment. Can somebody post a reply explaining how to call an event(ex-a simple subroutine) from perl after a certain time delay and repeat again if needed. I really appreciate if somebody can post a sample code …

Software Development first-post perl
Member Avatar for richieking
0
2K
Member Avatar for sammiepooh

Hello, I am fairly new to this site and am new at studying unix/linux OS. Recently I had an assignment involving finding a script that had run an administrative task such as checking file systems periodically. With it, I had to take each line and describe in my own terms …

0
152
Member Avatar for yabuki

I created my own header file in C by creating the ff. files: myfile.h, myfile.c and main.c.Afterwards, I compiled myfile.c so I already have the object file for it, but the problem is when I compiled and run main.c this error message appeared: "Undefined symbol _sum". Please help me to …

Software Development c file-system
Member Avatar for xmelx
0
383
Member Avatar for gahhon

i wanna ask about this statement... [CODE]int a[] = {0};[/CODE] the value all of a is it equal to 0 ? i mean all of the location of a..

Software Development c
Member Avatar for halil.burak
0
92
Member Avatar for lukename

Hi. How can i find how much windows are running at the same time? For example i need to find how much Calcultators are running. I tried using [iCODE]FindWindow()[/iCODE] but it always returns me same handle. Any ideas? Thank you

Software Development c++
Member Avatar for nchannon
0
157
Member Avatar for ja0

Hi, Maybe this is a simple question... I want to open a 2nd form using a load click button. I already did it: [CODE]private void loadbtt_Click(object sender, EventArgs e) { ScndForm.Show(); ScndForm.Update(); // Rest of the instructions for load button }[/CODE] The problem is that it is only showing the …

Software Development
Member Avatar for ja0
0
71
Member Avatar for destruct0

Hi !!! I have problem with Refreshing or Redrawing my Window Form. I have one Rich Text Box on my Form and i have a list of title of books on it. I wish when I add a new title book to Rich Text Box to Refresh/Redraw the all Windows …

Software Development
Member Avatar for hassan12345
0
3K
Member Avatar for mbob61

is it possible to make the title property of the form itself visible or invisible via the use of a checkbox? I'm rather new to C# so i'm not sure how much of a stupid question this is :P Thanks for reading. Mike Edit: I'm currently using.. this.Text = string.Empty; …

Software Development
Member Avatar for kordaff
0
268
Member Avatar for sakurayana

hye fren...i'm using asp.net and sql express 2005 right now.....my problem is how i want to select 2 table from the database because i'm using a gridview......?anyone?thanks in advance.....

Software Development asp.net sql
Member Avatar for hassan12345
0
136
Member Avatar for Mahsa_C++

Hi dear all ! I am programming a windows form application using C++.net(CLR). In my program I am to draw a flow chart or such shapes with undetermined length, so I must scroll the form to enable user to see all parts of the shape. I enabled AutoScroll method of …

Software Development c++
Member Avatar for Mahsa_C++
0
538
Member Avatar for jems5

I am trying to output a checker pattern into a two dimensional array. How do I assign two characters in order to do this? Note array is a square [5][5] Please help. [CODE]// Takes two symbols and places them in alternate cells of board public static char[][] placeSymbols(char charY, char …

Software Development java
Member Avatar for jems5
0
2K
Member Avatar for gedas

hey everyone, i am creating a project from already created code below. this is just one class of it. this class projects 4 or less points on the image. the source for those points is received from wii (gaming consoles) remote that tracks infra-red light so it displays infra-red light …

Software Development gaming java java-swing
Member Avatar for gedas
0
157
Member Avatar for rinjin07

YO, I would be EXTREMELY grateful if someone can help me out with some boolean method stuff. I have this assignment where we've been building up this bank account project thing, and at the moment I've been asked to put in a boolean method called inBalance that returns true if …

Software Development java
Member Avatar for rinjin07
0
192
Member Avatar for iphoneepidemic

I have to use constructors in my assignment so i decided to create two mazes (using arrays) and save them in two separate classes (maze1 and maze2). Then i called the array and save the reference to another array named mazeChoice (Line 23) . After, i try to print out …

Software Development java
Member Avatar for iphoneepidemic
0
133
Member Avatar for AaronLLF

I followed through a Java/LWJGL n lloydgoodall.com for a first person camera. There were about 33 errors that I fixed, though I get a message in the Eclipse console "java.lang.NoSuchMethodError: main Exception in thread "main" " Here is my code: [code] import org.lwjgl.Sys; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.GL11; import org.lwjgl.input.*; import …

Software Development java opengl
Member Avatar for kramerd
0
681
Member Avatar for Milton Neal

Hi All This is more a discussion than a problem. :) I’m working on a small project that needs to be done in C++. Part of it requires that I maintain an array of file streams so that I can open serveral files at one time, read, write exchange data …

Software Development c++ file-stream file-system oop
Member Avatar for Narue
0
245
Member Avatar for awadojag

I have a text file with a few cars brands and some information for the cars. I want the cars together with the information for the cars to be sorted in alfabetic order. Anyone can help me to get this working? This is my code: [CODE] #include<fstream> #include<iostream> #include<string> #include<conio.h> …

Software Development c++
Member Avatar for awadojag
0
106
Member Avatar for Eagles36

I was given a header file and the main files i have to create the implementation file for the header file I am issues trying to find out where I went wrong in my for loops. Can you point me in the right direction The header file [CODE]// FILE: sequence1.h …

Software Development c++ legal
Member Avatar for Eagles36
0
2K
Member Avatar for yapkm01

This seems to be weird: [code] int main(int argc, char* argv[]) { cout << "function main() .." << '\n'; char ch = 0; double number_value=1.1; cin >> ch; cin.putback(ch); cin >> number_value; cout << "1 .. " << " " << cin.good() << " " << number_value << '\n'; cin …

Software Development c c# c++
Member Avatar for Apple4
0
146
Member Avatar for gaurav_13191

This is my code for drawing a circle using mid point algorithm:- [CODE] //Midpoint circle algorithm #include<graphics.h> #include<stdio.h> #include<conio.h> void drawcircle(int xc,int yc,int r); int main() { int gdriver=DETECT,gmode; initgraph(&gdriver,&gmode,"..//bgi"); drawcircle(250,250,10); getch(); return 0; } void drawcircle(int xc,int yc,int r) { int p,x=0,y=r,incr1=2*x+3,incr2=incr1+2-2*y; void drawPixel(int,int,int,int); drawPixel(xc,yc,x,y); p=1-r; while(x<=y) { if(p<0) …

Software Development algorithm c
Member Avatar for Adak
0
134
Member Avatar for xcr

Hello all, I hope that someone can help me with this, I am trying to add an element to a dictionary, and in order to do such, I am using a binary search mechanism to find the correct place in the dictionary. My code compiles fine, but when I run …

Software Development c
Member Avatar for Unimportant
0
93
Member Avatar for R3Slick

Ok this is so new to me but does anyone have example code that decodes header fields in an IP datagram? or a link to something like the beej's guide....So i need to decode the header from the following example. 0000000 141724 120662 000002 000004 000000 000000 000000 000000 0000020 …

Software Development c lan-wan
Member Avatar for Pral
0
3K
Member Avatar for jjemphoung

hi! please help me. i want my data report to be in landscape mode. i've read many forums and they suggest to install vb6 sp6. i've already downloaded it from MS site and installed it. and now when i open my project in vb6 and type datareport1. there is no …

Software Development visual-basic
Member Avatar for dspnhn
0
222
Member Avatar for Izork

So I read the Book topic, but all of those books seem old. Are they too outdated or can they still be used? I'm starting on a GameIT-College next summer (a 3 year education) and after that a 3 year programming education (Datamatiker is the name on danish) Thing is …

Software Development c++
Member Avatar for Izork
0
151
Member Avatar for mrclark

I am making a library that will load UI files in which a user can customize the UI of the program. The UI file is arranged that it is like vb code and that to set the text and location of a button the user would use the following UI …

Software Development vb.net
Member Avatar for lolafuertes
0
114
Member Avatar for Violet_82

Hi guys, I have a problem with a program: #include <iostream> #include <string> using namespace std ; // Uses a class with "public" member variables, so directly accessible class Student { public : string name ; int reg ; } ; int main( ) { const char NL = '\n' …

Software Development c++
Member Avatar for Violet_82
0
129
Member Avatar for kehar

Hi, pl write me the simple example to connect student table of school database of Access through VB.net and code to AddNewRecord,DeleteRecord, UpdateRecord, SearchRecord. the fields in the table are say- Name, Desig and Age and textbox in form are- TxtName, TxtDesig, TxtAge the event under which each code has …

Software Development dataset vb.net
Member Avatar for lolafuertes
0
124
Member Avatar for Lenny19

Hi, I'm got to input 12 values and find the maximum, minimum and average value, i've done the maximum, but can't do the min or average, i've spent a couple of hours trawling the web and looking over the code but nothing seems to work heres the part of the …

Software Development c++
Member Avatar for saeed67
0
1K
Member Avatar for johnlop1

So i have this input.txt file, and there are 5 entries in it, I want to take each entry( in the format of Image1.jpg, Image2,jpg, etc) and store it into an arraylist. Then use java GUI to display each image by clicking a button, from image1 to image5. First I …

Software Development gui image java
Member Avatar for JamesCherrill
0
117
Member Avatar for Intrevix

I'm having a lot of trouble understanding an assignment we were given today. It has to be written using only loops. I'm finding it a little hard to comprehend right now, so just a bit of guidance on where to start would be great. I understand that the program would …

Software Development java
Member Avatar for JamesCherrill
0
135
Member Avatar for sam1

hi I was wondering which one do you think is the best? I have been using netbeans but have no experience with eclipse, so i can not say which one is best :lol:

Software Development java
Member Avatar for peter_budo
0
107
Member Avatar for acidking001

I am using Netbeans. I have one JFrame with JMenu, and one JDialog. I want to show the dialog when i click the menu, but it doesn't work. I only wrote this codes to my jframe and i didn't add or change any codes on the dialog: [CODE] private void …

Software Development gui java java-netbeans
Member Avatar for peter_budo
0
315
Member Avatar for john_beginner

hello eve one, i'm student of Bsc (IT) i have to made one small application in VB with in month so whould u pls suggest me any application which can be made with in one or one & half month .... thanx in advance...

Software Development visual-basic
Member Avatar for kinwang2009
0
151
Member Avatar for tweetychelz

Imagine a tollbooth at a bridge car passing by the booth is expected to apply a fifty-cent tool. Mostly they do, but sometime a car goes by without paying. The tollbooth keeps track of the number of cars that have gone by and of the total amount of money collected. …

Software Development c
Member Avatar for peter_budo
0
303
Member Avatar for sjn21682

hi everyone!!! need help here, how can i pass a string to a class? i have two forms and a class, my 1st form is the main form and the other form is used for assigning to a keyer, this form has a combobox where i will select the keyer …

Software Development c c# c++
Member Avatar for destruct0
0
1K
Member Avatar for Arty Jug

1.write an algo that asks a user to input a month and a year. The algo then determines the number of days in that month and year(Note: Take into consideration leap year) 2. write an algo that asks a user to input a date and a month. The algo then …

Software Development pascal
Member Avatar for Wolfgan
0
292
Member Avatar for burcin erek

I want to generate 10 random numbers. but all numbers will be different. so I tried to use bool first make all false. and each generate, assign that argument with bool but someting is wrong. because outcome is not correct. [CODE]#include <cstdlib> #include <iostream> #include <ctime> #include <windows.h> using namespace …

Software Development c++
Member Avatar for burcin erek
0
183
Member Avatar for Alerwiali

hi Everyone !! i need help guys with hash table in c ..could anyone help me by a little explaination of how to use hash tables ...please give examples.. Thanks in advance for all.

Software Development c
Member Avatar for Alerwiali
0
134
Member Avatar for kashy!

Hi again, I have a problem again with crystal reports. I am using Microsoft Visual Studio 2008 and want to design my Dynamic crystal reports. In vb6 i normally did this via bounding each control of the section1 ,2 or 3 via run time code by giving the name of …

Software Development vb.net visual-studio
Member Avatar for Naveed_786
0
924
Member Avatar for Noorul Ariff

Dear friends, I'm doing my inventory project in visual studio 2005... Back-end is ACCESS... i'm having purchase, sales tables... I want to know, how to Generate Report(Crystal or Data)... I need Steps to create and coding associate with it(For both, if it is possible)... Because i need very urgently... Plase …

Software Development seo vb.net visual-studio
Member Avatar for Naveed_786
0
131
Member Avatar for diddle

Hi all, Could you tell me how to write simple graphics program in c, for example, how to take the format of bmp, pgm, csd file from image file? how to convert from one format to other? If anybody knows a good book or web site, please tell me soon.

Software Development c image
Member Avatar for Ancient Dragon
0
364
Member Avatar for Chalson

I'm using the 'struture' function to key in two type of data. First is the the position of employee, and another 1 is the salary of employee. May sumbody tel me how to get and calculate the total amount of salary from my input ? I need an example code …

Software Development c++
Member Avatar for Chalson
0
95
Member Avatar for taquito86

Hi, may I know if there is an easy way to convert a string into lowercase except for certain parts. Input: I HaVe A CaT caLLed "SaLly" AnD DoG called "BeLLY" Output: i have a cat called "SaLly" and dog called "BeLLY" I do not want the stuff inside the …

Software Development c++
Member Avatar for gerard4143
0
93
Member Avatar for Thropian

I've been doing programming in tkinter for awhile now and I came across a problem...this problem only shows up after a single part but here is the code...kinda lengthy.if you go to the equip menu and equip bare neck you can't change necklaces again. any help in shortening this or …

Software Development python tkinter
Member Avatar for Thropian
0
4K
Member Avatar for maremia

hello every one I tried to solve these functions in C++ but I faced some difficulties So is it possible for any one to help me to solve the functions? please try to help me as you can before tomorrow.. Download the file from [URL="http://www.fileden.com/files/2010/6/24/2896152/GENG106-HW1.docx"]here[/URL]

Software Development c++
Member Avatar for maremia
0
92
Member Avatar for tpkemme

so now that i have gotten farther in the code, it prints the substrings correctly, but i can't get the program to stop correctly. basically, i'm looking for the longest common substring. def main(): input1 =raw_input('Enter string: ') input2 = raw_input('Enter second string: ') if input1 > input2: str = …

Software Development python
Member Avatar for TrustyTony
0
152
Member Avatar for stvnddich

I have to write a C++ program that finds all the perfect numbers between 1 to 10,000 and print out the factors after the code finds them. I have written the code to find the numbers, but cant seem to wrack my brain on how to make the factors print …

Software Development c++
Member Avatar for Kontained
0
713
Member Avatar for zachattack05

Is something like this possible: [CODE=C#] int MyParameter = 3356; DataTable x = new DataTable("CommandParams"); x.Columns.Add("ParamName"); x.Columns.Add("ParamType"); x.Columns.Add("Object"); DataRow y = x.NewRow(); y["ParamName"] = "@SomeParamName"; y["ParamType"] = MyParameter.GetType(); y["Object"] = MyParameter; SqlCommand z = new SqlCommand(); z.Parameters.Add(new SqlParameter(x.Rows[0]["ParamName"], (x.Rows[0]["ParamType"])x.Rows[0]["Object"]); [/CODE] I'm trying to come up with a method that can …

Software Development
Member Avatar for zachattack05
0
188
Member Avatar for khulaffu

can someone make the code on this activity II. Procedures: a. Create a program (Save as Act4.asm) that will ask the user to input a 2 digit number. Compute and display the sum of these numbers. Assume that the sum will only yield a single digit (maximum value of 9). …

Software Development assembly
Member Avatar for Schol-R-LEA
0
159
Member Avatar for eduard77

Hello, I try to solve an equation. I wtrote this code that compiles with no problem but when I run it it gives me no result. Can anyone help me? Thanks[CODE] #include<iostream> #include<cmath> using namespace std; int main() { double a,b,c; cout<<"Introduce a,b,c\n"; cin>>a>>b>>c; if(a=0) if(b=0) if(c=0) { cout<<"The ecuation …

Software Development c++
Member Avatar for eduard77
0
97

The End.