433 Solved Topics
Remove Filter ![]() | |
![]() | I want to learn ethical hacking anyone's here to help me? Computer Science cybersecurity |
I am trying to understand Boyer Moore algorithm & KMP algorithm (Knuth Morris Pratt)? I tried some places like GeeksForGeeks, TutorialsPoint etc. But I have still some doubts. If you guys have some resources or videos where these algorithms are explained in somewhat simple terms, please share them. First I … Computer Science | |
The purpose of the program is to tell the user that the weekly salary is in on of three ranges, less than 200, between 200 and 800 and greater than 800. I need help knowing the error/s and need to add and use one additional preprocessor directive that might help … Computer Science c++ | |
i have to write to the output Write to the output the sequence of division remainders of these numbers over a small integer but sorted in the non-decreasing order.i wrote a code for remainder but i cant write for them to sort. Here is the code: #include <iostream> using namespace … Computer Science c++ | |
I am interested in technology, however I do not wish to go to university and after stumbling upon the MIT Challenge, I have taken it as a proof of concept. Clearly education is changing, and I would like to take a less traditional route. But before I go too far, … | |
I am making a tic tac toe game, and have completed it. Now I am trying to implement a library to my code and I chose ncurses, because it seems easier to add and will allow me to change the color of the input for the game. However, I can't … Computer Science c++ | |
// c program to add 10 elements entered by the user #include <stdio.h> int main () { int i; float elements[10]; //declaring the array float sum = 0; for (i = 0; i < 10; ++i) { printf ("Enter element %d: ", i + 1); //getting the elements from the … | |
I tried alot to print this arrow with random generated values which are 0101 , every time it should be differnt, please help me out thanks :)  Computer Science assembly | |
hello everyone iam kinda new with pygame. I wanted to create a one mans game which is similar to shoot and killl. i was able to move around my play but the issue is that whenever i press the K_space nothing is coming out and also i would like when … Computer Science | |
Hello eveyone, I want to write a MARIE code to perform the following program excerpt: If (x < y + z) { x = x – y; z=z+1; } else y=y-1; Instactions given: - Use “ORG” instruction to start your program at address 200. - The following labels and directives … Computer Science | |
I am trying to get a program to work that asks for a user input to count by that number and display 10 numbers per line. I can not get it to display 10 numbers per line. If anyone can explain to me what I am doing wrong? public static … Computer Science java | |
//With this method, I input a string and return an array that contains a sorted list of characters as per the frequency. Eg: If i input "apple", the out put should be p,a,l,e, How do I do this? public static ArrayList<Character> characterFreqDist(String statement) { char[] Array = statement.toCharArray(); int length … Computer Science apple daniweb-bug java | |
Hi, how do I sort the string in alphabetical order? find most occuring character("blablabla") remove most occuring("aaa") input: blablabla output: "aaa" Computer Science java | |
Hello all, I was wondering if I could get some questions answered about how cupons work in the work place. I have an idea which involves creating a very flexible cupon service, but would require knowing the rudiments of how cupons work. The main question I have is how is … | |
I am currently studying for an "Associates in Computer Science" with the intention of tranfering to a four year collage to get either a "Bachelors of Computer Science" or a "Bachelor of Applied Computer Science" hopefully this spring. Before I can make a decision on which Bachelors I would like, … Computer Science career | |
i have 2 sperate projects which i am trying to run together as a shared project but i am failing hard……. Basically, first project does infix to postfix notation and the second projects does postfix evaluation. tried to run all that in 1 project but i keep getting all sorts … Computer Science c++ | |
Hello, I am building a calculator in c++ windows application form, i want the calculator to handle multiple operator precedence (for example, 2+4*5/3). but i am not sure how to write the following code on my windows form project. Any suggestions would appreciated . #include <iostream> #include <conio.h> using namespace … Computer Science c++ web-design | |
![]() | Hello. I got one question, when i want to streamplot this, i got eror: "raise ValueError("The columns of 'y' must be equal")", i can't figure it out. :/ Thank you for your time. this is entire code: import matplotlib.pyplot as plt import numpy as np # discretization of domain x_start, … Computer Science python |
Hi Friends, Recently I've experienced an issue in my (following) code. I've designed an array-stack and checked the values pushed in to it. It works well when pushing but when popping it doesn't display the whole popped values. E.g: If I pushed the values "zero to nine" in to the … Computer Science c | |
# Split a dataset based on an attribute and an attribute value def t_split(x, y, z): l, r = list(), list() for row in z: if row[x] < y: l.append(row) else: r.append(row) return l, r # Calculate the Gini index for a split dataset def gini_index(grp, class_values): gini = 0.0 … | |
How to implement bucket sort in C using Linkedlist.. Or any weblinks please share... Computer Science | |
hi guys im new to c++ can i have some assist ? The manager of a football stadium wants you to write a program that calculates the total ticket sales after each game. There are four types of tickets box, sideline, premium, and general admission. After each game, data is … Computer Science c++ | |
Hi, Daniweb. I have this hobby project I'm playing with where I need to generate data for a MonteCarlo simulation. The data needs to fit within a bell-curve around a given mean with a standard-deviation. I'm trying to figure out which random distribution system I need to use and how … Computer Science c++ mathematics | |
I am an aspiring (at the age of 27) programmer using C++. I have future undertakings including getting a refresher course at a premier University in my country. I am just interested to know in advance how it is to become a programmer. What are the regular routines that you … Computer Science | |
I have a Combo box/Dropdown and when a user clicks an option I want the combo box to set the text onto a jTextField. For example: if(carsJComboBox.getSelectedIndex() == 0) { currentCarsJTextField.setText("250 Million"); } if(carsJComboBox.getSelectedIndex() == 1) { currentCarsJTextField.setText("500 Million"); } The problem is that when the program runs, it automatically … Computer Science java | |
![]() | Hi, I need help reading this [.csv file](https://drive.google.com/open?id=0B5UH8MuMzUBaR0FRYmhTWnNxdW8) into an array of vectors i created below: `vector<string> GID; // Vector holding Gift ID vector<string> DName; // Vector holding Donor Name vector<string> Phone; // Vector holding Phone Number vector<string> POC; // Vector holding point of contact vector<string> Item; // Vector holding … Computer Science c++ |
I have a problem with my pseudocode: Declare Integer p1 Declare Integer p2 Declare Integer p3 For p1 = 1 To 3 For p2 = 65 To 66 For p3 = 6 To 8 Display p1, p2, p3 End For End For End For This would display 18 combinations. But, … Computer Science | |
I have this problem which says, "A programmer can use the random feature to emulate the flipping of a coin. For example, if the generator produces a number 0 or 1, the value 0 can be assigned heads and the value 1 can be assigned tails. Write a program that … Computer Science | |
Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) … Computer Science | |
![]() | I need an idea for cloud computing graduation project. I was thinking about security and encryption , but most of the ideas are more suitable for a research rather than an application, so I am thinking of making a cloud-based embedded system. What kind of embedded systems can benefit from … Computer Science cloud-computing encryption |
Hello all, Inverting an upper (or lower) triangular matrix is a trivial algorithm, due to the nature of the matrix. I am having an issue getting a part of my upper-triangular matrix inversion function to work, and I would like to get it working soon for a personal project. From … Computer Science algorithm | |
There is a problem of facility location that I solve with genetic algorithms. I can get good results. So I would like to compare my genetic algorithm complexity O(n^2) with the brute force algorithm. But I am not getting an answer. (n = number of individuals in my population, usually … Computer Science | |
Design and implement an application that determines and prints the number of odd, even, and zero digits in an integer value read from the keyboard. (java) using for loop Computer Science java | |
I am writing a code for a user to choose numbers in a progress bar. For some reason the progress bar does not fill up or empty when the int progress is not exact. For example: The progress bar value is 5 at the moment. The user chooses 250 Million … Computer Science java | |
so the program needs to dynamically allocate an array large enough to hold a user=defined number of test scores. once all scores are entered, the array should be passed to a function that sorts them in ascending order. another function should be called that calculates the average score. the program … Computer Science c++ | |
Please see attachment. Any help is appreciated! :D Computer Science python | |
I wrote this code : #include <stdio.h> int main() { int a,b = 10,c,d; a = printf("b is %d\n",b); c = printf("a is %d\n",a); d = printf("c is %d\n",c); printf("d is %d\n",d); // lose a null terminator in the previous strings ?? c and d // are 7, but a … Computer Science c | |
Hi. so we have this tutorial, a program that we have to complete, that we have to do before attending class and I've sort of completed it except for this small error. > Exception in thread "main" java.lang.Error: Unresolved compilation problems: > id cannot be resolved or is not a … Computer Science java | |
Hello all. I apologize in advanced if this has been asked before but I have not been able to find this information via google or searching here. Everything I found is related to how a for loop works. I know how to use a for loop in python and what … Computer Science python | |
Hello, I have 2 **wstring** variables: std:wstring first =L"Jose"; std:wstring second = L"James"; How can I combine these variables: first + second gives an error in Visual Studio. Cheers Computer Science c++ visual-studio | |
This is what I have so far.....any advise? Output does not give only one largest and smallest number from a file and also there are multiple averages of numbers..... thank you in advance. Computer Science java | |
Hi, I'd been working on a MS Word document for 2 hours when Word crashed. When I restarted Word, all of my changes were GONE. Can anyone tell me how to recover my temporary document? I tried to look at my Windows/Temp folder but I'm on my work computer. Computer Science | |
I am writing a python program on Windows using Python 2.7. Basically, it's a program that takes a 5-digit, negative & positive, number from user & spells it out in English using num2word & then speaks it out too. I have used espeak & pyttsx both but i'm getting errors … Computer Science | |
if top=0 write:"stack is empty" else top__ push(stack,N,top,x) if top=N write:"stack is full" else settop:=top+1 set:stack top[x] if top=0 write:"stack is empty" else top__ push(stack,N,top,x) if top=N write:"stack is full" else settop:=top+1 set:stack top[x] Computer Science | |
Hi all. Would it be a good idea to have a polar coordinate class and derive from it spherical and cylindrical coordinate classes? Or should I keep 3 separate classes? Computer Science | |
Will somebody please help me solve this algorithm? it says: 2+2x4+2x4x6+2x4x6x8+...+2x4x6x...x20 Computer Science algorithm | |
Dear DaniWeb community, I am not from computer science background (math guy) but I am interested in machine learning and apache mahout. I have used Mahout CLI and recently looked at development environment and wanted to ask you: while running mahout CLI, we do not have dependencies but in development … Computer Science apache machine-learning | |
hello there everyone i need one project in vb6 for my final year project can any one send me? Computer Science | |
In my mind, using linked list is somehow abstract. Despite reading posts with similar topic, I still cannot understand how to apply it in to real problem. My teacher gives my this exercise. In spite of not being mandatory, I want do is to understand the problem: Addition/subtraction /multiplication.. . … Computer Science linked-list | |
The End.