3,815 Topics

Member Avatar for
Member Avatar for onauc

Hello everybody, I am very curious to see the source codes that describe an image. I want to actually check the source-codes of gif, jpeg etc. files. Also, I am very curious to see the source codes that describe an sound. I want to actually check the source-codes of mp3 …

Member Avatar for frrossk
0
178
Member Avatar for ITman

can any one give me C program for ROUND ROBIN ALGORITHM . please needed urgently

Member Avatar for ITman
0
115
Member Avatar for kennyk

Hi, does anybody have an algorithm in C that approximates the probnorm functions that one finds in SAS, for example. I'd hate to build the table from scratch. Probnorm function is the P(X <= x) where X ~ N(mu,sigma^2) So, Probnorm(1.96) = 0.9750 and so forth. Moderator edit: No requests …

0
65
Member Avatar for Lord Felix

Well once again I have some trouble getting my lab to work. I am currently having trouble on an algorithm that is supposed to count the neighbors next to a cell in a Two-dimensional array which is supposed to resemble with the algorithm of Conway's Game of Life. For some …

Member Avatar for Lord Felix
0
198
Member Avatar for mr_mooz

Hi I have an array of float and i need to mask the values. I want to be able to get arr[x] and arr[x+1] and then mask them and recombine them results in a radom order (im doing an evolutionary algorithm!) But i cant get the masking to work, it …

Member Avatar for Dave Sinkula
0
212
Member Avatar for PascalRookie

This is due tomorrow, and i am absoltuly lost, can anyone help with some examples or point in the right direction, MANY THANKS for any help Mathematician Stanislav Ulam proposed that any positive integer would reduce to 1 if the following algorithm was repeated a sufficient number of times. If …

Member Avatar for ediehm
0
327
Member Avatar for tdorrian

I am asked to calculate the wait time for the processes below using the round robin sqeduling algorithm. I am given a quantum of 8ms. execution time(ms) Process 1 = 13 priority 6 Process 2 = 20 priority 24 Process 3 = 26 priority 35 Process 4 = 51 priority …

Member Avatar for Chainsaw
0
99
Member Avatar for catch

No security advisory section? [b]MD5 - Not as secure as thought.[/b] There is an interesting paper on altering files without changing the MD5 hash. Even more interesting, a tool that can be used for POC. I'm glad to see that others in the security field feel the same way that …

0
120
Member Avatar for Marivel

Yeah, it's your typical homework help topic, but the problem is this is stuff we NEVER COVERED IN CLASS and it was NOT IN OUR BOOK, even our TA can't figure out why our professor assigned this to our 101 class. I have a good chunk of it done, I …

Member Avatar for britt_boy
0
213
Member Avatar for thatsalok

Hi All, In one of my project, I need signed Key Algo. As crypto always go miles over my head. So if any provide me nice pointer or source code. Let me explain looking for this type of thing. Using user name (any name) I generate the Keythat key I …

0
57
Member Avatar for FireNet

[code] Graphics In Pixel Part II B 'Realization of an Enigma' [/code] Introduction ------------ Life's unfair, writing good tutorials take a lot of time, not typing it, but thinking up the content does. Life's fun too, I had quite a good time learning new stuff. My hobby at present is …

Member Avatar for FireNet
1
252
Member Avatar for fatallah

[b]Round Robin Algorithm Simulation[/b] Hey there can anybody help me look for a copy or program a simulation of a Round Robin Algorithm... The program should accept the following from the user... 1) Quantum Time 2) Burst Time 3) Arrival Time 4) The number of Jobs.. If you can... please …

Member Avatar for alc6379
-1
261
Member Avatar for kitakits

Hey there can anybody help me look for a copy or program a simulation of a Round Robin Algorithm... The program should accept the following from the user... 1) Quantum Time 2) Burst Time 3) Arrival Time 4) The number of Jobs.. If you can... please help everyone else avail …

Member Avatar for alc6379
0
738
Member Avatar for WilliamMcMillan

Hello I was wondering if you guys could help me out; I have set up a camera that produces a colour bitmap image, but I have to convert it to a greyscale image, is there an algorithm that exists in c++ that can do this conversation. Thanks guys for your …

0
73
Member Avatar for harshchandra

In easy to understand language can someone explain the premise behind Big O notation ? :rolleyes:

Member Avatar for Jpowers22
0
138
Member Avatar for harshchandra

Can anyone tell me the complete algorithm analysis of Tower of Hanoi for n pegs and n disks.I really need it :sad:

Member Avatar for harshchandra
0
270
Member Avatar for Dani

