3,040 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Ridhima_1
Member Avatar for Mr.M

Hi, I'm curious on how and which tools are used to develop an 8 ball pool game. The one I'm referring to is that you play online with strangers, and friends for coins and tournaments. Can anyone point me to the right direction. This will be my first attempt in …

Member Avatar for andrewflintoff
0
882
Member Avatar for guidely

Hi, I try to convert the c code into python it actually complie but no result came out Code in C #include <stdio.h> # include <math.h> double const pi=3.1415926535897932384626433; double const twopi=2.0*pi; double const halfpi=pi/2.0; float cos_32(float x) { int quad; x=fmod(x,twopi); if (x<0) { x=-x; } quad=int(x/halfpi); switch (quad) …

Member Avatar for Sukant_1
0
18K
Member Avatar for BlurrieBlue

Hi, I tried to view crystal report by using crystal report viewer in Visual Studio 2010. However when i tried to declare ReportDocument, it is underlined with blue curly line. I had done the following in the code behind file. [CODE]Imports System.Data Imports System.Data.Odbc Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports CrystalDecisions.Web[/CODE] …

Member Avatar for TAKUDZWA_1
0
1K
Member Avatar for gazoo

Hello everyone, I have a code that use function to find and remove all occurrences of a string within a string (substring pending) and return the number of removals: I need to remove "xyz" in "abdxyzdxyz" the result should be "abdd" and a return of 2 removed. I used the …

Member Avatar for Vishal_36
0
1K
Member Avatar for riotburn

So its fun when you have questions for hw but neither the teacher nor the textbook show you how to do the HW question. Anyway, I have my base class, a derived class, and class with composition of the derived class. I am not sure how to create the constructor …

Member Avatar for Odumenya12
0
641
Member Avatar for questionpond

Hi all, Used Asp.net Menu Control have designed a navigation bar .Using touchscreen Desktop in Internet Explorer(IE11), single tap not appear but double tap submenus appears but in Microsoft Edge/Google Chrome browser not appear submenus by single tap/double tap . Touch is working in Edge/Chrome by single tap in other …

Member Avatar for rproffitt
0
335
Member Avatar for Chua_1

I am trying to create a quiz whereby user will key in their answer in a textfield. If the answer the user keys in matches with the answer in the array, the score will increase. However my $answer only returns the last value the user entered which does not allow …

Member Avatar for fearless359
0
232
Member Avatar for dixit ankit

Hi everybody!! I want to make a vehivle license plate recognition system in java but dont have any idea how to implement it in java.If anyone could give me link to how use java for image processing,it would be of great help Waiting for reply

Member Avatar for daanjanssennn
0
222
Member Avatar for Sridhar_7

Hello, I have a program below where I am selecting a file and displaying the content using a JTextArea. It works fine, but when I add a JScroller, it does not display the area with the scroller. What am I doing wrong? import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; …

Member Avatar for Sridhar_7
0
94
Member Avatar for r4ds

Hello. I noob programing. I need extracting "ALGARROBO" and put in variable in JS. <select> <option value="0560200101">ALGARROBO</option> <option value="0760200601">CALIFORNIA</option> "" "" "" +70 options </select> Someone would be so kind to give me the js code? It is not possible to change the "value", since that information goes to api …

Member Avatar for rproffitt
0
88
Member Avatar for Marcel_5

This is a simple tictactoe game. When I launch my code, the alert to enter 1,2, or 3 for the row only shows up after I press enter. How do I make it show up first each time I put a new entry? <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <title>TikTakToe …

Programming javascript
Member Avatar for rproffitt
0
87
Member Avatar for Phillip_8

Hi guys, im making a chat app in C# I can get it to show time and text but the code im using shows PC username not login username of app Could someone please help me with the correct bit to put it Thanks in Advance if (textBoxSend.Text != "") …

Member Avatar for rproffitt
0
69
Member Avatar for darkbox

I created an html page with days of the week Mon Tue Wed Thu Fri Sat Sun The corresponding page is linked to each day I would need that when the page opens, the day is automatically highlighted based on the day of the week and that there is a …

Member Avatar for Biiim
2
368
Member Avatar for Luc001

Like the title says, I'm trying to coloring an empty cell in bounded datagridview. I've got this code to coloring a cell with specitic value and is working well. This code is in the DatagridviewCellFormattingEventargs. If e.ColumnIndex = 5 AndAlso e.Value <= Date.Now.ToShortDateString Then e.CellStyle.ForeColor = Color.DarkGreen e.CellStyle.Font = New …

Member Avatar for M.Lingo
0
346
Member Avatar for adam291086

I have a file that contains a class, its called test.py. How can i call on that class within another file called xml.py?

Member Avatar for chethan_2
0
14K
Member Avatar for kingmu

If you run the following code (on Windows 7, Python 2.6.5), you should see a light border around a black square and some text below it. How do I get rid of that border? Thanks! [code=python] from Tkinter import * class App: def __init__(self, master): #background frame self.bgFrame = Frame(master, …

