3,815 Topics

Member Avatar for
Member Avatar for preetisingh

I have a problem . I have to draw a circle at a particular distance say 50 meters from a given lat/log.I refered to Aviation formula's and find a formula to calculate lat/log at a distance and at a bearing which is as follows:- A point {lat,lon} is a distance …

Member Avatar for vb5prgrmr
0
187
Member Avatar for JonEvans

I'm trying to figure out how to use the max_element algorithm on a vector of structs, rather than POD's like int etc. This is my struct: [code=cpp]struct NameComponents { std::string sValue; std::string sDescriptor; int nOrder; int nStatus; // Construtor. NameComponents( std::string inValue, std::string inDescriptor, int inOrder ) : sValue( inValue …

Member Avatar for Banfa
0
142
Member Avatar for aianne

Hi! I need help to my c++ program. I created a program that is much like the "Who wants to be a Millionaire" television show. It has questions and the right answers and three lifelines. How can I possibly do eliminate a lifeline after being used.? this is the program …

Member Avatar for WaltP
0
223
Member Avatar for sam_dev

Hey Peeps....... I want help regarding aol instant messenger mail client. i have got its password storage location. it stores it in registry as like this: Hkey_current_user/software/america online/aol instant messenger/users/login I want to know that how this mail client decode its password from this file. Do you have any knowledge …

Member Avatar for WaltP
-2
95
Member Avatar for Dani

**This forum is meant for discussing programming languages in addition to exchanging code and algorithms.** However, it has become a problem where too many students are posting homework problems expecting a quick solution without ever trying for themselves. Though we are all here to help, please don't expect quick solutions …

Member Avatar for BestJewSinceJC
5
4K
Member Avatar for w0rk4holic

how do i generate all the topological ordering of (directed acyclic graph), i have written a program that can find 1 topological ordering, the problem is once i am finished i am left with a empty linked list as my algorithm involves deleting the traversed nodes which is crucial for …

Member Avatar for ericklesterbran
0
820
Member Avatar for sree_ec

Hi, I have a problem with signal handler algorithm in linux. My code is hanging ( It is continuously looping inside the signal handler) . I am pasting my code here... any help is appreciated [code] #include <stdio.h> #include <stdlib.h> #include <signal.h> struct sigaction oldHandler; void myHandler(int sig, siginfo_t *siginfo, …

Member Avatar for sree_ec
0
316
Member Avatar for leftovas17

Here is the deal. I am writing a program in assembly that compresses and decompresses text based files. The user should be able to input a text file, and declare the name of what that file should be name when turned into a .drl file (just a random extension for …

Member Avatar for leftovas17
0
183
Member Avatar for cwarn23

I thought I would let you's php gurus know that I am starting to come close to cracking the Sha1 algorithm. And surprisingly it is an easy one to crack. So I would recommend switching to something like the whirlpool algorithm.

Member Avatar for cwarn23
0
654
Member Avatar for donaloflanagain

I am a final year university student quickly nearing my project deadline. My project is to write an artificial intelligence program for a robot to find its way through a maze. I have been using a Lego Mindstorms Robot and the NXC (Not eXactly C) programming language to write and …

Member Avatar for Banfa
0
172
Member Avatar for Gnawk

C++ program that will implement the popular numerical procedure called Thomas Algorithm. this is my final project in the lab which i have no idea how to start off... and i am really bad at c++ because this was my first ever programming class i ever took in my life... …

Member Avatar for WaltP
-1
1K
Member Avatar for sam_dev

Hey Peeps....... I want help regarding CORE FTP( File Transfer Protocol) Client. i have got its password storage location. it stores it in registry as like this: [B]Hkey_current_user/software/ftpware/coreftp/sites[/B] I want to know that how this FTP encode its password in this file. Do you have any knowledge of its working...any …

0
67
Member Avatar for neodregan

I want to try to understand the method of using POSIX threads to interact with a sorting algorithm such as the odd-even transposition sort. I have written my program to do a odd-even transposition sort without threads and this is my current result: ./sort data File opened successfully. The numbers …

Member Avatar for Banfa
0
174
Member Avatar for black_berry

Hello, I have been trying to turn this pesudo code into java code but i have been unsuccessfull. I need help doing this and any help would be appriciated 1.Initialise memory_block(0) = 99999 2.Computer initial_memory_waste = memory_block(0) – job_size 3.Inialise subscript = 0 4.Set counter to 1 5.Do while counter …

Member Avatar for black_berry
0
105
Member Avatar for mbrinkley

I have been working on this program for about two weeks. I missed the day that the professor covered the material necessary to code this program due to surgery. I am now behind about 5 programs that are due at the end of the week and I'm trying to teach …

Member Avatar for mbrinkley
1
178
Member Avatar for FlippA

Hi all, I am creating a Genetic Algorithm, and I have two Arrays contain int values, I would like to know a easy way of Split each array into 4 random sections e.g. Array 1 = [1| 4 5 3| 1 4 |6 7 8| 1] Array 2 = [2| …

Member Avatar for Geekitygeek
0
134
Member Avatar for calccrypto

the rc6 paper say this [CODE]Key schedule for RC6-w/r/b Input: User-supplied b byte key preloaded into the c-word array L[0; ..., c - 1] Number r of rounds Output: w-bit round keys S[0; ..., 2r + 3] Procedure: S[0] = Pw for i = 1 to 2r + 3 do …

0
88
Member Avatar for XTRobot

Hello guys, can somebody give me example of some simple DFS problem and solution (Source code). I just need to understand DFS algorithm. Thanks XTRobot

Member Avatar for WaltP
0
110
Member Avatar for calccrypto

can anyone tell me what i did wrong with the decryption part of this code? ive been looking at it for some time now (while working on other related stuff), and i cant seem to find the problem with it. its getting really retarded, on my part [B]and this is …

Member Avatar for calccrypto
0
157
Member Avatar for kostbill

Hello. I am thinking of implementing Tomasulo's algorithm in a CPU that doesn't have one, as a thesis for my M.Sc.. My professor likes it, he said that he wanted one too for a CPU. I would love to do it, the only problem is that I am afraid that …

Member Avatar for kostbill
0
148
Member Avatar for sehar004

Can anyone help me with finding the the time complexity of the following algorithm?? for(i =0;i<n;i++) for(j=o;j<n;j++) for(k = a[i][j] = 0; k<n;k++) a[i][j] += b[i][k] * c[k][j]; please!!!! and explain step by step .....

Member Avatar for sehar004
0
70
Member Avatar for chathuD

in our univercity we a re oraganizing an Algorithm competiton for 1st years,2nd years and 3rd years. so guys plz can any one give me good it based Algorithm to give those student. creating an Algorithm for given prob;um for 1st years are only given 1 hour. so plzzz/...

-1
41
Member Avatar for tarheelfan_08

Can someone please advise me as to why my assignment is not working? I am doing the exact same thing I did on another assignment and for some reason it wont work. Assignment 1. You are a programmer that works for a local bank. You are creating classes to be …

Member Avatar for thomas_naveen
0
204
Member Avatar for dmane

Hi All, I am trying to learn stl to have some knowledge of how things work. I have just covered some basics and I have come to a block. I will explain what I am trying to do. I have a class that performs some basic operations on its member. …

Member Avatar for mattjbond
0
129
Member Avatar for toykwon5

Hello everyone. So, I am trying to come up with an algorithm to do following: I have total 12 cells that I need to fill until program stops. I have 3 rows and each row has 4 columns. As an example, let me illustrate this as in airplane. So you …

Member Avatar for Geekitygeek
0
71
Member Avatar for sam_dev

[QUOTE=ramesh vankayal;1154302]i want to mini project c and dbms[/QUOTE] hiiii.....can you help me in blowfish algorithm...i want to know about the secret keys which are used in encryption of password,...please help me !!!!!

Member Avatar for Adak
-5
99
Member Avatar for aceofspades451

I'm trying to design an algorithm that will output data from an array in random order but not repeat until every peace of the data has been output. The size of the array is small (about 10). it picks a random prime number smaller than the size of the array(lets …

Member Avatar for aceofspades451
0
152
Member Avatar for silvert122

i am trying to write this program and i have no clue how to do it. Could someone help me please. thank you! a) The program implements insertion sort, merge sort, quick sort, and counting sort as subprograms or classes; b) The program reads input from a data file specified …

Member Avatar for Nick Evan
0
103
Member Avatar for Ajantis

Hey there :) I need a little enlightenment over this one... I took a snippet from the Mark Allen Weiss' book - Data structures & Problem solving using Java... but I didn't understand it really. Here's the code: [CODE]1./** 2.* Simple insertion sort 3.*/ 4.public static <AnyType extends Comparable<? super …

