199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rpainter

Hello. I am new to this forum. I am not a web developer, but I am willing to learn. I am a network tech. So here is what I need to do: I need to be able to list and sort by date some files in a folder on another …

Member Avatar for Lafinboy
0
192
Member Avatar for L. Shelby

I'm spankn' new to java with no previous computer programming experience and I need help with an assignment. The assignment is to write a Java program to direct a cashier how to make change. Input guidelines: 1) Number of dollars due 2) Number of cents due 3) Number of dollars …

Member Avatar for L. Shelby
0
184
Member Avatar for nanosani

What is the difference between jbuilder 7 and jbuilder 9 ... I am using jbuilder 7 .. n I am thinking of buying jbuilder 9.

Member Avatar for nanosani
0
154
Member Avatar for rush88

:?: I got this far....but its not giving me the required output....can you give me some directions....here are my codes....thanks....please refer to my pdf file for the question. //import java.lang.*; import java.math.*; import java.io.*; class MatMulti extends Thread { static int in1[][]; static int in2[][]; static int out[][]; static int …

Member Avatar for cosi
0
149
Member Avatar for lordofthisworld

i have a whole 2 days programming experience under my belt and i wanna do something with lots of pretty colours...... i understand i probably don't know enough yet to get into graphics - but not only do i not know how to do graphics, i'm not entirely sure what …

Member Avatar for servant7
0
159
Member Avatar for Killer_Typo

A newbie to C++ here. I need help with counting array length's, I have an array that i only want the user to be able to enter up to ten characters, but lets say if i enter eleven, the array is expanded out to eleven charactes, and i dont want …

Member Avatar for Stack Overflow
0
355
Member Avatar for dhanashree

Hi I want to know... can we able to create array of files and how ?????????

Member Avatar for kc0arf
0
205
Member Avatar for Sukhbir

char *ptr="abc"; char *ptr1; while(*ptr1++=*ptr++); //IT IS WORKING while((*ptr1)++=(*ptr)++); //ERROR PLS EXPLAIN ME.

Member Avatar for Chainsaw
0
141
Member Avatar for perky_jing

how do i make the number of my textfileds dynamic? the number of my textfield depends on the parameter passed through the method `setDetailsPanel(int s)`. the variable s determines the number of textfield i need. i'm having this type of error. i don't seem to get the reason why. D:\Program …

Member Avatar for perky_jing
0
1K
Member Avatar for scott_6169

I have to alter my hello world program so that it prints my initials to the middle of the screen. It says i can use any of the escape sequences that help me it says. Can anyone help

Member Avatar for XianBin
0
168
Member Avatar for smarkles

Our instructor asked us why its important to be able to replace values in a pointer........Here is what I came up with... By using a pointer, a block of memory is allocated at runtime, therefore a program can be more flexible than one that allocates all its memory at once(read …

Member Avatar for Stack Overflow
0
187
Member Avatar for mmahesh_23

its not possible for me to create a object in window for example Window obj=new Window(Window owner); or Window obj= new Window(); can u please tell me it is possible to create a windowobject or not directly without using frames

Member Avatar for nanosani
0
148
Member Avatar for freesoft_2000

Hi everyone, I have a text area and a button on a frame and there's some text in the text area. What i need is when the user clicks the button whatever the text selected by the user in the text area and not all the text in the text …

Member Avatar for nanosani
0
107
Member Avatar for calvinnhobbes47

I'm taking AP comp sci and I'm new to JAVA. Can someone help me write this program? [B]Assignment:[/B] 1. Write a program that accepts the letter grades for a student, calculates the student's GPA, and prints it out along with one of the following five messages: Eligible Ineligible, taking less …

Member Avatar for server_crash
0
215
Member Avatar for scott_6169

I am a student in a first time c programming class. I amhaving problems getting my initials to print in between Hello and World in my program I am writing. I am not sure if I am declaring the variable the right way. Could you please help??

Member Avatar for Dave Sinkula
0
93
Member Avatar for xxx1203

;) me is doing an assignment using java...but i meet some problem here..it is about hangman games..it is like this: if i click A button it will have to go through all the alphebert, if the 1st alphebert is A it will display 'A'

Member Avatar for nanosani
0
81
Member Avatar for Darakuli

Hello everyone who reads this is Darakuli here. Me and my team have been creating a MMORPG and we are looking for some people who have experience with C++ And MMORPG's our team mostly do graphics and other stuff. We are stuck on the C++ And MMORPG's as we can …

Member Avatar for kc0arf
0
191
Member Avatar for danielrc15

Hi, I am not a C programmer, but have been given some code to get compiled and use. We host our server with 1&1 and I can access the machine via SSH/Telnet, but when I come to run the make file, I get the following error: > make g++ -DGNU_CONSTRUCTOR_BUG …

Member Avatar for kc0arf
0
127
Member Avatar for GeethaAdhi

