199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vineelap84

Hiiiiiii everyone....... iam learning java newly......... so i have doubt in writing this pgm can anyone pls tell me out......... "can we write a java program which calls the command prompt" byeeee vineela.........

Member Avatar for vineelap84
0
89
Member Avatar for ikix

Hi, first post :cheesy: I'm currently a complete noob to c++ programming and am currently reading the book "Beginning C++ Game Programming" written by Michael Dawson. I had the problem where i complied and ran the following source code: [code=c] #include <iostream> int main() { std::cout << "Game Over!"; std::cin.ignore(std::cin.rdbuf()->in_avail() …

Member Avatar for John A
0
128
Member Avatar for hellokitkat

Hello to all programmers: I have been working on the following program but I am encountering some difficulties any help whatsoever would be greatly appreciated. My instructions are: Write a c++ program, 1. Prompts the user for a choice of encrypt or decrypt, prompts for the input and output filenames …

Member Avatar for John A
0
493
Member Avatar for trunks1212

I'm trying to compile my program using library functions I created. I can't figure out how to get it to work. I'm going to attach my files so if someone could help me that would be great

Member Avatar for trunks1212
0
155
Member Avatar for kansmish82

hey guys, i need some real bad help for my c++ project......i'm making an analog clock in C++ graphics.........n my clock works just fine, except for the fact that i haven't as yet added an hour hand, :rolleyes: and yeah..my minute hand runs almost as fast as my second hand.:lol:.....plzzzzzzzzzzzz …

Member Avatar for WaltP
0
152
Member Avatar for Joe689

