199,114 Archived Topics
Remove Filter ![]() | |
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......... | |
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() … | |
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 … | |
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 | |
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 … | |
[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 | |
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 … | |
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... … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
I just want to disable the copy option for a file... Is it possible to make it like tht..... | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi, I am new to Java. Id like to know if I can use system commands in Java applications. Thanks in advance, Jan | |
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. | |
How can you make a program ends when the user enters the string "terminate"? | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 :( | |
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). … | |
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] … | |
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. ![]() | |
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 … | |
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. … |
The End.