[COLOR=Plum] [SIZE=4]:?: I want C and C++ technical Model Question and Answers for my campus interview . :sad: IT is very important to me so please if u had means send it to me.[/SIZE][/COLOR] MY E-MAIL Addrs,

Member Avatar for Stack Overflow
0
219
Member Avatar for holmberg

I'm trying to add a commission calculator to my new website, and it works properly for the first two of three form entries, but I wish to add a 3rd level calculation. I'm not familiar with javascript at all really, so I have no clue what to add to the …

Member Avatar for heymichelle
0
172
Member Avatar for ohnbabygal

my input file looks like this: 112;12 130;30 156;56 the first colum refers to keys, and the other one refers to quantity. im writin a program to search for the key and print out the quantity using hash algorithm. i used structure. so it looks like, lets say, input.getline(structure.key, sizeof(structure.key),';'); …

Member Avatar for FireNet
0
148
Member Avatar for mkas82

I am a postgraduate student and I have exams in java language..I have some problems with 3 programs.Can anybody solve them for me?Can I send them to someone who loves Java?

Member Avatar for alc6379
0
157
Member Avatar for kelvin

i would like to add sound in my java calculator when an error occurs(e.g when operation *and / are pressed).please help me with the sound code.

Member Avatar for server_crash
0
117
Member Avatar for bigpoppapumpg

I have taken a few programming courses and really want to master an IDE and vastly improve my programming skills so that I oneday may be able to develop commerical quality software products and work as a programmar. I am also learning *nix right now and noticed KDE comes with …

Member Avatar for 8route
0
294
Member Avatar for littletimmy

If a 2d array is allocated memory in this fashion, how should it be deleted? MyObject **lastJobs, **lastMachines ; lastJobs = new MyObject*[getNbJobs()] ; lastMachines = new MyObject*[getGreatestMachineNb()] ; does this suffice: delete[] lastJobs; delete[] lastMachines;

Member Avatar for littletimmy
0
148
Member Avatar for lara_

why i have to press "enter" twice before getline can read the string... can anybody help me to solve this problem... [code] #include <iostream> #include <string> #include <new> using namespace std; int main() { string *name, hold; int num, i, j; cout << "----------------------------------------------------\n" << "This program creates a dynamic …

Member Avatar for Dave Sinkula
0
323
Member Avatar for johnroach1985

the program works fine but it gives this java uses or overrides a deprecated API error after i compile the code is below it is a program that uses sql the data base is northwind.I hope you could help me its a project so any help would be welcomed. [CODE] …

Member Avatar for johnroach1985
0
26K
Member Avatar for ralaing

How do I reference an application state variable from a .net component class? I know how to do it from a web page, eg. application("myVariable"). But this doesn't work in my business object.

Member Avatar for ralaing
0
96
Member Avatar for danny_froud

Hi, I confess I am stuck. Can anyone see a problem with the following code, to be run under Linux, compiled with g++ ? #include <stdio.h> #include <sys/types.h> #include <sys/times.h> int main () { struct tms tmp; times(&tmp); printf("stime %d \n",tmp.tms_stime); printf("utime %d \n",tmp.tms_utime); return(0); } The code compiles and …

Member Avatar for danny_froud
0
126
Member Avatar for absolvey

Hey, how're you doing today? My name is Robb Moceri and I have been working on a website for somebody and I ran into a very complicated problem(complicated on my end), and seriously cannot find the answer. Like I said, I am working on a site... they wanted me to …

Member Avatar for absolvey
0
360
Member Avatar for TimmyRaa

I've at least *seen* PHP code before, and have modified my own phpBB forum moderately. However, I've been set a project to build a web interface for recording skittles scores (like 10-pin bowling, but with 9 pins!!), and producing a nice ordered table with player names, number of games played, …

Member Avatar for TimmyRaa
0
418
Member Avatar for damionspencer

Dear God, I've been trying to write this program that is suppose to read in a text file manipulate in and give the following out put infact here is the question Implement a program that uses a form-letter template to generate form letters. Your program should read in a form-letter …

Member Avatar for soniprafull
0
167
Member Avatar for Firsttimer

Hello All, This is my first time taking Java, so I might need quite a bit of help form ya all. Anyways, I have this program that has to be in Applet, and it is comparing two floating numbers. I have to have the program decide which one is larger, …

Member Avatar for CodeMasterFlex
0
141
Member Avatar for Transworld

Would I have to go about doing the math manually and make my own function? Is there some built in function I can use to be lazy? Is there some totally easier way that I am oblivious to?

Member Avatar for Transworld
0
675
Member Avatar for ralaing

When I start up my application from within VS .NET the Sesssion_Start fires twice and my counter goes up by 2s. Why? Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the session is started Application("SessCount") += 1 End Sub

Member Avatar for ralaing
0
316
Member Avatar for Slade

Hey all, Just wondering if there was an asp .net control out there, which allowed me to specify a folder full of images, and then change them all to thumbnails (with links to the actual image) and display them somehow, like in a datalist or something. I suppose I could …

Member Avatar for InstantASP Ltd
0
140
Member Avatar for nanosani

