3,815 Topics
![]() | |
Hi, I built a maze game and it's working pretty well except on touch devices. Before this project, I had never used touch events and so I had to learn about them to implement. But I'm sort of unable to make them work. This is my git repository- (https://github.com/sapinder-pal/Cheesy-Maze-Depth-First-Search-Algorithm), and … | |
As usual i searched google to convert Decimal numbers to their Binary equivalents but i couldnt find any short algorithm for that matter. So here is mine.. | |
Help, how can I create a MULTILEVEL QUEUE ALGORITHM program? I tried it but it crashes, does not build... It would be okay if its in other language. HERE IS THE SNIPPET CODE SAMPLE (c++): --------------------------------------------- //Enter Number of Process cout<<"\nEnter the number of Processes:"; cin>>n; //INPUT Arrival, Burst, and … | |
As many of you know, DaniWeb was hit by a Google algorithm update back in November 2012 and we lost about 50% of our search traffic. In investigating the issue, I discovered that DaniWeb, in addition to most other programming forums out there, all lost their google traffic to [StackOverflow](http://www.stackoverflow.com). … | |
Hello Everyone, As we know google has release thousand of updates within year. Last week, I heared from one of my friend that google has release the new update.Google just made an announcement that they are releasing a new algorithm update ( page expereinces).But unlike past algorithm updates this time … | |
Hi all pls help me with the soln to this probelm, the catch is the interface (menu) needs to be Built in C++ as well. any suggestions would be of great help as well. thanks It is a system written using a structured programming language (e.g. C, Turbo C) that … | |
Hello! I need urgently to convert this code in C. Please help meee https://www.geeksforgeeks.org/prims-algorithm-using-priority_queue-stl/amp/ Thanks!! | |
Algorithm Step1 input 15,10,35 Step 2 add 15+10+35 Step 3 if grade is <60 then fail else pass Flowchart Start Input 15,10,35 Add 15+10+35 Grade is 60 . Pls am confused | |
**Any help appreciated** The school wants to be able to check how students have performed in any course. To do this they will use sampling. They will pick the marks of any 5 students and then get the average grade. Each course must have a mid-semester exam mark, a final … | |
There is a network of tracks (list), tracks are of two types - standard (with one start and one end point) and with a fork ( one start and two end points). These points are called nodes. It is known that each track can only be connected to one other … | |
public class HashedClass{ int ticketNumber; // keyfield string purchaserName; Hashtable hashtable = new Hashtable(); insert(); fetch(); delete(); update(); } I started a pseudocode above, but I know it needs more work. Are there any resources that can help guide me to implementing my … | |
Hi, Can anyone brief me about the latest panda 4.2 update and its impact on websites? | |
Can someone help me with this program? How do you discard values? Below is a code that was used in the first expedition to Mars, which simplified the two-letter terms to make the transmission easier. AA: Glycine TU: Arginine " AT: Cysteine UA: Serine AU: Start UT: Delete TT: … | |
I am trying to write a C++ solution for a problem which is written C, I have learnt C++ very long ago(may be 15 years), and the way C++ is evolved now is kind of taking long to understand and not easy as 'C' to develop a solution. Would request … | |
We lost a lot of Google traffic beginning Tuesday, December 10th. Has anyone else experienced an algorithm update around this date? It seems to be related to [this article](https://www.seroundtable.com/december-11th-google-search-ranking-algorithm-update-28673.html) on Search Engine Roundtable that shows that there's some chatter going on. | |
Google's seemingly always changing indexing algorithm continues to hit site rankings as the search giant continues to drive a new generation of SEO relying upon original and relevant content generation and sharing above all else. Now a panel of SEO experts in the UK has warned that companies need to … | |
Dani Horowitz remains as passionate about our online community today as she was back in February 2002 when, while pursuing a computer science degree on Long Island, NY, she founded DaniWeb. Fast forward to now, and an amazing half a billion visitors later, DaniWeb has become a vibrant community of … | |
An early Xmas present to myself arrived at Chez Moi last month in the shape of a rather thick credit card. It's not actually a credit card though, and while it's a chunky 6mm wide it is pretty smart truth be told. That's because it's a clinically validated cardiac diagnostic … | |
Hello Everyone, I want to know about more binary search in C programming and their various variation and how its work? I am sharing sharing code. Can anyone tell me is it right? Requirements ask for using binary search on an unsorted array, then it needs to be sorted first … | |
Like: if i Can saw what is Happening inside of my code i will understand what type of method i'm actually using ..Like: binary search or stack or Dynamic programming or using special type of algorithm which already developed by someone? Did you guys know ..how i can solve this … | |
In mysql database i created "leave" table: CREATE TABLE `leave` ( `ID_LEAVE` int(11) NOT NULL, `ID_WORKER` int(11) NOT NULL, `BEGIN_DATE` datetime DEFAULT NULL, `END_DATE` datetime DEFAULT NULL ); INSERT INTO `leave` (`ID_LEAVE`, `ID_WORKER`, `BEGIN_DATE`, `END_DATE`) VALUES (1, 26, '2019-03-19 07:00:00', '2019-03-19 15:00:00'), (6, 26, '2019-03-22 07:00:00', '2019-03-25 15:00:00'); "Sickness" table: … | |
How can I write a C++ program that lists all students whose CUMMULATIVE SCORE is K or higher? | |
#include<iostream> using namespace std; int main () { int arr[14], n, i, sum = 0; cout << "Enter the size of the array : "; cin >> n; cout << "\nEnter the elements of the array : "; for (i = 0; i < n; i++) cin >> arr[i]; for … | |
Victor and Francis are looking to buy a house in a new development.After looking at the several of models,the three models they like are colonial,split-entry and single-story. The builder gave them the base price and the finished area in square feet of the three models.They want to know the model(s) … | |
INTERSECT(p1,p2) 1 answer <----() 2 while p1 not equal Nil and p2 not eqaul Nil 3 do if docId(p1) = docId(p2) 4 then ADD (answer, docId(p1)) 5 p1 <--- next(p1) 6 p2 <---- next(p2) 7 else if docId(p1) < docId(p2) 8 then p1<--- next(p1) 9 else p2<--- next(p2) 10 return … | |
Dear All, I need help in implementation my proposed algorithm for MANETs Routing either with NS2 or NS3 simulator or any other paossible simulator. Tq b_b960@yahoo.com | |
Hi everyone, I'd like to ask you all to help me with this two questions and I've been faced recently, 1.What would be the algorithm which takes the pointers of two Binary Search Trees roots, if equal returns true if not FALSE. (both BSTs are the same as well as … | |
I study the Quicksort algorithm like this : // Java program for implementation of QuickSort class QuickSort { /* This function takes last element as pivot, places the pivot element at its correct position in sorted array, and places all smaller (smaller than pivot) to left of pivot and all … | |
my project is sort score of Student using Linked List and sort algorithm can i coding loop for input from user and save value to node in linked list and export or sort value like this ? Thanks for help or discuss or give any idea (any code is idea … | |
Hey folks, I've just started a CS class, and i need help with this material. I accept any feedback and advice to complete this assessment. [Tasks](https://imgur.com/a/jwHrmhR) What I did so far: Task 1 – Problem Decomposition a) b) PROGRAM <ATM_WITHDRAWAL> 1. DISPLAY 'Enter amount to withdraw’; 2. INPUT amount; 3. … | |
Algorithm 1) Choose the time quantum and assign it for each process. 2) Allocate the CPU to the process according to the FCFS scheduling. 3) If (burst time of the process < time quantum).{Allocate the CPU to that process till it terminates.}Else {The process will occupy the CPU till the … | |
Question from codility test Write a function: class Solution { public int solution(int[] A); } that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1, 3, 6, 4, 1, 2], the function … | |
I have a web server app, and a client app that works like a browser. I get the desired response from the server app if I type my IP in the browser window, if I read the response to the client app I get an empty string. The client app … | |
hey guys, Can any body tell me how shall i start with the project. I will be using Java and C together(JNI) in netbeans for coding. I will be embedding the C code in Java(Interface). First i want to read the wav file in C and sample it and apply … | |
As a small business owner, it is difficult to understand where you are on the search engine result pages. SEO is complicated and it is constantly changing. Every company wants to maximize the search engine results. So to keep up the rank in the search engine results, need to contact … | |
Could anyone please review my code https://github.com/LeoUpperThrower4/GeneticAlgorithm | |
Hello guys, How you doing, Well i am here to discuss on white and black hat technique of SEO. Let me tell you one thing there is no particular hard core definitiion of black hat seo. If we want to explain what is black hat SEO, we can say that … | |
Suppose I have a text file : > As a manager, he told FIFA TV he communicates his messages in a measured way. “I’m not one of the lads,” Southgate explained. How do I change the sentence inside the quote (") into indirect sentence? What method/algorithm do I need to … | |
Having 2 integers, by using their decomposition we want to calculate their binary gcd algorithm Please help me to write a c++proram. Unfortunayely, due to sanctions against my country Iran I can' t pay! | |
##vbScript - Sorting With and Without Code Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. Sorting is something that must be done from time to time. I'm going to examine three ways. The first is the well known (at least by name) QuickSort method. Rather … | |
#include<stdio.h> #include<conio.h> typedef struct process{ char pname[20]; int at,bt,wt,ta,end; }processes; int main(){ processes P[10]; processes z[10]; processes et[10]; processes wt1[10]; processes ta1[10]; int a,b,n,x=0,st,y,w; float aveta,avewt,sumta=0,sumwt=0; printf("Process Scheduling Algorithm:\n"); printf("SHORTEST JOB FIRST\n"); printf("--------------------------------------\n"); printf("Enter No. of Process: "); scanf("%d",&n); printf("\n"); for(a=0;a<n;a++){ printf("Enter Process Name P[%d]: ",a+1); scanf("%s",&P[a].pname); } printf("\n"); for(a=0;a<n;a++){ … | |
# my code in asp.net with sql server # my final task is to perform string matching and i know i use algorithm but i can use logic first i split the code in listbox .success 2nd step i match all the listbox items to sqlserver which contain 1 column … | |
Hey guyss, here are a big champs of programming I have seen in this web, I am stucking in this assignment of mine, from where should I start I am totally stucked, is anyone here who can help me for this programme........ Define a function drawCircle. This function should expect … | |
Hey. My question is to read from a csv file and provide a user functionality to sort and output the data by grades, name and student id.. The code is compiling and running. The trouble I am getting now is outputting the file to different files when being sorted out … | |
Hello, I hope not to scare you with this long post. I'm testing [Solr](https://lucene.apache.org/solr/) (read solar) and it works fine. I have an issue with the **DataImport** handler, it's set to get data from a MariaDB database, which works fine if I save the database credentials in plain text in … | |
Google algorithm panda and penguin update just because to improve search results. It will helps the user to find right search. Also it helps to get benifit the person who using seo services | |
We are developing a travel app project to facilitate customized travel experience. Where traveller can plan its trip by selecting various facilities like ATM, Restaurants, attraction points while traveling from an origin to destination. Facilities coordinates across India has been stored in our database as prerequisite. I am looking for … | |
Hello guys, I need a concise explanation of the minimax algorithm... I understand it perfectly when explained with trees but the confusion comes in the code implementation... How do I get to implement depth search using code? I understand that calling minimax follows a recursive pattern but getting the AI … | |
Over the years I've seen a lot of discussion (and several implementations) of the Quicksort algorithm. Most of what I have seen, unfortunately, lacks sufficient commenting as well as meaningful variable names. Hopefully the following vbScript code will more clearly show how Quicksort actually works. A couple of incidental notes: … | |
I have written a formal Deadlock prevention code but I'm having trouble implementing this algorithm. Any help is appreciated. I have represented the algorithm below, **Formal algorithm description** Data structures at a process i: (It is the initial value in the parentheses.) • OUTi: set of integer, the set of … |
The End.