3,815 Topics

Member Avatar for
Member Avatar for ktsangop

Hi everyone. I would like to implement a counter using ajax that will act like this: The script will send a XMLHttpRequest every x seconds which will return a value from a mysql database. Using the current and previous value retrieved from the server, the script will increase the counter, …

Member Avatar for ktsangop
0
268
Member Avatar for MasterHacker110

Every time I want to write an encryption program, say RSA algorithm. I have to re - invent the wheel and design the key generation and all those small things my self. Now latly I heard abou AES algorithm and that it is so secure and a lot more stuff. …

Member Avatar for MasterHacker110
0
234
Member Avatar for MasterHacker110

I wrote a very simple encryption program, well the algorithm is simple but there is one thing I am strugling with. Basicly after the user's key is generated the program will write it to a file. Then when the user want to decrypt the encrypted file, the file with the …

Member Avatar for MasterHacker110
0
202
Member Avatar for no_one16

Hi.. Im new here and im in 10 grade .. We have our T.L.E its cumputer programing. And because im new in programing i dont really have any idea about this thing so if anyone can know how can i understand and answer my assignment i really appreciate it . …

Member Avatar for kvahanyan
0
154
Member Avatar for modaresi

Right now, this program asks the user to enter the input infile and outfile file names. Then it gives an error if it can't open the file. If it can open infile, it reads the first value and consider that as the array size. After that it continues with other …

Member Avatar for Ancient Dragon
0
418
Member Avatar for modaresi

Here is what I want this program to do: Be able to calculate mean, standard deviation, and median. Data should be sorted using insert sort first though. The program must be able to accept input from an input file and print a report to an output file. These files are …

Member Avatar for modaresi
0
533
Member Avatar for Ram J

This program is sorting a randomized array of integers using the bubblesort algorithm. a) Try to understand the structure of the source code. Compile and run the program. b) Simplify the code and correct the program. Also the program logic can be improved! c) Modify the source code, so that …

Member Avatar for MonsieurPointer
-1
162
Member Avatar for kevinyu

Hello, I have some problems when getting the diagonal coordinates of the queen. What certain steps or algorithm could you suggest me as I am just manipulating the button list. It would be just fine for me if you suggest reworking the whole program for a better solution. using System; …

Member Avatar for ddanbe
0
130
Member Avatar for Sunil_6
Member Avatar for Ancient Dragon
0
75
Member Avatar for seacase

I am trying to modify my shell sort algorithm to use Hibbard's increments rather than n/2. I know that Hibbard's increments are 2k - 1, but I can't figure out how to incorporate that into my algorithm. Any suggestions to help me move forward with this? I feel like I …

Member Avatar for Mohamed_22
0
4K
Member Avatar for John Linux

In a past prac. exam for an algorithm course I'm doing is the challenge below, and their are no solutions but it seems like a really interesting one to solve. Can someone please help and point me in the right direction, I would like to try this on my own, …

Member Avatar for Sergio_1
0
513
Member Avatar for Dani

Remember when Panda used to mean a sudden increase/decrease for everyone on a single day once every 6 weeks or so? Back in March, Google said that they would stop announcing Panda updates because they were now part of the main algorithm as a rolling update. New confirmation from Matt …

Member Avatar for fitzgibbon
0
115
Member Avatar for Moderns

Hello, I want to make a conditional SQL. I have one table "users" and it has two columns (id, status) I need to search for users IDs based on their status. For example. Every 5 seconds I am querying from the database (by AJAX) as per the below description: Let …

Member Avatar for LastMitch
0
223
Member Avatar for yxBen

Hi, I've been learning about the std::copy function in the <algorithm> header and I'm stuck on this exercise that I gave my self. Let's see the code snippet first: #include <iostream> #include <vector> #include <algorithm> #include <iterator> using namespace std; ostream& operator<<(ostream& os, const int p_val) { os.put( p_val*2); return …

Member Avatar for yxBen
0
506
Member Avatar for rash_13

I have successfully implemented Porter Stemming Algorithm. I wanted to project ideas, as to where I could apply it, a more practical application?

Member Avatar for Lucaci Andrew
0
128
Member Avatar for suncica2222

Can someone coment this code in detail, I can't quite understand algorithm behind this? typedef struct node{ int x; int y; int value; struct node* row; struct node* col; }node; typedef struct matrix{ int height; int width; node** rowList; node** colList; }matrix; void insert(matrix** M, int row_index, int col_index, int …

0
143
Member Avatar for tunisia

Hello, I'm trying to look at elements of an xml file. I have one on hand but i'm trying to write a utility for extracting info about the MessageId and KeyID, Serialnumber along with a host of other information. Basically, when I've got all of my ducks in a row …