[code] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] **Point_in_Range;[/COLOR] sub_vol_size_xi =512; sub_vol_size_yi =512; sub_vol_size_zi=512; Point_in_Range=([COLOR=#0000ff]int[/COLOR]**)malloc([COLOR=#0000ff]sizeof[/COLOR]([COLOR=#0000ff]int[/COLOR]*)*(sub_vol_size_xi*sub_vol_size_yi*sub_vol_size_zi)); cout<<"Get Here1"<<endl; [COLOR=#0000ff]for[/COLOR](j=0;j<sub_vol_size_xi*sub_vol_size_yi*sub_vol_size_zi;j++){ cout<<j<<endl; Point_in_Range[j]=([COLOR=#0000ff]int[/COLOR]*)malloc([COLOR=#0000ff]sizeof[/COLOR]([COLOR=#0000ff]int[/COLOR])*3); } [/code] What is the memory problem.... been stuck on this for a little while now. thanks in advance

Member Avatar for Salem
0
275
Member Avatar for moeski301

Hello World, Can someone help me find this error. I'm trying to code for Johnny's Resturant. I need to show the items, allow the customer to select an item and calculate the bill. This is what I've done so far: I need some assistance with the program... I've sedn how …

Member Avatar for moeski301
0
165
Member Avatar for developer4321

Hey, for part of my project, I have to implement a Hash Table template. I had to implement several other classes too, and I finished them. But I really don't know much at all about hash tables and templates, and am not sure how to go about this at all... …

Member Avatar for developer4321
0
122
Member Avatar for mosarie79

I just started my first web design job and am a little confused. The company I am working for uses templates to design the e-commerce website. The developer is able to add more code to the templates to further customize the site. The templates seem to use VB for the …

Member Avatar for MattEvans
0
299
Member Avatar for olams

Hello Everyone, My name is olams and i am new to this website and C++ in general. I am having real difficulty in this class. Can someone please tell me how to find the number of digits in number using Visual C++. Net or C++. I really need help. Any …

Member Avatar for olams
0
145
Member Avatar for MojoS

Hi :-| I am workning on a projekt based on DNA sequences in Perl. I wanna make a program that reverse complements the DNA sequence and writes it into a file [I]fx. revdna.fsa (Which I have done )[/I] but the problem is that I want to keep the first unaltered …

Member Avatar for KevinADC
0
271
Member Avatar for parthiban

Hi folks , I'm new to j2ee programming and using Netbeans 5.5 , i created a session bean program and deployed successfully in JOnAS application server but i'm not able to run the client program which invokes session bean (EJB module ). when i run client program i'm getting the …

Member Avatar for jwenting
0
218
Member Avatar for spacecowboy123

When I try to cast an object of NetworkObject class (a class I have created )that has arrived at a server from a client I get an error - java.lang.ClassNotFoundException... client.NetworkObject I have the class in a Server package, but why does it specify that client.NetworkObject is not found, and …

Member Avatar for jwenting
0
93
Member Avatar for volscolts16

I have left out something here or done something wrong?? Background: We are supposed to implement a class ExpApproximator. It uses the power series and keep adding values until a summand (term) is less than a certain threshold. At each step, you need to compute the new term and add …

Member Avatar for jwenting
0
130
Member Avatar for nathanpacker

Hey, I hope I'm posting this in the right forum. I'm compressing a bunch of files to tar.gz, then uploading them to my webhosts ftp server, and then trying to uncompress them on my server using a php script that enables me to run some shell commands (since we don't …

Member Avatar for nathanpacker
0
123
Member Avatar for jwintersmith

I recently discovered that Python list assignment does not work quite the way I expected it to, as illustrated below: >>> a = [1,2,3] >>> b = a >>> b.append(4) >>> b [1, 2, 3, 4] >>> a [1, 2, 3, 4] >>> I was expecting this to create a …

Member Avatar for vegaseat
0
112
Member Avatar for mengani123

please helpme to write a funtion in java. write a functionto validate ip address from a given string. using string tokenizer. ex:- 192.160.1.5 please send me the code. sanjay

Member Avatar for masijade
0
242
Member Avatar for ob5cured

How can i hide a 2checkout payment gatway page using CURL thnks

Member Avatar for stymiee
0
70
Member Avatar for rpjanaka

Hi all, I want to set an integer variable that is begins with 0 (ex: 01, 055 etc). So I don’t want to use strings here, because I want to use this values as mathematical values.. What is the data type that i have to use here..? So please anyone …

Member Avatar for masijade
0
4K
Member Avatar for Venks

I just want to disable the copy option for a file... Is it possible to make it like tht.....

Member Avatar for kashko
0
102
Member Avatar for bigben09

how do you print an array out in reverse order? lets say the program prints out the sum of a problem and that sum is 51. how do i get it to say 15, beccause thatwould be the reverse order?

Member Avatar for kansmish82
0
94
Member Avatar for rbinc

I have the following lines of code for an assignment. What I don't understand is why, when I uncomment the first few println's before the user prompt in main, the input taken from the function readint seems to capture the first println and not what the user types in. If …

Member Avatar for rbinc
0
182
Member Avatar for sara

Hi.. I've problem here. I have checkbox chkdrugnegative..user can select more than one drug name. my problem is how to insert to database. how the table. i'm using pl/sql. here is my sample coding. Private Function adddrugtest() As Integer Dim oleConn As OleDb.OleDbConnection Dim roleData As OleDb.OleDbDataAdapter Dim oleCmd As …

Member Avatar for sara
0
167
Member Avatar for bosanac515

this the actual assigment: Write a program that will read in a line of text and output the number of words in the line and the number of occurences of each letter. Define a word that will be any string of letters that is delimited at each end by either …

Member Avatar for John A
0
944
Member Avatar for Laughs Galore

I am writing this program that reads in lines from a txt file into an array. Some lines start with a number and some don't. Problem is that I need help on how to display the lines that don't start with a number. Examples of txt file: [CODE]Students 3 Girls …

Member Avatar for John A
0
150
Member Avatar for Bamaman37

Hi, I'm working on a project, but I am lost in this class. I'm taking this distant ed Java class, I work 50 hours a week, and I live 2 hours from the school. Needless to say, I can never get in touch with the teacher. Anyways, I'm trying to …

Member Avatar for Bamaman37
0
110
Member Avatar for DummyChuck

I am very new at this, and I am sure this is a really basic question but if I don't know, then I have been taught to ask .... even if it is dumb. Can a character be added to an interger. I feel confident I would get a syntax …

Member Avatar for John A
0
123
Member Avatar for bops

As you may already know im working on a program that analyses a file given by the user, i want to create a word count feature. How would i go about doing this, i mean how would i distinguish what is exactly is a word and be able to incorporate …

Member Avatar for Narue
0
181
Member Avatar for volscolts16

I keep getting cannot find symbol variable i, when I run?? Also I have another posting that is up, how do I mark it as solved??? Here is the dilemma: /** Program to compute the first integral power to which 2 can be raised that is greater than that multiple …

Member Avatar for peter_budo
0
91
Member Avatar for abhishek8267

Hello, I have developed a small commercial application in VB+ MS-Access. Now, I want to sale it with trial version and registered version. However, I am not getting a [I]perfect [/I]logic to write in VB to design a [B]Product Registration Code![/B] Please guide me in this regard. Thank you very …

Member Avatar for jbennet
0
111
Member Avatar for jan1024188

Hi, I am new to Java. Id like to know if I can use system commands in Java applications. Thanks in advance, Jan

Member Avatar for Infarction
0
263
Member Avatar for hkBattousai

Hello, I am going to study MySQL on my web server. I would like to ask if there is a useful GUI tool for MySQL to create/delete tables and browse entries on my database.

Member Avatar for pty
0
136
Member Avatar for samernic
Member Avatar for Narue
0
110
Member Avatar for bigal_bigal

Dear , I have a assignmnet due on tuesday and i have 3 midterms right back to back on monday and tuesday and i don't have time to finish it. I'll include the assignmnet here and would appreciate if somebody can do it for me please. Assignment Goals: 1. Practice …

Member Avatar for jwenting
0
143
Member Avatar for jan1024188

Which book would you recommend for a Java newbie? Perheps this one? [url]http://www.amazon.com/Java-Programming-Absolute-Beginner/dp/0761535225/sr=8-2/qid=1172349683/ref=pd_bbs_sr_2/002-1477243-8540045?ie=UTF8&s=books[/url]

Member Avatar for jan1024188
0
125
Member Avatar for blakisa

Hi All, Anyone know of an efficient way to read a data text file in comma delimited format and displaying the information to a table. I read some of the previous post, but they did not seem too informative. Basically, Check file existance, display if not availible Load variables from …

Member Avatar for wim2440
0
145
Member Avatar for hellokitkat

Hello to all [URL="http://www.daniweb.com/techtalkforums/post318952.html#"]programmers[/URL]: I have been working on the following [URL="http://www.daniweb.com/techtalkforums/post318952.html#"]program[/URL] but I am encountering some difficulties any help whatsoever would be greatly appreciated. My difficulty is that when I run the program, it does not perform the encryption nor decryption on the file I type in. Is something …

Member Avatar for Salem
0
152
Member Avatar for Morn

I have is a set of HTML checkboxes and a Access database at the back end, when I retrieve the values of the checkboxes to process with Classic ASP I am running into a problem with undefined values. What I have discovered from research is that if a checkbox is …

Member Avatar for madmital
0
239
Member Avatar for soultron

I'm totally new to programming, but have been getting by fine so far. I'm taking a highschool programming class, and am trying to do some of my assignments from home. We've been told to work with <iostream.h> for our input and output, but for some reason, I get an error …

Member Avatar for jwenting
0
149
Member Avatar for varsha_saxena

Hi Pls help me to write first non-repeated char in string . eg. If string is abcda then first non-repeated char is b . I want an efficient algo / program which will traverse the string only n times . I don't want to use hash which set bit if …

Member Avatar for varsha_saxena
0
114
Member Avatar for bobby08

Hello, I heard SELECT COUNT(*) can take a lot of resources if your counting a table with lots and lots of rows (hundred thousands, millions). What if you add A WHERE clause to it? So something like: SELECT COUNT(*) FROM table WHERE pid = ? (pid is a index too …

Member Avatar for Raposo
0
140
Member Avatar for volscolts16

This is a lab project we are working on, and I am at a standstill. I am in a beginner Computer Science course, for background purposes, so please don't get too technical. Any help would be greatly appreciated. Thanks [COLOR=#000000]1. [/COLOR][COLOR=#000000]A variable that counts the iterations of a loop is …

Member Avatar for volscolts16
0
263
Member Avatar for JaksLax

I have this program I have to write about adding binary numbers. Here is the write up: "Defining a binary number as int binNum[8]; write a C++ function void binaryAdd(int* sum, int& cBit, const int* bin1, const int* bin2) to compute sum as the sum of the two binary numbers, …

Member Avatar for JaksLax
0
237
Member Avatar for abhijit11

hi, hav jsut started with learnin c++ programmin, am using the dev c++ compiler(if u knw a better one plz tell me)...i just learnt basic graphics using the library graphics.h. I hav heard its a very old library but i dont knw of any other one's, so plz guide me …

Member Avatar for Colin Mac
0
198
Member Avatar for Monyet

I don't understand this part... can anyone please explain it to me easier? how does this thing work? [code=C#] try { } catch(ArgumentException) { } [/code] thank you :(

Member Avatar for Monyet
0
93
Member Avatar for JRM

Hello all, I had this PHP script running fine on a FC4 linux box (using localhost). However when I transferred it over to a linux box running SME7.1 server, the $_POST function works incorrectly. It writes Resource ID #3 to all fields that get posted in the Insert query (MYSQL). …

Member Avatar for JRM
0
104
Member Avatar for theLord

A warm Hi to all members to of the Dani Web community! I am facing a problem with window events in javascript. In my code I am creating an javascript object using a constructor and i have created all its functions using 'prototype' . Here is a sample code [B] …

Member Avatar for theLord
0
154
Member Avatar for priyankaagrawal

Hello, I am working in asp.net 2.0.i am displaying data from database through gridview,now i want that that one column get added with a link of update,that after clicking on update link database get update. Thanks in advance,please help me as soon as possible.

Member Avatar for kohkohkoh
0
210
Member Avatar for Blujacker

i have problem with this code: [CODE] def __init__(self,parent): data = [(1,2), (2,3), (3,5), (4,6), (5,8), (6,8), (10,10)] self.okno=wx.Frame(None,title="Graf",id=-1) sizer=wx.BoxSizer(wx.HORIZONTAL) ram=wx.Panel(self.okno) client = plot.PlotCanvas(ram) line = plot.PolyLine(data, legend='', colour='pink', width=1) gc = plot.PlotGraphics([line], 'Line Graph', 'X Axis', 'Y Axis') client.Draw(gc, xAxis= (0,15), yAxis= (0,15)) sizer.Add(ram,1,0,wx.ALL) self.okno.SetSizer(sizer) self.okno.Layout() self.okno.Show(True)[/CODE] why plot …

Member Avatar for vegaseat
0
262
Member Avatar for Maidomax

Hi, guys! I have another problem, please help. I have 9 flash games (swf) wich I need burned onto a CD, but I also need to make an intro/mainmenu in flash, wich i would publish as an exe, and would load the games which will be put in seperate folders. …

Member Avatar for Maidomax
0
119

The End.