132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MattEvans

I've just registered a MIME handler for a custom filetype; I've got the basic redirection sorted, all files of type XRM get sent to a 'dumb' perl script that echos predefined values. But, how do I read in the contents of the XRM file that invoked the perl script? Does …

Software Development perl
Member Avatar for KevinADC
0
101
Member Avatar for Matt Tacular

I know this is VERY off topic, but I am sure that a bunch of people here are experienced with computer building. I am building a computer off of tigerdirect canada and I was just wondering if I could get someone to check and see if all of these parts …

Software Development asp hard-drive python
Member Avatar for Ene Uran
0
137
Member Avatar for slacke

Hello I'm working on an application. I need as big arrays as possible. At home I work with linux there I can declare array as big as this: char buffer[1000000]. No probleme. In work I'm working with boreland C++ 4.5 (WinXp) and I can't declare biger size of array as …

Software Development c++
Member Avatar for ~s.o.s~
0
235
Member Avatar for hazdude

can anyone help me with some c++ coding? I want to create a piece of code that would allow me to type in any random 30 numbers and for them to come out in ascending order. Any help would be greatly appreciated Hazdude

Software Development c c# c++
Member Avatar for rowly
0
90
Member Avatar for cms271828

Hi, I'm considering making a Connect 4 game in java. I have just completed my chess game (version 1 anyway), [URL]http://www.colin-java.co.uk/JChess/index.htm[/URL] So connect 4 should be a load simpler. However I am uncertain as to which evaluation function to use, does anyone have any experience with this. Thanks for any …

Software Development java
Member Avatar for cms271828
0
135
Member Avatar for kararu

I am starting to use GDB, It can take in only executable form programs as argument is it? Or there are other options. I need to use gdb on a non-exe program directly.Can I do it?

Software Development c
Member Avatar for jim mcnamara
0
85
Member Avatar for DmD

