2,720 Recommended Topics
Remove Filter | |
this is the task given to me guix i hope you can help me Create a program that will read the data from a file and save the output in another file 1.Create an input file named **CS122Grades**. 2.The contents of the input file should be the **names**,**midterm grades** and … Programming java | |
Hi, I have created a two player board game url deleted - rule 2.7 Thes problem is that AI is easily beatable. I used heuristics to find best move for the AI. The rules of game are as follows 1) 9 by 9 grid is divided into 9 grids of … | |
how to extract and save images from csv file in python Programming javascript python sql xml | |
Now I am going through a project with colors. And then I think that if I try to display color values with their names in a simple combobox, it could be amazing. I tried and did it and it is looking like ![Capture3.png](/attachments/small/4/4473f7608016edcb5981090cccc80593.png "align-left") And ![Capture4.png](/attachments/small/4/87a5e5686d66033648a3e0ab787d6778.png "align-left") And finally the … | |
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 … | |
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) … | |
This seems so simple, so why can't I figure out how to do it? All I want to do is have two forms, and if you click a button on Form1, Form2 will load (replaying Form1). In a Windows App. How ???? Thanks for any help. | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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.*; … | |
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 … | |
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 | |
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 != "") … | |
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 … | |
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 … | |
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? | |
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, … | |
[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 … | |
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 … | |
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; | |
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 … | |
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 … | |
> 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 … | |
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, … | |
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 … | |
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++ |
The End.