Hey everyone. I actually have a homework assignment that is due Tuesday afternoon that I've been struggling all weekend with. The assignment is located at: [url="http://cs.hofstra.edu./~cscsxd/hofstra/teaching/cs155-04/course_info/project/Recursion.cpp"]http://cs.hofstra.edu./~cscsxd/hofstra/teaching/cs155-04/course_info/project/Recursion.cpp[/url] As you can see, the function we have to write is: [code]int *Rectangular_Shortest_Path(int startx, int starty, int endx, int endy, int r[][6], int a[][6]) …

Member Avatar for Chainsaw
0
192
Member Avatar for sam_1

hi every1 could any body help me with this problem please? given a complete weightd graph, find the tour with the minimal possible weight. fiding the brute-force algorithm for this problem Many thanks :confused:

Member Avatar for Chainsaw
0
73
Member Avatar for joey15

I have to add to an exisitng Java program the code for the DSW algorithm to balance a binary tree. I am relatively new to programming so I dont know where to start. Does anyone know where I can find an example of the code? Thanks Joey :-|

Member Avatar for joey15
0
1K
Member Avatar for typedef

Hi, im new to the forums and i hope you wont mind me launching in with a big question! Ii am currently prototyping a multimedia information system which holds wakeboarding images and videos, along with a comprehensive set of meta-data about the multimedia data. Users can query the metadata in …

Member Avatar for fpepito
0
433
Member Avatar for Marauder

Greetings, I have my first assignment for my programming class to do, but first, I will say that I am aware of those people who post entire problems requesting members to do their homework for them. This is not really what my post is about. I'm having a little problem …

Member Avatar for Marauder
0
243
Member Avatar for shantuli