Member Avatar for Madnokof
0
10K
Member Avatar for Cup of Squirrel

[CENTER][b]YaBasic: The beginners choice[/b][/CENTER] [CENTER][i][SIZE=1]By Michael "Cup of Squirrels" Garwood[/i][/SIZE][/CENTER] So you know how it is, you have some kind of sudden fascination with computers, and want to learn how to program. This could be for a number of reasons: You could be a middle aged man who wants to …

Member Avatar for Ioh
0
5K
Member Avatar for SimonIoa

Hello i want to add external .js files into my Ionic Angular Project Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 5.2.3 @angular-devkit/build-angular : 0.901.11 @angular-devkit/schematics: 9.1.11 @angular/cli : 9.1.11 @ionic/angular-toolkit: 2.3.0 Utility: cordova-res (update available: 0.15.2) : 0.15.1 native-run (update available: 1.3.0) : 0.3.0 I created a js …

Member Avatar for rproffitt
0
794
Member Avatar for sanjay2012

Error 1 'AdvoDiary.DataSet' is a 'namespace' but is used like a 'type' D:\AdvoDiary\AdvoDiary\ReportViewer\rptBilling.cs 25 9 AdvoDiary namespace AdvoDiary.ReportViewer public partial class rptBilling : Form Common sCom; DBHelper myDB; string sOLE; clsGlobalVar objGlob; OleDbConnection cn; OleDbDataAdapter sDA; DataSet sDS; OleDbCommand cmd;

Programming asp.net assembly
Member Avatar for tinstaafl
0
337
Member Avatar for slapme

compute tax. Please help me out on my tax rate calculation. Really confusing. Create a class TaxReturn with data elds suitable for holding a taxnumber, first name, family name, annual income, current address, and residency status along with the tax rates: For Residents Income Tax Rate 0 - $6,000 Nil …

Member Avatar for Olivia Alex
0
229
Member Avatar for clife

I am trying to convert the GMT time into unix epoch (starting from 1970), looks like there is a small bug in code , i could not get and exhausted. I see following difference Non leap years Expected output: Jan 20 19:00:01 2019 GMT = 1548010801 Actual output: 1548097201 (which …

Programming c
Member Avatar for rproffitt
0
205
Member Avatar for mangle200

i have a set of code for a gui that runs using a dictionary but i cant get the code to exit once the user presses the last button named end import sys import tkinter as tk from functools import partial class Situation(tk.Frame): def __init__(self, master=None, story='', buttons=[], **kwargs): tk.Frame.__init__(self, …

Member Avatar for rproffitt
0
166
Member Avatar for cosmo13

> Hey there! I don't know why "Your Password is Incorrect!" is printed before I fillin the form. I've started learning php two weeks ago <!DOCTYPE html> <html> <head> </head> <body> <form action = "" method="POST"> <label id="first"> Name: </label><br/> <input type="text" name="username" placeholder= "Name" required><br/> <label id="first">Password: </label><br/> <input …

Member Avatar for Biiim
0
163
Member Avatar for Pocokos

Hi, I am new to web development so I am still kind of unsure to how everything works so sorry if it is something obvious. To create the scenario, I need to create a music player using html5, javascript and css. I very much got stuck on how to shuffle …

Member Avatar for Biiim
0
161
Member Avatar for Muhammad_255

You will need to develop a command line menu driven program that does the following . • Printing and Working of the Menu: ****************** Welcome to the Array Functions ****************** 1. Enter e to Enter an English word 2. Enter p to print the already entered English word 3. Enter …

Programming c++
Member Avatar for rproffitt
0
110
Member Avatar for Shreya_8

I am trying to use on form to insert data into 3 different tables <?php if (isset($_POST["submit"])){ $servername = "localhost"; $username = "root"; $password = ""; $db = "test_db"; $conn = new mysqli($servername, $username, $password, $db); if ($conn->connect_error){ die("Connection failed: ". $conn->connect_error); } $Vehicle_type = $_POST["Vehicle_type"]; $Vehicle_colour = $_POST["Vehicle_colour"]; $Vehicle_licence …

Member Avatar for stephenlangton
0
80
Member Avatar for Nether_1

Hi everybody, I'm doing some programming in Flask, and as part of the program I'm doing a basic system of logging in, but that's not where my problem resides. During my programming, the page that is supposed to verify a login absolutely refuses to go past a specific line of …

Programming flask python
Member Avatar for Reverend Jim
0
75
Member Avatar for Avi_4

![code.png](https://static.daniweb.com/attachments/4/87cafae5fd0eda16b78319ca17b8eb01.png) hello everybody, this is my code how can I show (div and p) apposite to each other by using css?

Member Avatar for adisharma
0
52
Member Avatar for showman13

Using PHP / MySQL This is a sort of long explanation, but trying to provide all the information the first time. Hopefully someone can tell me what I’m missing or doing wrong, without too much criticism. I am trying to create a FUNCTION that I can use to retrieve a …

Member Avatar for Dani
1
609

The End.