Member Avatar for Narue
0
72
Member Avatar for dema_sami

the problems can be solved by divide-and-conquer ides has the following general formula for the running time: T(n)=aT(n/b)+f(n) give an example algorithm for each of the following cases and solve the corresponding recurrence relation by iteration method and by master theorem . a=b a<b a>b

Member Avatar for mrnutty
-2
80
Member Avatar for ticktock

Hey all I am currently practicing my error handling processes and am having trouble filling up a combobox with a list of all the countries so that the user can choose what country they are located in. What I am creating is something like a registration form. I found an …

Member Avatar for Diamonddrake
0
263
Member Avatar for Index

Hi! I would like to split vector elements into the two vectors. One output vector shall contain elements that, for instance, are odd, and another output vector shall contain even elements (actually the case is more complicated;). I wrote something like this: [CODE] typedef vector<int> ItemVec; static bool isOdd(const int …

Member Avatar for Index
0
2K
Member Avatar for ticktock

I am currently creating a registration form and it contains error handling processes for the text boxes, like certain characters are only allowed in a certain textbox and so on. So for my first try I tried creating an algorithm that will check if the user only enters letters from …

Member Avatar for ticktock
0
180
Member Avatar for kip2johnny

I would to get assistance on a problem involving binary search trees.writting a search algorithm and a pseudocode of a 5 node binary search tree

0
34
Member Avatar for beanboy

hi, i'm not good with n/w security or i donno how sha, des works :confused: ,... so pls tell me a [B]simple[/B] algorithm to implement enc and decryption in java.:icon_mrgreen: thanQ, Beanboy:cool:

Member Avatar for jwenting
0
97
Member Avatar for GSPprog

I am trying to get a program that gets a list from a txt files outputs it. then inserts a node into the list and the list grows dynamically. Everytime I insert into the list the list is filled with the same values following the insertion point. For this example …

Member Avatar for GSPprog
0
270
Member Avatar for whoamineo89

I've been given a practical where I have develop a random bubble sort algorithm and I've created one already where the user enters the elements needed to arrange the numbers, I now have to use a random number generator that uses a set of 10 random numbers from 1-10000 and …

Member Avatar for WaltP
0
120
Member Avatar for dolly_olaide

Hello, I have a software-based project of using human recognition algorithm to detect an intruder and be able to differentiate if the intruder is human or non-human. Any ideas on what recognition algorithms I could use?:) Thanks!