0
133
Member Avatar for Chay Hawk

Ok so in my code im trying to beable to let the user enter the name of a list in main then pass the string to word_list function but my program just keeps saying file failed to open. If you spot any other problems please help me with them ive …

Member Avatar for tinstaafl
0
148
Member Avatar for artonweb

Good evening. Unfortunately after last update of google algorithm, my website has drop 10 pages on Google index for 2 specific keywords (from first page to 11th page). What can I do now in order to rise up my ranking?

Member Avatar for artonweb
0
76
Member Avatar for abra_ka_dabra

In the code below, I am trying to convert the target[] strings to a given format in target1[] and then sorting them using bubble sort and store it in target2[] which is a date object array.. However, when the desirable format is "EEE MMM dd kk:mm:ss z yyyy", it is …

Member Avatar for JamesCherrill
0
256
Member Avatar for LaxLoafer

In case you've missed the news, Google finished rolling out Penguin 2.0 yesterday. They're expecting the algorithm change to have a noticeable affect on 2.3% of US English queries. Further info on Google's Webmaster Central Blog: [Another step to reward high-quality sites](http://googlewebmastercentral.blogspot.hk/2012/04/another-step-to-reward-high-quality.html) Do we have any winners and losers here?

Member Avatar for alviataylor
0
316
Member Avatar for str91

hello friends i wanna know is this algorithm for Travelling salesman problem (TSP) correct ? if isn't help me for correct algorithm plz ? tnx int tsp(int **adjMatrix, int numberPoints) { for (int i = 0; i < numberPoints; i++) for (int j = 0; j < numberPoints; j++) for …

Member Avatar for rubberman
0
124
Member Avatar for boiishuvo

