3,815 Topics
![]() | |
Hello all, I have successfully installed samba 3.0.22 on my sol 9 e250 machine. I created my share but when i try to get to my share from my windows machine, it prompts me for my username and passwd, i enter it and it just comes back prompting me for … | |
VS 2005 does not include the crc32 checksum in their crypto library and I was wondering if anyone knows where I could find a very fast algorithm. I currently have three different algorithms but none of them are much faster than Md5. I know for a fact that the crc32 … | |
I just wrote a phonematic name search in C# using the Levenshtein Distance Algorithm. It is very tricky and was quite hard to figure out. This is the samething google uses, and many major search engines. it matches by rank to the text you type in, even if it is … | |
hI THERE, i need some advice from the software geeks.If i need to get a fairly impressive hold over Algorithms,is it necessary to master calculus,theory of computation,discrete maths(as i've found them 2 be related 2 Algo analysis 2 some xtent? | |
Help!!!!! I'm sorry to ask for help again but...... This question even difficult than the previous one..... Please write C++ code for the following algorithm: 1) Store first memory location of program into base register 2) Set program counter equal to address of first memory location 3) Load instruction of … | |
Halo....I'm new here...... Can somebody help me with this question? Its a assignment but I REALLY DON HAV ANY IDEA HOW TO DO IT!!!! So....Plz help...... Write C++ code for the following algorithm: 1) Determine job's reqeusted memory size 2) if job_size>size_of_large_partition then reject job print appropriate message Go to … | |
Hello; I have little experience in c++ and I should implement insertion sort algorithm using linked list. I wrote a working code however I should have use friends for having the list elements from a seperate class and use templates for sorting arbitrary data elements. Can anybody help me how … | |
Hey Guys and Gals I am new to this site and new to programming. C++ is the first one I am trying to learn. I ran into a problem on one of my assignements. I believe my problem is in the actual calculations. The Bonus part of the program is … | |
I'm not sure if this is the right place to put this. Here goes: I would like to convert a html page to an image. I've done googling. Most of the findings led me to downloading sharewares. As this project has a tight budget, I reckon I should build something … | |
Hi great community you guys have here. I am currently persuing computer science engineering from India. I am here for programming and algorithm discussions. | |
please i just a hint in how to start doing this home work [B]Notes:[/B] [I]There is no need to make use of arrays. In fact using arrays to store all customers' records is a bad design.[/I] Interstate Motorway Pty Limited requires you to design a program that will produce customer … | |
Hey guys just wondering how i can sort the linked list by categoryName for the drink type list. Iv done the linked list in my code but its not sorted? Could someone help me write an algorithm or sum pseudocode [code] #ifndef GJC_H #define GJC_H /* System-wide header files. */ … | |
HI members; This is a memory game with c++ concole application. This is the code: [CODE]#include<iostream.h> //MEMORY GAME. #include <algorithm> //DESIGNED BY GLADIATOR1919. #include<ctype.h> //GLADIATOR1919@GMAIL.COM. #include<time.h> //ALL RIGHTS RESERVED. #include<windows.h> int e,i,j,q,m,n,x=0,row_1,column_1,row_2,column_2,score=0; char rand_1[16]={'a','g','h','j','k','a','s','d','f','g','s','d','f','h','j','k'}; struct mem_char { char ch[5][5]; }; char re_play; mem_char char_1[2]; void end_game(); void input_first_point(); void input_second_point(); … | |
hello, how do i remove elements which are repeated in a list .I cant seem to do it . in this program i am first putting elements into the list ,then searching for a particular element seeing how many times it occurs in the list(count) .i need to display the … | |
I thought this was an interesting little article. Certainly reminds me of a number of sites that I've come across -STUFFED to the gills with search terms. I hope the message gets out to the needy! Curbing SEOs Who've Gone Wild By Anne Kennedy, Guest Writer May 10, 2006 When … | |
When using the modulus, if a<b, then a%b = a. But why, if a is negative, does -a%b = -a? According to the division algorithm, the remainder r must be >= 0 and <|b|. | |
In case anyone has this book, I'll mention it. I'm trying to complete Exercise 8-2 from Oreilly's Practical C++ Programming. The problem is to total the resistance of n resistors in parallel. The forumla for this is 1/R = 1/R1 + 1/R2+ ... 1/Rn For example, say you have one … | |
I am unsure why I am reciveing a segmentation fault: INPUT: ./a.out Enter the output file name (maximum of 15 characters): output.doc Enter the number of names to sort in lexicographical order: 3 Enter a name: John Smith Enter a name: Mel Gibson Enter a name: Mark Anthony Segmentation fault … | |
Hi, I am working on a project that I had to get 2 number from a user display them in 10base. Then convert them into 2 base and display them in multiple of 8. I did this part. The next part I am suppose to do is add and subtract … | |
Hello Everyone: I am new to assembly and am trying to learn division and multiplication . I have the code below that I wrote to perform unsigned division, I have looked it over in detail but cant figure out what I'm doing wrong. Note that for division the divisor apparently … | |
I'm working on this program that implements the Horspool string matching algorithm. The program reads in a text file and searches for the pattern text provided in main.cpp. The StringMatcher class is supposed to return the index of the first letter of the pattern in the text and count the … ![]() | |
Please people help me with some ideas... everything is necessary now..... here is my code: this thing is supposed to read from a file random numbers and generate the so called Process control block with burst time and the number of the process: import java.util.Scanner; import java.io.*; public class PassProcess … | |
Hey.. I am working on this project, where you have to simulate cpu scheduling for 10 processes. I have to use only 2 algorithms like FCFS and Priority. The basic code would be randomly generating 2 files: "burst_time.txt" and "priority.txt" and then reading the random times. I have to save … | |
"COMPUTER SCIENCE SESAME STREET" Narrator: One of these programs is not like the others, One of these programs has a bug. One of these programs is not like the others, And if you can't tell which one, you're a mug. One of these programs is not like the others, One … | |
Now, Now, Don't laugh! I am still a huge Beatles fan (they rock). It turns out that Beatles write some songs (secretly), about computers as well. Who could have thought? ;) --------------------------------- * Write In C (Let It Be) * Eleanor Rigby * Yesterday * Unix Man (Nowhere man) * … | |
hi i finished writing c# algorithm that is applied on a '24 bit depth' bitmap image that i called from file, and it was success; but when i apply the algorithm on a 32 bit depth image a break while running occur which is : " Value does not fall … | |
I'm working on yet another graph problem. This time, we have to sort it topologically, using a DFS Based algorithm. I've been able to write most of it down, but there is one for loop that confuses me. Our instructor did not make it very clear as to how it … | |
[b]Necessity for Repetition [/b]Loops allow particular segments of code to be executed over and over again. For example, suppose a program wants to keep doubling the value of a number until a boolean condition is met. Or suppose one simply wants code to execute a set number of times. Repetition … | |
Hi everyone! (it's been awhile XD) I've gone and done my homework. And here I am with a program that works...pretty well I think. There appears to be a problem with the saving/loading. Originally it worked without a problem, but when I attempted to make it more graphically friendly (when … | |
Trace the Partition function on the following array: [0] [1] [2] [3] [4] [5] [6] 'F' 'K' 'A' 'R' 'C' 'Y' 'G' Assume that ChoosePivot returns without doing anything (the purpose of the function it to move the pivot to the leftmost position in the subarray, so by doing nothing … | |
hi guys I'm a final year student, in engineering. i've just signed up to this forum. Hope all is good. i'd appreciate any help. I have a piece of matlab code which used to work like last year. but i am having some trouble with it now. Before i f … | |
I'm trying to write a program that uses a DIMACS Graph input, and do several diffent things with it. I've got most of the methods working except one: An all-pairs shortest path that uses Floyd's Algorithm. I've written it a couple times, and it works sometimes, throws and exception sometimes, … | |
I have a homework assignment that l started, but l ran into problems. Could you please look at my code and help me. The topic is as follow: In this exercise, you will study the effect of several parameters used with RR scheduling. To solve the exercise, you will need … | |
I'm not a C++ programmer in the real sense of it, but my project involves gathering some data, store the data in memory with time stamp and later upload to the PC where a C++ algorithm will be used to manipulate it and then produce a graph of the manipulated … | |
Thanks for your earlier comments. Answers to some of your queries are as follows: The way my design is at the moment, my inputs are mVolts data going into the ADC at a regular interval. I hope to store the HEX outputs from the ADC into RAM or a data … | |
hello buddy out there! i want the proof of prim's and kruskal's algorithm in theory and with example so please help me out thanks in advance | |
Hey guys i need to find out how many days there are in a particular month in a particular year. How can i start building an algorithm like that im having some trouble? | |
we have a project in our class to design a sliding numbers game similar to this one: [URL=http://www.eatmygames.com/gameinfo.asp?id=24puzzle]http://www.eatmygames.com/gameinfo.asp?id=24puzzle[/URL] the only difference is that the number of blank spaces is user input (max=n/2 where n: no of elements in a row/column). we have to design an algorithm to make the computer … ![]() | |
hi guys, I am new to networking. I was wondering is there any good tutorials or websites FOR BEGGINERS, where they teach you how to get or list the shortest path using Dijkstra's algorithm. thank you | |
hey guys im having trouble getting a message to appear for anyone using internet explorer. my website is standards compliant so it does not show in IE. i had one of my friends modify his warning script that he used for his site for mine. it uses both php and … | |
Hello, I've been set to complete this project within a week and a half, and have had quite a few problems attempting to implement it. I have problems with the recursive part of it, which really, is the whole project. Any help would be ENORMOUSLY appreciated, and i would like … ![]() | |
I wanted a pragram in C showing the working of various CPU scheduling algorithms like SJF, Round robin.priority etc. | |
Just wondering if there can be a raw ASCII input where the same token (e.g 257 = at) appears numerous times (say 100) in the compressed output? what ever the solution is whats the reasoning behind it? Cheers | |
for a graph with only few edges which algorithm is more efficient Kruskal's or Prim's? | |
hello, good day.. i would like to do a simple simulation ( discrete event simulation ) based on this article ( link below ) using C or C++ . as this is the first time i'm dealing with simulation, i dont know where should i start and what parameters/ algorithm … | |
I want to check to see if a binary tree is perfect. this means that the height of the left and right subtrees of the root are equal and the left and right subtrees of the root are perfectly balanced binary trees. I have written the function but am not … | |
Ok, I am putting my users text onto the screen. I need it to represent what they typed so I use the <pre></pre> tags to preserve the hard returns and other white space. The problem comes when they type a long paragraph (such as the one Im typing now) and … | |
How do i get from 2 character words to 4 character words or 5 character words?? can anyone show me how to do that plz... Q) Consider a language of words, where each word is a string of dots and dashes. The following grammar describes this language: <word> ::= <dot> … | |
Below is my assignment. If I understand this correctly pivot as a median is the middle of the highest, middle, and lowest numbers. In this case 35 (14, 35, 72). Please correct me if I am wrong. I do not understand how to do part b. Could someone please explain … | |
Hi, I am trying my best to understand the big 0 concept to no avail. Can anyone put it in easy to understand form please? Is there any tutorial on this? I really would love to learn this myself! I'm stuck on this problem: Pattern ( size ) i = … |
The End.