132,726 Archived Topics
Remove Filter ![]() | |
Hi I have a little exercise that I was assigned. This is what needs to be done: - Read 10 numbers from keyboard. - Sort them by Insertion Sort algorithm - Print the sorted numbers in ascending order This is for MIPS and the program I use to run it … | |
Hi need a little help I cant see whats wrong with this code can someone take a look at this and steer me in the right direction. Specs say: I have to make hands comparable. I only comparing hands of the same length. One hand is bigger than another if … Software Development java | |
Hi I am not a programmer however, I have been using multimedia software called Opus Por v5 (free trial download from [url]www.digitalworkshop.com)[/url]. Opus pro uses whats know as scripting - my understanding is that it is similar to C++. I need help to write some script to make my home … Software Development email multimedia ![]() | |
hello everyone, i used the method substr() in a c++ program . I now need to convert my program in C. Does anyone know if there exists an equivalent of the method substr() in C??? Software Development c++ | |
I saw this was in a earlier post, but I need some addition help with it. I need help please to write this [URL="http://www.daniweb.com/techtalkforums/thread39939.html#"]program[/URL]. Numerologists claim to be able to determine a person's character traits based on the "numeric value" of a name. The value of a name is determined … Software Development first-post python | |
iv written a code that insert a node befor a node containing a certain value(for example insert a node having value 3,befor the node containing value5),i checked the code many times,i couldnt find any mistake, but the compiler errors this part. can any one help. here is the code : … Software Development c++ | |
Hi, I am reading textfiles in a structure like this: [CODE] ifstream TextFile; TextFile.open("quote.txt"); while (!TextFile.eof()) { TextFile >> Quote[RecordNumber].RefNumber; TextFile >> Quote[RecordNumber].Surname; TextFile >> Quote[RecordNumber].Initials; TextFile >> Quote[RecordNumber].TotalCost; TextFile >> Quote[RecordNumber].DeliveryCost; TextFile >> Quote[RecordNumber].Guarantee; TextFile >> ws; RecordNumber++; } TextFile.close(); [/CODE] However, this needs to be put into a … Software Development c++ | |
[I]You are to run a series of trials. For each trial you will pick a random number between 1 and . Call this number . You will run tests with this number . For each test you will pick a second random number between 1 and ; call this second … Software Development algorithm first-post java | |
Private Sub Command1_Click() Dim RetVal RetVal = Shell("cmd.exe", 1) ' Run Command window. SendKeys "telnet ip{ENTER}" ' For pinging ip SendKeys "login id{ENTER}" ' send login SendKeys "password{ENTER}" ' send password End Sub '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Hi Friends, this is my simple program for pinging to my system and then i want … Software Development visual-basic | |
I would like to make this first function work as the one were i opened it from a file. In this first one i am using arrays the second one uses strings. ignore the masking of the password in the first one i want it to do that and then … Software Development c | |
I'm so sorry for asking but where should I insert or save C++. I'm skilled in html css and javascript but I don't get this. Software Development c++ html-css javascript | |
[code=c] /*factirial*/ #include<stdio.h> #include<conio.h> void main() { int n,s=1,i; clrscr(); printf("enter n "); for(i=1;i<n;i++) { scanf("%d",&n); } for(i=1;i<n;i++) { s=s*i; } printf("factorial is %d",s); getch(); }[/code] Software Development c | |
I'm so sorry for asking but where should I insert or save C++.:rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes: I'm skilled in html [URL="http://www.daniweb.com/techtalkforums/thread71182.html#"]css[/URL] and javascript but I don't get this. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Test</title> <script type="text/javascript"> function test() { alert("NIET KLIKKEN VERDOMME") } </script> <script type="text/javascript"> function startTime() … Software Development c++ html-css javascript | |
[code] #include <iostream> //For console output #include <windows.h> // WinApi header using namespace std; #define EMPTY_CELL 177 #define CURSOR 1 #define TAIL 219 #define NUM 6 class Room { private: public: bool visited(); bool active(); Room(); // Default Constructor Room(bool visited, bool active); // Overloaded Constructor Room(const Room& node); // … | |
The problem I'm having is with overloading the >> operator so that I could read data from a file directly into a class's member data. Everytime I run through the program, it just crashes. when I look through the debugger, it brings me to some page of crazy code. So … | |
Hi . I have this problem and I hope u will help me. I use DISQLite3 Personal_1.3.4 for tables and I have to verify if a code is in database and to show automatically a title from the database that coincide with that code . I was able when i … Software Development pascal | |
I am writing a program to prove if a code is a Palindrome or not and must use stacks. I have written a code below that compiles, but when I run it, it outputs the word in an a stack view, but does not follow the rest of my program … | |
I use C++. .I have a big problem. I need to divide data from the strings and put them into the vector.In this case, let's say i have two strings and each string will end with '\n', how will i read the characters for each string without ignoring the newline? … Software Development c++ | |
Hello everyone. Does anyone know if there is a way to start a child process from within a script, then capture the child's standard output and exit code? From looking at the docs it seems that [code=perl] $status = system("command"); [/code] lets you capture the exit code but not STDOUT. … Software Development perl | |
As part of my programming class, I need to go through the tutorials, and make my own program that shows off whats in the tutorial, I'm done with the class tutorial and have it all done except one part. The volume part doesn't return the right value and I don't … Software Development c++ | |
hello ppl, i need to knw whether v can use opacity in a picture box.. wat i hav to do is i need to load few pics in a picture box n when t pic fades away a new pic loads up.. Any ideas?? :) Software Development vb.net | |
Hi, I have a requirement to insert data from dataset into a table in the database. Actually i have records in the excel sheet that has to be inserted into the database. I have populated them in a dataset. Now this dataset has to be validated against some conditions. After … | |
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() … Software Development c++ first-post ide | |
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 … Software Development c++ encryption | |
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 … Software Development c++ | |
[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 Software Development c++ | |
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 … Software Development c++ | |
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... … Software Development c | |
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 … Software Development c++ | |
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 … Software Development perl | |
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 … Software Development client-server java java-netbeans session | |
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 … Software Development client-server java | |
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 … Software Development java | |
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 … Software Development shell-scripting | |
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 … Software Development python | |
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 Software Development java | |
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 … Software Development java | |
I just want to disable the copy option for a file... Is it possible to make it like tht..... Software Development java | |
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? Software Development c | |
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 … Software Development java user-interface | |
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 … Software Development c++ | |
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 … Software Development c++ | |
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 … Software Development java | |
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 … Software Development c++ | |
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 … Software Development c++ | |
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 … Software Development java | |
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 … Software Development visual-basic |
The End.