2,840 Recommended Topics

Remove Filter
Member Avatar for
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
351
Member Avatar for John_245

Any WRONG WITH THIS CODE? I AM BEGINNER TO THIS .>>> #!/use/bin/env python3 import os import tkinter import webbrowser from tkinter import * from tkinter.filedialog import asksaveasfilename from tkinter.scrolledtext import ScrolledText from PIL import Image, ImageTk from PIL import * window = tkinter.Tk() window.geometry("520x800") window.title("STARLABS BIOSCIENCE SDN BHD") window.resizable(False, False) …

0
324
Member Avatar for bprosic

This code works but I don't know how to dismantle this "sausage" code. async function showAllFilters(qry, arrayParams) { // params is [] let result; try { result = await db.query(qry, arrayParams); } catch (error) { console.log("showAllFilters error: "); console.error(error); } return result; } router.get('/', function (req, res) { // localhost:5000/api/filter …

Member Avatar for maxhowells7
0
299
Member Avatar for Sappie

I'm trying to make a program to calculate sum of n terms of the series (x + (x^3)/3! + (x^5)/5! +...) - #include<stdio.h> #include<math.h> main() { int x,r,n,fct=1; float term,sum=0; printf("Enter the value for x:"); scanf("%d",&x); printf("Enter the number of terms to calculate sum upto:"); scanf("%d",&n); for(r=2(n-1)+1;r%2!=0;r++,n++) /*as r's value …

Programming
Member Avatar for Reverend Jim
0
270
Member Avatar for Sappie

What's wrong in the following program- #include<stdio.h> main() { int n,d=2,r; printf("Enter a number to check its divisibility:"); scanf("%d",&n); for(d<n/2; d++;) { if(n%d!=0) { r=1; continue; } else { printf("%d is not a prime number.",n); break; } } if(r==1) { printf("%d is a prime number.",n); } } I want it …

Programming
Member Avatar for rproffitt
0
269
Member Avatar for misstj555

Hi. I wanted to review the idea of "Link List" but using C++ and not Java. I borrowed a header file from a textbook to test how a link list works (I know that if I don't paste the whole code [its not my code anyway. It was from a …

Programming c++
0
179
Member Avatar for kvar

Hello, I'm a newbie in python. I've written a code for websocket for server and client communication. here im getting some data from server ( "sprintf(buffer,<STX,250,350,254,%d,858,STX>, i) and im saving this to RPI which is my client. now i've to display these readings on a window using tkinter. i've created …

Programming
0
137
Member Avatar for Edy_3

Hi all, I have a new project with vb.net. I need to always connect with older program that run in foxpro, i need to get dbf table and convert it to mysql table. Can anyone help me ?

Member Avatar for DGPickett
0
542
Member Avatar for jeffmylife

# Introduction # This tutorial provides guidance on gathering data through web-scraping. However, to demonstrate the real-life issues with acquiring data, a deep-dive into a specific, complicated example is needed. The problem chosen, acquiring the geographic coordinates of gas stations in a region, turns into an interesting math problem that, …

Member Avatar for OfeliaPoore
2
3K
Member Avatar for daviddoria

Is there a library that has a function that will take (theta,phi) and return (x,y,z)? Thanks, Dave

Member Avatar for Ratan_2
0
6K
Member Avatar for casey.li.146

Hi All, i would need some advice from you guys from this forum to solve the reading of the CSV file that i had. for example, i have a file which consist of about 2000 records (below are the example of the records) 10/10/2013 10:25:09 AM,5.89,45,264.83,PTTTT 10/10/2013 10:25:13 AM,5.89,2000,11780.00, Some …

Member Avatar for ming_1
0
6K
Member Avatar for bckelley

For this particular sub I type the customer id in a text box and then click the button, then I'm trying to get the relative information pertaining to that id. Not sure what I am doing wrong. Comes back with an error message of system.data.sqlclient.sqlexception Recursive common table expression '[customers]' …

Member Avatar for bckelley
0
3K
Member Avatar for g89

import java.util.Scanner; import java.util.Random; class Lottery { // MISSING CODE } public class LotteryDemo { public static void main(String[] args) { int[] userPicks = new int[5]; int matching; // Create a Scanner object for keyboard input. Scanner keyboard = new Scanner(System.in); // Create a Lottery object. Lottery lotto = new …

Member Avatar for Neel_4
0
1K
Member Avatar for Ingmar_1

I'm new to c# and I'm trying to write a movie database that retrieves data from IMDB. For the codecs I found MediaInfo. The included example in winforms works fine, but when I try to use the library in my console application I get the error "Unable to load MediaInfo …

Member Avatar for Ingmar_1
0
643
Member Avatar for moparman426

alright here is my issue i dont know how to even start this problem iam still new to vb so i need lil guidance and help in the right direction. here is the problem : Use a one-dimensional array to solve the following problem: Read in 20 numbers, each of …

Member Avatar for 180180
0
481
Member Avatar for Prahlad4145
Member Avatar for ebenezer_2

Please i have a textbox, a button and a listview. The listview contains a list of items let's say 20 items. When i enter 3 in the textbox and click on the button, the first three items should be removed likewise if i enter 10, then the first 10 items …

Member Avatar for Reverend Jim
0
312
Member Avatar for piotr.linski

I managed to get a certain PHP variable ($length) that contains the length of a message (stored in a MYSQL-database) to get passed to a javascript variable (var = length) in order to let javascript decide whether or not to show a certain marquee on a HTML-page. Initially I have …

0
291
Member Avatar for Himanshu_13

x=int(input("Enter a number to check whether it is a palindrome number or not here : ")) m=x k=0 for j in range (m): digit=m%10 k=k*10+digit m=m//10 if k==x: print("%d is a palindrome nukber"%(x)) else: print("%d is not a palindrome number"%(x)) print()

Programming python
Member Avatar for DGPickett
0
284
Member Avatar for cppcoder

Hi there everybody just needed some help sorting an object array. So the array takes in a title, link, comment, length, and rating of the video. Once the values are put into the array the user inputs whether they want to sort it by title(alphabetically), length of the video (ascending …

Programming c++
0
177

The End.