2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Dave Ryan

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
Member Avatar for rproffitt
-1
338
Member Avatar for manasrathore43

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 …

Member Avatar for rproffitt
1
68
Member Avatar for Ridhima_1
Member Avatar for Santanu.Das

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 …

Member Avatar for michael.allen02
0
6K
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
889
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 k89mmk

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.

Member Avatar for Anagha_2
0
2K
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
2K
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
650
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
360
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
250
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
223
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
88
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
71
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
372
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
352
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
11K
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
800
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
353
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 unix
Member Avatar for rproffitt
0
207
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
176
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
167
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
162
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
111

The End.