3,815 Topics

Member Avatar for
Member Avatar for gegestic

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 …

Member Avatar for geoff menner
0
248
Member Avatar for acezrwild817

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 …

Member Avatar for acezrwild817
0
99
Member Avatar for shabosco

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 …

Member Avatar for Numen
0
182
Member Avatar for Cyrus_DB

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?

Member Avatar for DavidB
0
141
Member Avatar for zidane28

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 …

Member Avatar for WolfPack
0
148
Member Avatar for zidane28

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 …

Member Avatar for zidane28
0
121
Member Avatar for thehakan

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 …

Member Avatar for thehakan
0
149
Member Avatar for jbuzz120

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 …

Member Avatar for Rashakil Fol
0
518
Member Avatar for challenger

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 …

Member Avatar for challenger
0
132
Member Avatar for hammerhead

Hi great community you guys have here. I am currently persuing computer science engineering from India. I am here for programming and algorithm discussions.

Member Avatar for hammerhead
0
49
Member Avatar for halloula

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 …

Member Avatar for WolfPack
0
236
Member Avatar for musicmancanora4

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. */ …

Member Avatar for SpS
0
185
Member Avatar for gladiator1919

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(); …

Member Avatar for SpS
0
3K
Member Avatar for achala

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 …

Member Avatar for achala
0
153
Member Avatar for ArgyleSox

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 …

Member Avatar for Dani
0
125
Member Avatar for wanda

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|.

0
93
Member Avatar for riscphree

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 …

Member Avatar for riscphree
0
335
Member Avatar for Excal1502

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 …

Member Avatar for Salem
0
157
Member Avatar for lulug76

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 …

Member Avatar for dubeyprateek
0
417
Member Avatar for newassemblyuser

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 …

0
82
Member Avatar for mcook228

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 …

Member Avatar for iamthwee
0
2K
Member Avatar for sidereal

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 …

0
64
Member Avatar for sidereal

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 …

0
83
Member Avatar for MIGSoft

"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 …

Member Avatar for BeastOverlordH6
0
121
Member Avatar for MIGSoft

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) * …

Member Avatar for BeastOverlordH6
0
397
Member Avatar for manar

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 …

Member Avatar for manar
0
232
Member Avatar for Tigerdude

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 …

Member Avatar for Tigerdude
0
261
Member Avatar for Dani

[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 …

Member Avatar for anupam_smart
0
373
Member Avatar for buggytoast

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 …

Member Avatar for buggytoast
0
147
Member Avatar for jack223

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 …

Member Avatar for Narue
0
210
Member Avatar for yaz123

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 …

Member Avatar for hsayid
0
119
Member Avatar for Tigerdude

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, …

Member Avatar for AstroNox
0
140
Member Avatar for favorlove

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 …

Member Avatar for favorlove
0
183
Member Avatar for francis adepoju

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 …

Member Avatar for francis adepoju
0
94
Member Avatar for francis adepoju

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 …

Member Avatar for Narue
0
86
Member Avatar for mukeshkr.mishra

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

0
33
Member Avatar for musicmancanora4

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?

Member Avatar for Bench
0
89
Member Avatar for iamboredguy

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 …

Member Avatar for iamthwee
0
180
Member Avatar for sam1

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

0
50
Member Avatar for StandardsDT

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 …

Member Avatar for StandardsDT
0
223
Member Avatar for InNeedOfHelp

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 …

Member Avatar for iamthwee
0
117
Member Avatar for avik1612

I wanted a pragram in C showing the working of various CPU scheduling algorithms like SJF, Round robin.priority etc.

Member Avatar for Salem
1
167
Member Avatar for nisaa15

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

1
106
Member Avatar for nemo

for a graph with only few edges which algorithm is more efficient Kruskal's or Prim's?

Member Avatar for Narue
0
76
Member Avatar for krishsakura

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 …

0
59
Member Avatar for btech

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 …

Member Avatar for Salem
0
138
Member Avatar for bwest

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 …

Member Avatar for Troy
0
118
Member Avatar for jack223

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> …

Member Avatar for jack223
0
167
Member Avatar for btech

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 …

Member Avatar for Narue
0
111
Member Avatar for webmasts

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 = …

Member Avatar for Narue
0
66

The End.