So I'm working on a program where you fill in some textboxes and press a button to generate a .txt file with the texts in it... I'm working in Visual Studio Express (C++) The only thing i have so far is: [code] [COLOR=#0000ff]private[/COLOR][COLOR=#000000]: System::Void btnAdd_Click(System::Object^ sender, [/COLOR][COLOR=#000000]System::EventArgs^ e)[/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=#0000ff]char[/COLOR][COLOR=#000000] …

Software Development c++ ios visual-studio
Member Avatar for Nick Evan
0
1K
Member Avatar for pfr

THis program is suppose to read a txt file, contating text with weird spaces( the space on the space bar, character space on keyboard wtv u want to call it).also write the number of spaces in front of each line, and you are suppose to get rid of them like …

Software Development java
Member Avatar for masijade
0
109
Member Avatar for Ranukano

Write a function IsOTriangle() that takes a size parameter and displays an isosceles triangle with that many lines. I have to have it with a main(), IsoTriangle(), and Spaces() Spaces() to display the leading spaces before the start of the asteriks. Normally functions and calculations don't bug me to much, …

Software Development c++
Member Avatar for Nick Evan
0
229
Member Avatar for xicestorm

I am working with a dateType class and need to make a function to show next day and the previous day. I have my function set using const keyword so that it can't be changed by users, but now I can't increase my day. help??? [code] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] dateType::nextDay() [/COLOR][COLOR=#0000ff]const [/COLOR]{ …

Software Development c
Member Avatar for andrax
0
87
Member Avatar for GreenDay2001

i have searched a lot for win 16 api tutorials but got only win32 api tutorials. i would like to start learning api with 16 bit and then 32. I would like to know some win16 api tutorials on web.

Software Development api c
Member Avatar for Ancient Dragon
0
115
Member Avatar for higherGround574

Hey guys, I'm for the most part a backend programmer but I'm taking a GUI class as a elective, and I'm haveing some problems with an applet. Part of the assigment is to create a logo design that displays a bunch of pentagons in a circle with different colors and …

Software Development gui ide java java-swing web-browser
Member Avatar for higherGround574
0
184
Member Avatar for illuvatar

I wrote this program in MATLAB that converts units (for homework). My teacher doesn't like MATLAB but I do, so I've decided to make everything a bit fancy and a bit overboard. Thus far I've made my program to pop up a menu where in which you pick a unit …

Software Development
Member Avatar for illuvatar
0
133
Member Avatar for THK

i have to set the time in minutes when this plane is expected to land or take-off. and i have to use method int..:eek: public int setScheduledTime() { } what should i do.... :sad:

Software Development java
Member Avatar for iamthwee
0
114
Member Avatar for darkeinjel04

here's anader program.. the output should be like this.. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 ........ and here's d c0de..dunn0 if this is right.. #include<stdio.h> const int leftcorner=1; const int rightcorner-=1; const int topelement=1; int *pascal trianglr=0; int buildtriangle(int tmpPascalrow; { …

Software Development c pascal
Member Avatar for Infarction
0
147
Member Avatar for rharsha83

hi, i have been asked to get the information of the systems in the network by executing ping in perl programming. use Net::Ping; $p = Net::Ping->new(); print "$host is alive.\n" if $p->ping($host); $p->close(); sample of my code is shown above where $host--> is the ip of the destination machine. if …

Software Development perl
Member Avatar for Jayaprabhu
0
247
Member Avatar for silentcreeper

Hi, I have been working on a project for my java programming class but I just dont know where to even start. here is what i was assigned Your program must: [LIST] [*]Not declare any class attributes. You will not need them in a carefully designed class. [*]Read a single …

Software Development java
Member Avatar for Phaelax
0
160
Member Avatar for Mr.UNOwen

Hello everyone, This is my first time here. I happen to run into this site as I was looking for solutions for some c program I have to write for my programming class. Anyway I'm running into issues that I just don't see any reason for why they are happening. …

Software Development c
Member Avatar for Mr.UNOwen
0
151
Member Avatar for F.T.L.O.T.G

I know a lot of students get on here and post threds trying to get others to do their homework, but i truly need help! I am looking for someone who is willing to tutor me by Im, e-mail, phone or anything. I have a coke machine project due next …

Software Development c++ first-post
Member Avatar for Salem
0
235
Member Avatar for firstbizsoft

Hi all, Working in a Pos System and using this code for print all product from the list. The code wrk fine the only prb is: The text begin printing from the middle of paper and not from the left side. Where is the prb? This is the code: Private …

Software Development printer visual-basic
Member Avatar for Marikanna
0
206
Member Avatar for chris99

The attached program uses buttons to take you to a set of links. The links that the three buttons point to are here, gamefaqs and toontown. You can customise by altering the links and button names within the code, this is just practice. What do you think?

Software Development python tkinter
Member Avatar for chris99
0
133
Member Avatar for darkeinjel04

Here's my Prog...i dunno how 2 convert it...pls check.. its a pyramid... #[code] #include<stdio.h> main() { int a, b, c, d=0; clrscr(); printf("Enter a No:"); scanf("%d",&c); for(a=1;a<=c;a++) { for(b=1;b<=c*2-1;b++) if (b<=c+d&&b>=c-d) printf("*"); else printf(" "); printf("\n"); d++; } getch(); } [/code] is my program correct? the output must be..a pyramid

Software Development c
Member Avatar for darkeinjel04
0
414
Member Avatar for EnderX

Earlier in the day, I was forced to generate a new public key/private key pair for one of the systems I work with, as it appeared to have been hacked into at some point during the night. The system in question was running a process called 'Slony', which is used …

Software Development perl
Member Avatar for masijade
0
138
Member Avatar for redstar

Hi i have this program and have a problem it is a basic program for exponents and now i need to add a while loop so that if the user enters a number greater that 10 it asks them to input a number lower or equal to 10, here is …

Software Development c
Member Avatar for Nick Evan
0
278
Member Avatar for LegerdemaiN

How can I get a program to find and extract an email adress from a line and replaces the @ sign with 'AT'? I just started learning c++ and have run into a wall. I can get my screen to display everyhing from the @ sign to the end of …

Software Development c++ email
Member Avatar for LegerdemaiN
0
91
Member Avatar for GreenDay2001

I am Turbo/Borland C++ programmer. I could write c++ programs. However I don't know Visual C++, and I have Visual C++ 6.0. What should be my first and next steps to learn Visual C++. Are there any online eBooks and tutorials. If so please tell me.

Software Development c++
Member Avatar for WaltP
0
104
Member Avatar for briggs1987

I need help. I have my program set up except for a graphWin and I don;t know how to set that up

Software Development python
Member Avatar for Ene Uran
0
90
Member Avatar for Gessa

[COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Hey guys I’m Gessa Hi I m new, and desperately need HELP [/COLOR] [COLOR=#000000]I recently started my graduate studies where I have to take at least programming two, the last programming class I took was in my associates degree and one in the beginning of my …

Software Development java
Member Avatar for Gessa
0
82
Member Avatar for Decency

Hi.this is my first thread on this forum im new here..im on my final year to be a computer engineer im almost done with my MCSD certification..yet i cant decide a software project for my graduation :sad: im looking for briliant ideas with some details about acheiving them.. im so …

Software Development microsoft
Member Avatar for Jocker_pal
0
94
Member Avatar for aidi.morini

[COLOR=#808080]Hi,[/COLOR] [COLOR=#808080]I’m using Visual Studio .NET 2003 and my application is a dialog window, with some buttons and a picturebox. I’ve activated the maximize window option and I’d like that when the window is maximized the picturebox will enlarge to occupy the same percentage of the window as in normal …

Software Development vb.net visual-studio
Member Avatar for aidi.morini
0
198
Member Avatar for friendz_

how proceed c programming in unix just for practicing.

Software Development c c# c++ unix
Member Avatar for Ancient Dragon
0
54
Member Avatar for shadowmoon

[quote] // play a wave file sound using the winmm library // For DevCpp add the library libwinmm.a to linker via // Project/Project Options/Parameters/Add Library // remember this is a console program! #include <iostream> #include <windows.h> // for PlaySound() #define SND_FILENAME 0x20000 #define SND_LOOP 8 #define SND_ASYNC 1 using namespace …

Software Development c++
Member Avatar for andor
0
485
Member Avatar for sulymani

Hello guys, I am taking the MIPS assembly course this semester. indeed, I am struggling with this course. any way i need ur help .. My guestion is how to make the output appears right justified and how to connect the previous functions to the new function which is the …

Software Development assembly
Member Avatar for andor
0
127
Member Avatar for ChIkEn

Hello, I am looking for a tutor to teach me how to make games in java. Im not technically new to programming, I know the basic syntax from previous programming knowledge, I just need help on what function do what, etc, and any little thing java must have... :p I …

Software Development java
Member Avatar for bharatchhajer
0
827
Member Avatar for sugarboy rider

i have to comunicate from vb to control a nec vt480 and I have not much idea how to send the instructions correctly . Acording to the information given by nec, this are the codes to control projector: 001. POWER ON 02H 00H 00H 00H 00H 02H 002. POWER OFF …

Software Development video visual-basic
Member Avatar for sugarboy rider
0
435
Member Avatar for THK

public class Plane { private String FlightNumber; private String Location; private boolean isLanding; private int ScheduledTime; private static int TotalPlanes; public Plane(String FlightNumber, String Location){ this.FlightNumber = FlightNumber; this.Location = Location; Plane.TotalPlanes++; } public String getFlightNumber(){ return this.FlightNumber; } public void setFlightNumber(String f){ this.FlightNumber = f; } public String getLocation(){ …

Software Development java
Member Avatar for THK
0
105
Member Avatar for hariza

Hi Guys, I'm trying to remove all the special characters within a file using the code below but I need to remove also the doble quotes " but what should I use to enclose the characters. I've been looking but can't find. Thanks. while (sep != 0) { sep = …

Software Development c
Member Avatar for hariza
0
549
Member Avatar for peterbyrne

I wanted to be able to interrogate an Excel spreadsheet and programmatically save all the worksheets as text files (.csv). I succesfully managed to do this using the .NET COM interop Excel collection of interfaces but even though this works beautifully I thought it would be nice if I could …

Software Development
Member Avatar for peterbyrne
0
139
Member Avatar for lalalu

im trying to create a structure that contains an array of structures but i keep getting error when compiling the code (corrupt stack). just to make sure, is my struct code correct? [code] typedef struct status *StatusPointer; struct status { int item; }array[MAX_NUM]; typedef struct allStatus *AllStatusPointer; struct allStatus { …

Software Development c++
Member Avatar for lalalu
0
989
Member Avatar for THK

[B]public Plane(String FlightNumber, String Location)[/B] [B]can i use 2 strings ...?[/B]

Software Development java
Member Avatar for THK
0
86
Member Avatar for kathy78

Hello everyone, I have the following code behind for a login page. When I compile, I am getting the following error. It won't allow me to use the operator > in the line below in red. Can someone please tell me why? Expr1 basically returns a number - either 1 …

Software Development
Member Avatar for peterbyrne
0
85
Member Avatar for jordan2005

hello people am new to c++ i dont have much knowledge about it what is the best book for a new comer to C++

Software Development c++
Member Avatar for Ancient Dragon
0
101
Member Avatar for highlanda

Main problem i am having is that with the program it can have a 2 string equation - eg 25 R or 25 S (Reciprocal and Squareroot) or a 3 string equation where the second string will be a number and the third string will be the operator. eg 10 …

Software Development c
Member Avatar for andor
0
103
Member Avatar for amishosh

Hi! I've tried to split it up a program I made for school into 3: header.h: has the functions declarations. func.c: contains the fundctions body. body.c: uses the functoins. Here's my code: [code] /* header.h */ void kelet(char *p); void copy(char *p1,char *p2); void insert(char *p1,char *p2); void reverse(char *p1); …

Software Development c++
Member Avatar for Anonymusius
0
151
Member Avatar for MattEvans

I'm not going to go into much detail here; I've knocked up a lil example application to show where I'm having trouble; I'd like to know why $REF_DREF_A != $REF_DREF_B (and equally why there isn't a "hippo" qualifier to the "hello" in @DREF_B)... But more importantly, can I easily make …

Software Development perl
Member Avatar for KevinADC
0
136
Member Avatar for Utkarsh Kukreti

I am new to c#. i wanted to know how to add or remove options in a combo box or list box during runtime

Software Development
Member Avatar for Inanna
0
105
Member Avatar for boujibabe

this code to convert pounds to barbados dollars given a constant rate the price cannot go over $100 when i first run it and input a number under 100 it tells me that it is invalid and sometimes i get nothing at all. Can neone tell me why? [code]/* This …

Software Development c
Member Avatar for ~s.o.s~
0
80
Member Avatar for zac_haryy

Well I have started writing a code to create this program that i have to have done by tommorow but i am stuck at the moment. Anybody please help!! Here is the problem: Write a prgram that converts numbers to words. For examlpe, 834 should result in "eight three four." …

Software Development c
Member Avatar for ~s.o.s~
0
101
Member Avatar for kings_raghav

Hi,, I'm new to Daniweb and would like to communicate with experts thru my first regards..I need an help. i want to know whether can we get an input in the constructor... Bcoz constructor is used only to initialize.... Pls help me on this.I have just now started to learn …

Software Development java
Member Avatar for kings_raghav
0
82
Member Avatar for amishosh

Hi! I have functions defined in ami.c and want to call them from friedman.c how do I link the 2? Thanks Ami

Software Development c
Member Avatar for ~s.o.s~
0
250

The End.