3,815 Topics
![]() | |
Hi all Here is a question from my assignment in Algorithms & Complexity Theory. I'm having a problem with part 2. A continuous function f(x) such that f(a) and f(b) have opposite signs must have a zero (a point x such that f(x)=0) in the interval [a,b]. By checking whether … | |
What are Algorithm simulation modeling (documentation )tools | |
can anyone pls help me to complete this questions?? i'm new in programming , n i'm not very sure how to even start to do this programs....so help needed urgently..preferably the program can be done in Java or C ++... thank u No1. Develop a program to simulate a computer … | |
how do you document simulation of algorithms ? | |
how do we document simulation of algorithms (documentation tools)? | |
Hi! I need help! Im a graduating student and Im sick and tired of thingking and surfing the net of what Thesis Title would I propose :mad: , then I got hooked in this cool site(thank GOD! :lol: ) Im quite good in VB6, not exactly good in JAVA, C++ … | |
Could anyone confirm if for every algorithm running on some architecture M, there is an equivalent boolean function, and that the length of this boolean function is proportional to the runtime of the algorithm? Meaning that if A is a polynomial algorithm, then the corresponding boolean function f is also … | |
hi guys i really need your help about my project.... my project goes like this.......CREATE A C PROGRAM THAT WILL ILLUSTRATES CPU SCHEDULING ALGORITHM TECHNIQUES IN GRAPHICS AND PULL DOWN MENU MODE.... IM hoping for your reply soon... thank you in advance....God bless you all.... :cool: | |
Hi i have a programming problem ;) I have a set of number(there is no limit must be dynamic) and i want to find out the unique numbers from the set i.e numbers which are not repeated. Observation: 1) No. of element in set should not be limited 2) Algorithm … | |
[code] #include<algorithm> #include<string> #include<vector> #include<functional> #include<iostream> using namespace std; class WordCompare:binary_function<string,string,bool> { public: bool operator()(const string&a ,const string& b) { if(a.at(0)==b.at(0)) return true; else return false; } }; int main() { vector<string>MainText; vector<string>TempString; vector<string>::iterator i; MainText.push_back("All"); MainText.push_back("art"); MainText.push_back("is"); MainText.push_back("quite"); MainText.push_back("useless"); TempString.push_back("quite"); TempString.push_back("unique"); i=search (MainText.begin(),MainText.end(),TempString.begin(), TempString.end(),WordCompare()); if(i==MainText.end()) cout<<"The substring is not … | |
A Yahoo Weather Report from the official blog: [url="http://www.ysearchblog.com/"]http://www.ysearchblog.com/[/url] Y! is in the midst of upgrading their algorithm. Many are noticing their keywords positions jumping all over the place. The storm will last approximately 2 weeks according to the blog entry. The search engine was offline for a brief period. … | |
hello guys, i would like to ask again about this: i am trying to divide two large-digit numbers (up to say 100 digits) using C. I thought of one approach but trying to code it, it seems so complicated... can anyone help me give an algorithm or a code to … | |
Hello, I started coding a little app for exploring the mandelbrot fractal. Hopefully someone here is familiar with it, and perhaps tried coding it in python. My problem is, as you will see if you try running my code, is that the generated image is NOT the mandelbrot (although it … | |
Hi, By the way, I used JAVA to run this simulator.However, my question is, I have to deliver this part of the assignment by 7th of August, but I am not sure if whatever I tried to explain on the [B]Explanation for the Summary Result File for TWO processes in … | |
hi , Please take a moment to read this i am trying to write hexadecimal.cpp program for my C++ programming class but i dont know how to do it. the Project says as follows You have to design and implement a C++ program that reads numbers from a file,converts them … | |
Hey does anyone know of a way to crop images automatically while still focusing on the subject in the photo? I have a gallery of pictures and I would like to make all the thumbnails square shaped, just thought maybe someone knows if there is such a thing as smart … | |
Hey there I just took over a redhat 8 server recently and I noticed that it sends out drive stats everymorning with status and/error reports. I'm building a clone of this server and I would like to know how you set this up and to enable it to e-mail me … | |
This is My Assignment and i not do this completely please try to solve it. After the completion of this assignment you’ll be able to: Understand and implement the CPU scheduling algorithms and comprehending the power of simulation in evaluating competing algorithms. There are two portions to the assignment: • … | |
Use the CPU trace generator to generate jobs (or process) traces and simulate the following algorithms 1. Shortest remaining time next (aka Shortest Job First with pre-emption, aka SJF, shortest next burst time). 2. Round-Robin with user set-able time quantum (the time quantum should be a userset-able command line parameter. … | |
Okay I use Dev-C++ as my IDE. I have never linked my own files. I am pretty much a noob on C++, but not to programming in general. My issue that I have been almost pulling my hair out with is this. I am using a premade MD5 header file … | |
Hi, I'm fairly new to C++. I've taken a class on it at a university but it really only went through the basic I/O, data structures, classes, and pointers. It wasn't very algorithm oriented. It was all very basic. Here's the problem a friend of mine needed help with his … | |
Plz..................Have some one know how to use the C++ to solve the Map-Cloring problem using Hill-Climbing Algorithm>? mean; I need to develop a program to solve the Map-Cloring problem using Hill-Climbing Algorithm...This regarding the AI method... :cry: | |
Hi All, Can any on guide me in the logic / algorithm to implement 2 stacks using one array and a queue using 2 stacks. I need this very urgently. Thanks in advance. Komala | |
I'm not a c-programmer, rather a guy who inherited a system that previously had an I/Q demodulation in a gate array, need to move it into c-code. I have 1024 sample buffer that was synchronously digitized with x4 clock, so samples are alternately +I, +Q, -I, -Q,....... Need a snippet … | |
Write C functions to perform the following tasks: Given a sorted double array x[i], i=0 to n and a double t, write a function which uses a binary search algorithm to find k such that x[k ¡ 1] < t <= x[k]. Many thanks for your help! | |
hay i need to build a simple program in C# or C++ about robot that need to find the short and optimal way from one point to other on ground that have just 3 obstacle that look like rectangle or 2 rectangles connected . how can i insert in AI … | |
hay i need to build a simple program in C# or C++ about robot that need to find the short and optimal way from one point to other on ground that have just 3 obstacle that look like rectangle or 2 rectangles connected . how can i insert in AI … | |
[size=2]By: Jeff Johnston [b][i]IO Scheduling Improvements [/b][/i]Thanks to a new IO scheduler in Linux Kernel 2.6 it is possible to achieve speed increases on standard desktop style workloads of up to 1000% according to Andrew Morton of Open Source Development Labs (OSDL). The speed increase is thanks to the wait-before-seek … | |
Hi! everyone I'm starting out in programming,I need a pseudocode or flowcharting to use to help me get started on coding(JavaScript and HTML). Often, when I take a look at a coding assignment, it looks daunting, and it's hard to figure out exactly where to start. Especially with all of … | |
i have the following for my operator overload [code]fraction fraction::operator+(const fraction& object)const { fraction temp; temp.a = a*object.b + b*object.a; temp.b = b * object.b; return temp; } fraction fraction::operator-(const fraction& object) const { fraction temp; temp.a = a*object.b - b*object.a; temp.b = b * object.b; return temp; } fraction … | |
I'm trying to write an Ascii STL file ysing a poly_shade command in IDL. basically it outputs vertices and polygons where the first numbe rin polygons is the number of vertices and the following numbers are the vertices that are connected. I havn't been able to find any software or … | |
[I][COLOR=Red]Moderator edit: This response and its replies have been split from the C and C++ Timesaving Tips sticky because they do not add relevant material, and they are long enough to distract from the intended purpose of the thread. Further replies on this topic may be posted in this thread, … | |
Reference reading directly related to this post: http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/ErrorLab2/LZCompressor.html http://www.math.princeton.edu/matalive/Error/ErrorLab2/LZCompressor.html Hi all. I've just started learning the ways of compression. I decided to start with the LZ algorithm. The resource I use is: http://www.math.princeton.edu/matalive/Error/index.html http://www.math.princeton.edu/matalive/Error/index.html I understand the fundamentals of parsing the incoming text. Let's call the container that … | |
Greeting , it will be helpful if any one can provide me with Round Robin algorithm code in c/c++ thanks in-advance | |
can any one provide me with the round robin algorithm code in c/c++ hurry up!!! | |
I've got to implement Prolog in C++ for an assignment. I'm very new to C++, it's a little daunting. Also, I have no idea of where to start. Can someone point me to some basic algorithm and/or some resources online? | |
Hi, I've been experimenting with STL on solaris with the 7.0 sun compiler. I am able to write programs using string, map, vector, list, etc. however, I am trying to use hash_map and can't get the most basic (ie hash_map<string,string> h; ) to compile. It appears that hash_map is not … | |
Thing is I want a small painted ball to travel from point A to Point B combined with a timer so I can see it move. I know the mathematical side of the problem and have come up with this: int abX = pointA.getX() - bointB.getX(); // abX is the … | |
i'm having a trouble getting this right .. Write a program to calculate parking fee for customers who park their vehicles in a parking lot when the following information is given: The time the vehicle entered the lot (in 24-hour format, without a colon, such as 1645) The time the … | |
Can someone explain this sort algorithm to me and how i can make a more efficient version, justifying the changes. for (int p = 0; p<n-1; p++) for (int counter = 0;counter < n-1; counter++) if (a[counter]> a[counter+1]) swap(a, counter, counter+1); Apreciate all help. | |
Hello Everyone. Just a couple of questionsn i wanted to know. can someone explain what is meant by an index array and why its use can improve the efficiency of sorting? Can someone give me a more efficient verson of the sort algorithm below with reasons why its more efficient?? … | |
[code] #include <stdio.h> #include "Boolean.h" #include "combinatorics.h" /* For all the functions below, return TRUE if the calculation is successful, FALSE if overflow occurs Return the calculated value in the pass by reference parameter provided */ Boolean calcFactorial (int n, int* nfact) { *nfact = 1; while(n > 0) { … | |
So, Google has come up with new Payment Methods - [quote]What forms of payment are available to me? [B]Local currency checks[/B]: Google will convert your earnings from US dollars into your local currency if this option is selected. Available to publishers in 43 countries, local currency checks are generally less … | |
I'm trying to write this method that takes some parameters from my text editor, and encrypt the text. I got part of it written, but I'm stuck on the next bit. I got the part where you convert the "key", but I just can't figure out what to do next. … | |
i am in school taking a machine language class and need helpt writing out the asm code for teh addcc instruction. i have a detailed source code complete taht just needs teh blanks to be filled in. .global main main: save %sp, -96, %sp ! %l1, %l2 will be set … | |
This seems like a simple task but the microsoft visual c++ 6.0 compiler is giving me a problem with this. Its complaining about the lines where i try to use a passed array such as "fin[i]=0". Its giving this error for the following code. "error C2109: subscript requires array or … | |
I am using VC++6.0 I am attempting to implement the TEA for a Oracle server. I am plannng to write the algorithm in C++(C), then add it to a shared library. I am new with C++ and I am having some difficlulty, mainly in two basic areas: 1. I want … | |
I need some help with the following problem. We've touched on scanning tree algorithms a little bit, but not to this extent. My textbook has been useless so far. Can somebody help me with the answers to this? Answer the following: template <typename T> int treeFunc(tnode<T> *t) { int n … | |
hi I'm looking for the source code of quicksort algorithm in assembly 8085 thanx | |
I would appreciate any input anyone might have for the following problem: Describe the worst-case time complexity, measured in terms of comparisons, of the following searching algorithm: (x: increasing integer a1, a2, a3.... an) i=1//left end point j=n//right end point while (i<j) t=[ (i+j/3) ] begin if ( x < … |
The End.