hi, i am new in java, pls anyone help me to find out the error of my code. 1)Q- Write a java program which implements a simple sequential search algorithm for finding the position of a number in an array. My code is : [code] public class linearsearch { public …

Member Avatar for Narue
0
149
Member Avatar for beanstalk

Hi... Does anybody know the CYK algorithm? If o plz help me out.. This is basically testing the accetpance of languages....

0
62
Member Avatar for cuperman

i've referred a couple of datastructure books and both give different definitions for width of a binary tree. one says its the no of nodes at a level,while another says its the longest path that can be traversed in a binary tree. can any one help me with a recursive …

Member Avatar for Chainsaw
0
102
Member Avatar for smarkles

This is our assignment:An STL List Container that adds at least 5 elementes, display i order, and reverse. That part I've got. I'm still doing research on the write to, store ina file and read from a file. Any help would be appreciated. Thanks Smarkles. #include<iostream> using namespace std; #include<list> …

0
130
Member Avatar for Midnight Skulke

I have design two program and both have errors on it. the first is supposed to handle queue on integer, double, string and date. I have done for integer and double. When I compile it there was error on it. If you can just help me debug it and i …

Member Avatar for Narue
0
232
Member Avatar for jaeSun

ok, I have an assignment ... it requires the use of pthreads .. i pretty much understand it, well, sorta .... the assignment is to read input from the command line (input redirection) from a file the file contains a list of numbers, 1 per line, 50 total numbers max …

0
69
Member Avatar for SonicSlayer

I’m having problems with my do-while loops and my while loop. Also my switch statement ends and does not loop to ask for another input. I’m confused. Any suggestion that can help me or send me one the right track I would appreciate it. This is the assignment: The Miskatonic …

Member Avatar for SonicSlayer
0
152
Member Avatar for Jpowers22

Recently we have been asked to create a hybrid sort based upon quicksorting down to a certain point and insertion sorting from then on. We are to calculate the efficency based upon previous tests. I had very little problems implementing a quicksort algorithm, but for the life of me, I …

Member Avatar for subtronic
1
3K
Member Avatar for dontcare

a program that will allow the user to input two fractions and one of the four operations of +, - , *, and / . Once this information has been entered, the program should compute the operation on the two fractions and then output the answer appropriate labeled. Reducing the …

Member Avatar for dontcare
0
158
Member Avatar for hansamurai

I have to write an algorithm that decides if two structs are structurally equivalent. This is more theory that real programming so pseudo-code in something that sort of looks like C would be fine. Basically I have to compare scalers, arrays, pointers, and structs. So if anyone can provide any …

Member Avatar for Narue
0
117
Member Avatar for skamen

Hi, I'm working on a program that will allow the user to input an integer between 1 and 999 and display the numbers as shown by the example of inputing 3 which would result in the output below. 000 001 002 003 I've already written the part of the program …

Member Avatar for skamen
0
103
Member Avatar for vienne

I'm having problem with the complexity of this algorithm. Can you help me? what is the usual theta function of this algorithm? and how can I solve them? [CODE]Algorithm Que (int array A[], int start, int end) begin if (start = = end) then return A[start] else begin int mid …

0
92
Member Avatar for coolmel55

:eek: I have revised my program and am getting a run time heap error. Any ideas on what I need to fix? [code] #include <iostream> #include <assert.h> #include "rectangle.h" using namespace std; CRectangle::CRectangle() { size = 0; pointArray = new CPoint[size]; } CRectangle::CRectangle(CRectangle& R1) { size = R1.getSize(); pointArray = …

Member Avatar for Narue
0
85
Member Avatar for raar

hi, i need help in coding the LZ77 & LZ78 techniques in data compression. if anyone can help me PLZ tell me cause i'm facing some problems thxxxxxxxxxxx

Member Avatar for Chainsaw
0
130
Member Avatar for garg

[QUOTE]The Algorithm A is the correct algorithm to solve problem Y. For each n, A requires N^2 time on all inputs of size n. What can you conclude about the upper bound and lower bound for problem Y [/QUOTE] ..... I think I know how to do this maybe. An …

0
73
Member Avatar for FireNet

[code] Graphics In Pixel Part II A 'Now we are going to get it' By Aaron (a.k.a FireNet) [url]http://xlock.hostcubix.com[/url] [/code] Introduction ------------- The long awaited part 2 is finally almost here.This is mini section elaborates on what Part I said.I broke up up Part II because it was getting too …

0
88
Member Avatar for ohnbabygal

my input file looks like this: 112;12 130;30 156;56 the first colum refers to keys, and the other one refers to quantity. im writin a program to search for the key and print out the quantity using hash algorithm. i used structure. so it looks like, lets say, input.getline(structure.key, sizeof(structure.key),';'); …

Member Avatar for FireNet
0
148
Member Avatar for Brent_Ritterbec

I am trying to write a 128 bit encryption program. Does anyone know of any sites or books that would be of help? The only thing I know of is the 2 fish encryption algorithm, but I don't think that will suffice.

0
110
Member Avatar for Francisco

Hi buddies! I need help with this(don't worry 'bout the bad tittle!) Write a program that inputs the years in the range 1994 to 2004 and uses the for-loop repetition to produce a neatly printed out calendar. NB. Watch out for leap years. Hint: To calculate the start date use …

Member Avatar for frrossk
0
138
Member Avatar for shabna

sir,please correct the errors in this program and also write the algorithm in this program and give me an introduction to this program.Pls send the error free program,algorithm & introduction before 03/09/2004.thank you #include<iostream> #include<iomanip> #include<stdio> #include<cstdlib> #include<cctype> #include<fstream> using namespace std; const int maxchrs=50; const int items=3; const short …

Member Avatar for Dani
0
133
Member Avatar for R0c4

I'm not too great at statistics, so I would like help on a statistical problem. I would like to generate 'sort of random' numbers based on percentages. For example, what's the algorithm to generate 'yes' or 'no' based on the follow percentages: 'yes' for 75% of the time and 'no' …

0
79
Member Avatar for ellisrn

Hi, I have this monster program. But, mostly I need help in Main and in Derivs. I know some is written in a juvenille form, but I'm not a C++ student! I have defined all these arrays in the Main function and I need to write an "if" statement in …

Member Avatar for Dave Sinkula
0
179
Member Avatar for blessedrose82

i need to pass up an operating systems project on the 19th of july. can anyone please help me do this project. i cant manage it by myself :rolleyes: . this is the question: Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice …

Member Avatar for meabed
0
652
Member Avatar for sirflex

Hello Everyone, I am very new to C++ and have a program due this Wednesday. I would appreciate any help on this. I have written the pseudocode for the program but do not know if it is correct or how to write the actual code for it. ------------------------- The program …

0
73
Member Avatar for pollacchi

HI there I am designing a draughts program and require a game tree for the computer moves. I intend to use a negamax game tree and have obtained the following algorithm Algorithm: 1: if (depth ==0) then 2: return evaluate(tree) 3: score = -inf 4: for i<-1 to node.branch.length 5: …

0
71
Member Avatar for biel_andrada

Hi! I would like to ask on the "find" function. I do not know how to use it. Thanks a bunch!

0
79
Member Avatar for vienne

i'm having a problem with below recursive code. there are 4 chars stored in a array, 'a', 'b', 'c', 'd'. input is between 1 and 16, and output should look like this: when input is 1: a b c d when iput is 2: aa ab ac ad ba bb …

0
62
Member Avatar for ellisrn

I'm trying to write a program to do a Runge-Kutta algorithm for a complicated Norberg ODE, but two of my equations involve summations over small intervals (0 to 3) and summations of combinations. Does anyone know how to program these type of math equations? Thanks!

Member Avatar for meabed
0
175
Member Avatar for datk0m

Could someone give me a hint, an algorithm or a source code if you like.... for this program... I need to display and store the highest scorers in my Game.... How is that?

Member Avatar for meabed
0
70

The End.