3,815 Topics
![]() | |
Hello All, I am troubleshooting a problem with a 2k3 server that has been throwing Blue Screens. I am trying to figure out how to translate the datestamp to an actual time. Does anyone know the algorithm for windows DateStamp or how to figure out what time this DateStamp is … | |
Hello, I have just started playing around a bit with Python/Tkinter. What I'd like to happen is to draw a circle and then have the circle change its coordinate. The way I was thinking is to have some integer i to be defined 0 and then be updated every frame … | |
Guys, How to check for java installation in windows, i want some code/pseudo code/algorithm.. Help me out..... | |
Hi friends, I am trying to develop the smiley installer which will install the smiley/emoticons on messengers installed on your system. Can anyone help me for below. 1) which language/technology should I use for it? 2) Give outline/algorithm ? Thanks in advance. Regards, mahendra | |
I'm trying to work out what the best structure is for these requirements.. will happily work on it, just wondering on the best direction to go in / if anyone knows from experience or reason what the best type of storage structure is.. - I 'generate' up to 20,000 integers, … | |
Help with sorting hand of playing cards Hi Guys, I have all my code working except sort function . I need to sort the cards in hand......and I am having hard time with that.... Any help would be really helpful ;) [code=c++] #include <algorithm> #include <iostream> #include <string> #include <stdexcept> … | |
Hello, I am working on a program that is using the type DATE to develop a class Event to model events scheduled for dates. This might be a familiar question to some, but, I have run into an error during the compile and I need help in debugging it. Below … | |
I saw few similar problems on this forum, but they didn't match exactly what I need. The problem is: given a file with names of cities, their latitudes and longitudes, a program must calculate distance between them. But, it isn't all. A program must create a database of all this … | |
Hi am so stuck with the following question, I have input my code at the bottom and it gets me the following display Data items in original order 2 6 4 8 10 12 89 68 45 37 Data items in ascending order 2 4 6 8 10 12 37 … | |
Hi masters..., anyone know this method ("Genetic K-means Algorithm / GKA") ?. this method used for clustering data. so, i need some article or tutorial about this or similar with this method... i have been looking for this article from internet but i didn't get the good one. maybe i … | |
I've been trying to solve this problem,but I failed.I stuck in runtime.I checked my codes and algorithm many times,but I can't figure where the problem is.So I need help!These are my code. [[CODE]//-------------------backTrack.h---------------------------------------------------// #ifndef BACKTRACK #define BACKTRACK #include "Application.h" #include "Position.h" class BackTrack { public: BackTrack (const Application& app); void … | |
please: I want algorithm the job of this algorithm is transfer from post fix to tree. and pre fix to tree.......... please help me quicly..... dont forget me.. from: joomy. Thanks so much. | |
I have an assignment in my Advanced C++ class using Visual C++. I have most of it but there is a problem. After each pass it is supposed to display the results. I can get it to display the unsorted list, display the sorted list but not after each pass. … | |
Hello mates. I've made a basic cryptation program and I hoped that I could get some feedback from you guys. I know the cryptation algorithm ain't that secure but that something for a later version ;) And I also wonder what I can do to speed up the cryptation progress. … | |
is there still a point in learning classical data structures and algorithms when the dot net framework and even the java API has collections which can do everything that these classic algorithm does? the reason why i ask is that i do not want to waste my time learning them … | |
Hi, I have been searching in google for an algorithm for sort a dynamic array. I must said that the information in the Internet for sort dynamic array is very limited. However, I found bubble sort for dynamic array, but it don't wanna work. It is inside a class definition … | |
I wrote code to sort an Array using the bubble sort method. The dynamic Instruction is really long about 60k, i need to reduce it to about 20k. Could someone help me optimize the code or give me tips on how to do that? Or if there is a better … | |
I need to write a method which check for every junction in a tree if he is a multiply of his sons. The method signature must be as following: public static boolean isChildrenProduct (Node node) For example: if the father is 10 and the sons are 5,2 returns true. Can … | |
I need help coming up with the running time, T(n) for this algorithm [CODE]1) for i = 0 to length[A] – 1 2) k = i + 1 3) for j = i + 2 to length[A] 4) if A[k] > A[j] 5) k = j 6) if k ≠ … | |
I am want to know the difference of window xp vs. vista.Please discuss of the difference of window xp vs vista . About the difference of register,algorithm,data structure,skeduler and a good or bad of each windown.Thank u for detail. | |
I have the following code which removes duplicates from an array: [code] #include <iostream> #include <algorithm> #include <vector> #include <iterator> using namespace std; char main() { char myarray[10] = {'a', 'b', 'b', 'b', 'b', 'c'}; int myarraylength = 5; string holdprogram; vector< char > myvector(myarray, myarray + (myarraylength + 1)); … | |
[code=c++] #include <iostream> #include <string> #include <algorithm> #include <vector> #include <set> #include <map> using namespace std; class transition // an entry in 'alpha' transition_table { public: transition(string from_state, char input_symbol, string to_state) {from=from_state; input=input_symbol; to=to_state;} static bool smaller(transition a, transition b) { if(a.from<b.from) return true; else if(a.from>b.from) return false; else … | |
Hi! I have this really difficult homework assignment. I don't want answers, just perhaps a point in the right direction...I gave this a lot of thought and still nothing :( I need to find what's called a "sink" in a matrix of all 1s or 0s. A "sink" is when … | |
hi i implementing an algorithm where i broadcast packets in a network and i m doin it only c++. could any one help me in giving the code...... | |
Howdy, I am trying to write a program that reads in a .txt file with questions and multiple choice answers. The program then needs to search the text and convert the questions into a new format and write to a new file. I don't have much so far because I … | |
hi....well this is my first post in this community...i hope people here will help me in my doubts... I am an intermediate level programmer of c++... i have a doubt regarding the permutations of a given string and permutations of first N natural numbers... i have written a program for … | |
i need a program that asks for one number and output like this: 1234 123 12 1 12 123 1234 [COLOR="Red"][B][U]NOTE:[/U][/B][/COLOR]: in the example above the input given is number 4. requirement doing this in using nest FOR loops. i started coding it bu i dont get the algorithm or … | |
![]() | Well, a site that I look after has always ranked EXTREMELY well for the keywords that I target, but as of the past few days it seems that the page's search ranking has taken a severe hit - something that I have never experienced before in my couple years of … |
Hello! I'm hoping to get some help from the community on a tool I'm working on. You see, I am trying to write an algorithm that can help me optimize equipment in an RPG. Given the stats of the character and the monster, I need to qualify the "best" gear … | |
Hello everyone. I am begginer with Hashing algorithm. So I had for project to write a simple Console Phonebook that uses Open Adress Hashing with Linear Probes. I was working with templates. When I compile it I get Unsolved External errors (5 of them) and I have no clue how … | |
Hi, I'm working in a 4x4 sudoku solver and i'm a beginner in c++. I use Microsoft Visual Studio 6.0 and windows xp professional Variables are: a1 b1 c1 d1 a2 b2 c2 d2 a3 b3 c3 d3 a4 b4 c4 d4 First i wrote that program [CODE] //sudoku.cpp: #include<stdlib.h> … | |
hello i am george.i have to do 2 exercises in c/c++ and i dont know a lot of programming.the exercises are: 1) code for depth first search with adjacency list for every graph 2)code for Dijkstra algorithm with weight graph if somebody knows something(code,links,etc...) that could help me please contact … | |
Hi All, I have a new assignment which I have worked most of the way out, except I have one issue. When I sort the large text file it does not print out all the information at that moment, I have to hit enter a couple of times before all … | |
hi all, I am using ORCA to validate the product key in C# 2005 windows application. i am using the following C++ code in a dll to be added to the MSI for validation. [code] UINT __stdcall ValidateSerial(MSIHANDLE hInstall) { TCHAR szPidKey[PIDKEY_LENGTH]; DWORD dwLen = sizeof(szPidKey) / sizeof(szPidKey[0]); ///retrieve the … | |
I am looking to make a small program that will cut down the repetetive need to insert BB tags in to achievements lists on a site I work for. So far I have got the algorithm sucessfully reading the first line of the file, and outputting it using cout. The … | |
[B][/B] Hello everyone, I'm not sure if this is the right place to ask this question. If not, could someone please direct me to the correct forum. Here is my problem: [B]This is a CPU scheduling math calculations:[/B] The following is a set of processes with the length of CPU … | |
Hello folks! I have just joined this forum. This is actually my first Thread on the internet and need help with using STL sort function. I searched the forum but no related answer was found. Okay...here's my code; [CODE] #include<iostream> #include<vector> #include<algorithm> using namespace std; struct MyStruct{ int array[10]; }; … | |
So I need help to do a work for school which consists of doing an algorithm that allows you to draw a pyramid of letters. The algorithm should ask the user to input one letter and then drew the pyramid. Example: If the letter that the user input is 'd' … | |
hello! i read some articles about a 2-3-4 top-down search tree on the web, but when i tried to go deep into the problem i realise that most of the information aren't detailed. On this forum i can't find anything. Does anyone know something about this algorithm???? Thank you! | |
hi friends iam working with c graphics i need to convert color images to grey scale using c graphics. If any algorithm available to help me please post.. waiting for replies. | |
radix sort: an example : Original, unsorted list: 170, 45, 75, 90, 2, 24, 802, 66 Sorting by least significant digit (1s place) gives: 170, 90, 2, 802, 24, 45, 75, 66 Notice that we keep 2 before 802, because 2 occurred before 802 in the original list, and similarly … | |
I have a binary tree program that is trying to retrieve a name. I've already inserted names into the tree correctly and can see this at output. Now I'm trying to check for a name in the tree and calling that input "key". My program wants to take that key … | |
Is there any way to do a permutation program with conditions.. like enter "n" girls and "m" boys can stand in a line but without two girls standind together or something like that... is there any algorithm to do this.. Thanks in advance. | |
I don't know what the proper name is for it lol, but I have an assignment. I am fairly new to delphi. I understand the homework rules so I don't expect it all to be done I just need help in the understanding and feel free to help as much … | |
[B][/B] If the user input a equation something like 2 + 2 * 2 + ( 2 - 2) infix expression. how i collect the data to stack? using string? someone can give the algorithm. I don't have idea to get the input. ![]() | |
Hi people, I am wantng to read a key in as an argument that will duplicate itself to the exact character length as the plaintext , read from a text file. E.g. key = deceptive Then i need it to repeat until the end of the plaintext file length as … | |
Hi guys. Im a student and i have a problem in finding the right procedure to solve my problem. Giving a set of numbers that will find their combination for a given value. For example 1st digit will be the size and the 2nd digit will be the qty.: Size … | |
Hey there, I am writing MIPS assembly for computing the gcd of two given numbers (recursively), but am struggling! I vaguely understand changing the frame point counter, stack pointer etc. but I'm really at sea with how to implement the algorithm recursively (e.g. how to check if each number is … | |
I'm trying to come up with an algorithm that will prdocue random bingo tickets (6 tickets to a strip). Each ticket must show three rows of five numbers from range [1,90] with one, two or three numbers from each sub-ranges [1,9], [10,19].....,[70,79],[80,90] in each colum. Each ticket must show all … |
The End.