how can I change the attributes of a file as read only .. and hidden ....... and turn back to read write .. and visible?

Member Avatar for cosi
0
148
Member Avatar for Art0301

I am new to ASP.Net. I have Visual Studio.Net 2003 Professional running on Windows XP Professional. When I try to create a new Web Application in Visual Studio, I get an error message saying that a connection cannot be established with the server, "localhost" on my computer. However, when I …

Member Avatar for DevDevil
0
150
Member Avatar for samaru

[size=4]Core PHP Programming: Using PHP to Build Dynamic Web Sites[/size] [b]by Leon Atkinson[/b] More of a reference book ... and a mediocre one - Don't expect to learn much from this book. The tutorial is mediocre and so is the reference. This book could've fit in about 100 pages or …

Member Avatar for hoangthaitu
0
164
Member Avatar for Squires

I need a little help connecting to a database in Java. The example in the book I have uses the following: [code] static final String JDBC_DRIVER = "com.ibm.db2j.jdbc.DB2jDriver"; static final String DATABASE_URL = "jdbc:db2j:books"; [/code] It goes on to use it: [code] System.setProperty("db2j.system.home", "C:/mysql"); Class.forName(JDBC_DRIVER); connect = DriverManager.getConnection(DATABASE_URL); [/code] First …

Member Avatar for GeethaAdhi
0
185
Member Avatar for raar

hi all, i'm an intermediate programmer in c++ and vc++ i know little in mfc . this year is my last year in collage and i must decide a graduation project. can anyone help me by suggesting any ideas for a project thx nd sorry for time :lol:

Member Avatar for FireNet
0
111
Member Avatar for Asif_NSU

I can read which key is pressed using getch(). For example i can read whether left arrow is pressed or not. But i want know whether both left arrow and up arrow is pressed at the same time or not-- I want to move an object diagonally across the screen …

Member Avatar for gusano79
0
184
Member Avatar for kohkohkoh

[color=blue]I've just wrote this program and when i compile, there is an error at the red color fonts.[/color] [color=blue]Can i know what's the error?[/color] [color=#0000ff]thank you.[/color] char quest; char words[50]; int count; int z; ofstream file; file.open("WORDS.txt" , ios::app); file.close(); cin.ignore(50,'\n'); cout << "\n\n Please enter the word that need …

Member Avatar for gusano79
0
147
Member Avatar for shouvik

help. this programme shows linking error!!! :cry: :cry: :cry: #include "diction.h" int Dictionary::find_word(char *s) { char word[81]; for (int i = 0; i < nwords; ++i) if (stricmp(words.get_word(word),s) == 0) return i; return -1; } void Dictionary::add_def(char *word, char **def) { if (nwords < Maxwords) { words[nwords].put_word(word); while (*def != …

Member Avatar for Pietro
0
230
Member Avatar for BountyX

I have a list view report style. Im trying to sort by click on a header. For some reason it does nothing. This Peice of code is invoked when the column is clicked. [CODE] if (pnm->hdr.code == LVN_COLUMNCLICK) { //DialogBoxParam(ghInstance, MAKEINTRESOURCE(IDD_SORT), // NULL, (DLGPROC)SortDlgProc, 0); if(nSortDir[pnm->iSubItem]) nSortDir[pnm->iSubItem] = false; else …

Member Avatar for BountyX
0
963
Member Avatar for mikeandike22

i dont have a server and dont want to set one up becuase apache never works for me but i would like to test my php scripts so is there like a way of using an ide for php i also need one for java.

Member Avatar for mikeandike22
0
139
Member Avatar for Mr Gates

I'm really scared and etchy about getting VB. NET, as I've just started out in VB 6 and I've gotten pretty used to it. But I wanted to know from experts that used VB 6 before....is it a big change? Will it be hard to get used to after just …

Member Avatar for dmohanty
0
824
Member Avatar for qadeer

This command working but i do't understand it ??? i am writing funtion in which it using please guid me.. <?php $dbHost="localhost"; $dbLogin="root"; $dbPassword="123"; $dbName="test12"; $query=""; $error=""; $mySqlError=""; $connect = mysql_connect( $dbHost, $dbLogin, $dbPassword ) ; if ( !mysql_select_db( $dbName ) ) { return "<p>Error: Database[ $dbName ] could not …

Member Avatar for PoA
0
153
Member Avatar for alexmejia92

I need to write a C program `(a) declare two integer variables , and y` `(b) lex x = 6` `(c) find y value use the following algebraic fromula: y=2*x*x*x+5 ` and I only have until these part #include <stdio.h> int main () { int x, y; x = 6; …

Member Avatar for Killer_Typo
0
115
Member Avatar for satch

I have Windows 2000, Service Pack 4 currently and I need to update my Microsoft Access 2000 to 2002 for a class that I'm taking. I'll try to ask this in the best way that I can. If I get the 2002 Office upgrade, do I also need to upgrade …

Member Avatar for Mike Feury
0
174

The End.