Member Avatar for dolly_olaide
0
169
Member Avatar for MyRedz

help i need to search and delete a node from a link list but i am not sure of the algorithm can someone please help me with the algorithm and concept need example thanks..

Member Avatar for lotrsimp12345
0
112
Member Avatar for csfriends

send me the algorithm used in artificial passenger device? algorithm used in brain fingerprinting? its urgent plz send me at the earliest.

Member Avatar for peter_budo
-1
183
Member Avatar for nickewus24

I am doing my homework and am having trouble finding the answer to one question. We are supposed to view the code below: Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0 <= X and X < 49) output …

Member Avatar for nickewus24
0
103
Member Avatar for OnTheRadio

My assignment is: Your goal is to write a program that sorts a list of 4-letter words using different sorting algorithms and report the fastest method. First your program should prompt the user to indicate the number of words to generate. Your program should then generate a list of random …

Member Avatar for OnTheRadio
0
117
Member Avatar for aayushssinghal

i want to implement queue in scheme with out increasing the complexity of the algorithm. Right now for inserting an element at the end of the queue i need to travel through whole queue. that makes insertion O(N) process. pls help me with this.

-1
52
Member Avatar for nhalavanja

Hello all I am currently coding a starter multi threading program in c. It is supposed to find all the prime numbers from 2 to n. I have no previous experience in thread coding so I am looking for some help and maybe some debugging advise It only calculates primes …

Member Avatar for Salem
0
1K
Member Avatar for tarheelfan_08

Can someone please help me get my code running! I am trying to do a sectional sort based on mileage. I have got a lot of code wrote based on the book, but I can not get it to work or figure it out! Please assist! Class [code] #include <iostream> …

Member Avatar for tarheelfan_08
0
114
Member Avatar for Swiftle

Hello there, I'm writing a dictionary that stores keywords and the pages which contain the keyword. This is a follow-up on a PageRank algorithm we're doing for an assignment. The first part is the read from a file containing all the web addresses and store the in a matrix, and …

Member Avatar for mitrmkar
0
144
Member Avatar for programer411

Hi I am supposed to write that implements a simple version of the BucketSort algorithm the only problem is I have no clue what that is. Any tips and examples on this would be awesome Thanks

Member Avatar for programer411
0
151
Member Avatar for rwill357

I was wondering if there were away to repeat the same test multiple times and average the time. The code works fine [CODE] #include <cstdlib> #include <ctime> #include <iostream> using namespace std; void PrintArray(int* array, int n); void QuickSort(int* array, int start, int end); int partition(int* array, int pivot, int …

Member Avatar for niknailer
0
132
Member Avatar for Stack Overflow

Greetings, String parsing isn't always an easy task. Especially in cases where you need to split a single string into a great multitude, but also accounting for maximum performance. The following code presented does this task simply. Using precise allocation techniques perform greatly when writing an algorithm to precision.

Member Avatar for Ancient Dragon
0
2K
Member Avatar for TheWolverine

Hi all, I've spent the last week trying to sort this out, and the more I delve into it, the more confused I'm getting. I've done some background research (searched on google and here for sort function issues) and really I can't make head or tail of what's going on. …

Member Avatar for dusktreader
0
4K

The End.