How do you create a node with fullName and studentID in the "add" method and then put them into the correct positions which the name_first and name_second should move until the name in the name_first is larger than the new_Name and name_second is smaller than the new_Name? public class NodeDemo{ …

Member Avatar for JamesCherrill
0
278
Member Avatar for superbhimanshu

Hello everyone, I have multiple lists of variables. Every list contains the variables corresponding to a single/unique entity. listVar_Entity1 = [x1, x2, x3, x4] listVar_Entity2 = [x5, x6, x7] listVar_Entity3 = [x8, x9, x10, x11, x12] # and so on Every member in a list has a mapping to each …

Member Avatar for TrustyTony
0
164
Member Avatar for emily.webb.9026

Hi All, I am very new to image processing and my requirement is to detect whehter the given large image consist the given subimage (small image) using Java and FAST algorithm. I have found the java lib (jfeaturelib) which support APIs for FAST algorithms and other descriptors etc. Follwing link …

Member Avatar for JamesCherrill
0
745
Member Avatar for Raghuvamshi

Quick sort is a faster way to sort a given array by recursion The algorithm goes like this: it first takes some index element and seperates all elements lesser than this with larger numbers then places this element in right place and does the same thing with all other

Member Avatar for hhhadvani00
0
903
Member Avatar for siss

Do anyone here knows flex builder? I'm a beginner in this language. I have written a code for cloudstack api request and signature generation using hmac to authenticate the user account. here the command is 'listzones'. The output will be in xml shwing the list of zones available in the …

Member Avatar for siss
0
442
Member Avatar for Om

What is the step count for this in terms of n ? SequentialSearch(a,x,n) { i=n; a [0]=x; while(a [i]!= x) do i = i-1 return i }

Member Avatar for TrustyTony
0
135
Member Avatar for Nero Basanta

I am working on an Assignment Problem, a part of Operation Research but the problem am facing is how to assign the task to the agents and then the anomaly where the algorithm has to repeat it self when it is not able to perform the assignment.

Member Avatar for diafol
0
71
Member Avatar for anisha.silva

hi, where can I download the C# code for the Porter Stemming Algorithm. Appreciate a replly, thanks you

Member Avatar for sally ja
0
98
Member Avatar for siss

Do anyone here knows flex builder? I'm a beginner in this language. I have written a code for HMAC SHA1 signature generation for authenticating account in cloudstack. No error is showing while compiling. But when i run, the browser opens blank. The url is correct, the signature is genetated. I …

0
159
Member Avatar for rhaylee

My professor gave us an assignment that I am not entirely sure how to start correctly. She gave us 2 java classes as well to use. Any assistance would be greatly appreciated... So basically, two things need to be done. I need to create two more classes, ExternalHashing and IndexHashTable...and …

Member Avatar for JamesCherrill
0
1K
Member Avatar for kloon91

Problem 1 : does anyone have any knowledge about genetic algorithm? Problem 2 : what development tools should I use to develop the timetable? For example : tools for back-end code and tools for Interface.

Member Avatar for rubberman
0
165
Member Avatar for Thundermunch

Hi i've been working on a piece of homework we're I've been asked to implement a 2d grid in opengl and extend Dijkstra's algorithm to A star, so far i've been able to get the 2d grid running with Dijkstra's algorithm with not too many problems but my current extenstion …

Member Avatar for mike_2000_17
0
307
Member Avatar for SpottyBlue

Can someone help me with this? This is part of my first assignment. I am quite new to programming. > A company wants to transmit data over the telephone, but they are concerned that their phones are tapped. All of their data are transmitted as four-digit integers. They wanted you …

Member Avatar for Moschops
0
505
Member Avatar for dancks

I'm having trouble with a binary tree algorithm. A test program I wrote calls for the top node to only be altered in another method outside main (A simple guessing/learning game scenario). I wrote a smaller test of that exercise here: #include <stdlib.h> #include <stdio.h> #include <time.h> struct binary { …

Member Avatar for dancks
0
281
Member Avatar for PsychicTide

Hey guys, I'm trying to get an idea of my job possibilities in a programming-related field without a degree. I've been going to my local university for far too long in persuit of a computer science degree, however, I now face the very real possibility of not being able to …

Member Avatar for Bean7
1
273
Member Avatar for kshahnazari

I was writing a data structure but suddenly after a little coding a strange error gives that no operator">>" matches these operends and also no operator"=" matches these operends . its just after if (right==1) in the cin>>a[i] and a[i]= mininfinitive the code : #include <iostream> #include <iomanip> #include <fstream> …

Member Avatar for Moschops
0
262
Member Avatar for Desi Winda
Member Avatar for tinstaafl
-1
136
Member Avatar for Bchandaria

Can any one tell me about fibonacci heap? I have read that it can be implemented using prims algorithm. but i actual i do not know what is fibonacci heap So can any one tell me what is fibonacci heap? how to implement fibonacci heap? what are the applications of …

Member Avatar for ddanbe
0
190
Member Avatar for Griff0527

I am trying to write several different sorting algorithms in order to time the differences between them when reading a file of a half million integers. For testing purposes, I am only using a few hundred integers, but I am getting a stack overflow error. Also, for testing reasons, I …

Member Avatar for mike_2000_17
0
3K
Member Avatar for ztdep

*Dear friends: I need a quick algorithm to find the common faces of polyhedrons meshes for the finite volume computation. Each plolyhedron is recorded with the indexes of its six vertices(hexahedron) or four vertices(tetrahedron). Each polyhedron has only one common face with its neighboring polyhdrons. The common face can be …

Member Avatar for ztdep
0
177
Member Avatar for CHOCHOCHO

I got this assignment from my teacher the other day and i am having a hard time understanding it. I asked him for help and im even more confused. **I AM NOT ASKING FOR YOU TO DO IT. I AM ASKING FOR ADVICE AND HOW TO DO IT** Write a …

Member Avatar for tinstaafl
0
163
Member Avatar for nyashadhubha

can someone post me an algorithm to do image processing,edge detection,filtering, texture analysis in matlab

Member Avatar for rubberman
0
55
Member Avatar for rkmehta
Member Avatar for <M/>
0
114
Member Avatar for csss

Hi, i want to perform the rsa algorithm using cryptoservice provider in c# but i want to issue the public key and private key by the user manually.(i.e.) when entering the key then only perform the rsa algorithm process. It is possible please help me.

Member Avatar for deceptikon
0
56
Member Avatar for modesto916

Hi, My teacher asked us to implement the bigint data type in C, C++ or Java, we must also implement the basic operations (assignment, addition, subtracion, multiplication and division). I'm implementing in C, my ADT is implemented as an array of chars, the first char is used to represent the …

Member Avatar for bguild
0
1K
Member Avatar for theguitarist

hi. I'm working on a project where I must observe form submissions in websites and detect a search engine if a form is used consistently. I don't really want any help with coding this. I just want some ideas for an algorithm. Like, **for example** if I were to come …

Member Avatar for theguitarist
0
440
Member Avatar for benshums

Hi, I'm having trouble getting this linker bug to go away. I have 2 files: Socket.cpp and Socket.h. I know that these files are legitamite because my professor gave them to me during last semester. When I remove socket.cpp, everything compiles just fine. But with Socket.cpp, I get these errors. …

Member Avatar for sakthilolita
0
339
Member Avatar for jhon1987

Hi, Actually I am developing an application in python in which I want a feature by which the application can detect whether any name is male or female name. I did Google search on this, but could not find any algorithm/code by which I can do it. So finally I …

Member Avatar for David1123
0
1K

The End.