3,815 Topics

Member Avatar for
Member Avatar for Sappie

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 …

Member Avatar for AndreRet
1
53
Member Avatar for serkan sendur

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..

Member Avatar for Deendayal_Hindu
1
3K
Member Avatar for janedelsantos

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 …

0
135
Member Avatar for Dani

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). …

Member Avatar for j.khurram
11
5K
Member Avatar for alan ingram

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 …

Member Avatar for deepaksh
0
27
Member Avatar for shawinke

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 …

Member Avatar for rproffitt
-1
3K
Member Avatar for Ana_13

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!!

Member Avatar for rproffitt
0
102
Member Avatar for Edoburun

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

Member Avatar for Dani
1
155
Member Avatar for shem j

**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 …

Member Avatar for Reverend Jim
0
135
Member Avatar for JluckyStrike

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 …

Member Avatar for rproffitt
0
216
Member Avatar for Daron_1

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 …

Member Avatar for Icetutor
0
401
Member Avatar for jamsonbraun

Hi, Can anyone brief me about the latest panda 4.2 update and its impact on websites?

Member Avatar for nikitacod
0
435
Member Avatar for Jorge_16

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: …

Member Avatar for rproffitt
0
179
Member Avatar for ravss

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 …

Member Avatar for wwwalker
0
335
Member Avatar for Dani

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.

0
1K
Member Avatar for happygeek

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 …

Member Avatar for FrensisUilyam
5
6K
Member Avatar for happygeek

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 …

Member Avatar for Marketerector
3
5K
Member Avatar for happygeek

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 …

Member Avatar for clarc
0
6K
Member Avatar for adisharma

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 …

Member Avatar for Vijay_32
0
363
Member Avatar for rahman_5

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 …

Member Avatar for zevgriner
1
970
Member Avatar for prochotap

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: …

Member Avatar for Qzmo
0
416
Member Avatar for Joseph_44
Member Avatar for rproffitt
0
263
Member Avatar for Dee_2_dee

#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 …

Member Avatar for rproffitt
0
1K
Member Avatar for Lee_20

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) …

Member Avatar for Lee_20
0
1K
Member Avatar for sobaan30

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 …

Member Avatar for Dani
0
429
Member Avatar for adambb

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

Member Avatar for Dani
0
430
Member Avatar for miller anderson

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 …

Member Avatar for Tarek_2
0
310
Member Avatar for IntelegoIt

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 …

Member Avatar for rproffitt
0
454
Member Avatar for Kiratiphan

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 …

0
253
Member Avatar for Roland_6

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. …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Ati_1

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 …

Member Avatar for rproffitt
0
323
Member Avatar for John_165

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 …

Member Avatar for JamesCherrill
0
10K
Member Avatar for Addison111

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 …

Member Avatar for rproffitt
0
510
Member Avatar for gonzi.p12

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 …

Member Avatar for iranano
0
2K
Member Avatar for satya_5

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 …

Member Avatar for sfts
0
372
Member Avatar for Leonardo_6

Could anyone please review my code https://github.com/LeoUpperThrower4/GeneticAlgorithm

Member Avatar for rproffitt
0
249
Member Avatar for backendcode

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 …

Member Avatar for sfts
0
299
Member Avatar for Syafiqur

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 …

Member Avatar for rproffitt
0
598
Member Avatar for Melika_2

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!

Member Avatar for rproffitt
0
144
Member Avatar for Reverend Jim

##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 …

1
1K
Member Avatar for allen_1

#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++){ …

Member Avatar for Sahil Singh
0
633
Member Avatar for CH_2

# 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 …

Member Avatar for CH_2
0
322
Member Avatar for usman_14

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 …

Member Avatar for Gribouillis
0
1K
Member Avatar for Aliyah_1

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 …

Member Avatar for Aliyah_1
0
268
Member Avatar for cereal

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 …

Member Avatar for tesseract1919
0
2K
Member Avatar for atitude

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

Member Avatar for sandy_5
0
442
Member Avatar for asit_1

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 …

Member Avatar for Schol-R-LEA
0
367
Member Avatar for Kingsley_3

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 …

Member Avatar for rproffitt
0
311
Member Avatar for Reverend Jim

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: …

Member Avatar for Reverend Jim
1
2K
Member Avatar for Siddharth_13

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 …

Member Avatar for JamesCherrill
0
193

The End.