132,726 Archived Topics
Remove Filter ![]() | |
Hi, I am working in Matlab, I need help to write KNN algorithm. Please reply. Software Development java | |
I'm trying to make a Palindrome program and this loop is giving me trouble: for (int i= 0; i < 79; i++) { character[i] = scan.next(); if (character[i] == ".") {break; } } The user enters a word, and when they are done, they enter a period, which is supposed … Software Development java | |
![]() | Hey everyone, I'm doing a practice problem and I'm stuck. The question is "Given an array a of n numbers (say doubles), consider the problem of computing the average of the first i numbers, for i ranging from 0 to n-1. That is, compute the array b of length n, … Software Development algorithm java programming-construct |
What point one should consider while choosing mobile application development company for business? Software Development | |
Our program must create a guessing game that asks the user what the range they want to game to be and how many guesses they want. Once that is done it askes the user to make a guess and based on the guess its supposed to say Hot if it … Software Development java | |
[COLOR="Green"][B]can you please help me! i need a code for making a POS. have been looking but could not find anything. I am making a POS for a market stand. it is our project. could you please help me! I need it within next week......help me![/B][/COLOR] Software Development visual-basic | |
Hi! please help me..... i just want to know what is the code for time record using ADODB connection. im so tired to get the right code for time attendance please help me... this is for my thesis.... Here's the command: txtEmpID --- textbox cmdGetdata --- command Button lbltime --- … Software Development visual-basic | |
![]() | Hello everyone, I'm having some issues with my rock, paper, scissors JApplet program. Of course I have it "extends Applets" from the beginning of my class and I realized that this wasn't the same as JApplet. After I changed "Applet" to "JApplet", when I ran it, it doesn't look like … Software Development java java-swing |
Hi all, I wanted to load a listbox with items from the database.I just wrote the code using oop. But on the interface i'm not sure how to read and insert the items in the listbox. How can i access the items being read at the client side(interface). Public Sub … | |
I am writing a code of the consumer producer problem in python , so far I am almost ready but my code still not running.. Would you help me in any way to finish it, I am new in python and am not sure what I do wrong, any help … Software Development python | |
Okay so I am working on an external polyphase sort/merge and I am using peek to look at the next value in a file, there is just one problem. My peek gives me the wrong number, but if i just read the value it gives me the right value. What … Software Development c++ | |
Hello all, I'm trying to read in a group of letters each on a new line and have the user guess them depending on how many games they want to play. My program works fine but I've noticed while testing it that for any more attemps, fscanf just keeps the … Software Development c file-system | |
good day! im working on a migration tool for mysql to mssql. is there any references or codes that you guys can share to me to create databases and transfer data from mysql to mssql? ive just got this idea of using dump mysql files since they also have sql … | |
Hi, Please tell me the c code for finding a basic solution to a system of linear equations!Please help me as I am messed with the Gauss-Jordan Method.I am not getting the correct idea to do this in my project. Please help me soon. | |
This isn't really a help me how to program something this is where should I start I am currently watching thenewbostons c++ tutorials it is great and easy to follow I have knowledge of other programming language and I heard that c++ is quite different and a little complicated. Right … Software Development c++ | |
My UPDATE vb.net code below displays this error message:conversion from string "UPDATE tblstaff SET fName='name' " to type 'integer' is not valid.Microsoft.visualBasic conn.Open() If conn.State = ConnectionState.Open Then com = New OleDb.OleDbCommand("SELECT *FROM tblstaff ") com.Connection = conn Dim cb As New OleDb.OleDbCommandBuilder(da) da.Fill(ds, "Eeestaffinfo") Dim sql As String = … Software Development open-source vb.net | |
Hello, I am new to VBscripting and hope someone can help clarify the split options. I just started learning VBscrpiting a few weeks ago and Im trying to figure out how to do something. I haven't learned anything other than the basics so this question might seem super simple. If … Software Development visual-basic | |
HI I have created a button called "start" , when the user clicks on it the buttons name changes to "reset". How can i write an if statment to say if the user clicks on the button = "reset" then do this. if (button = to "reset" and clicked) { … Software Development | |
Hello everybody! I’m trying to create a program in which the user has the ability to move the image with mouse click and ability to zoom in and out by scrolling the mouse wheel. If the user wants to return to the original image size and position, it will be … Software Development image pc-peripheral vb.net | |
Hey guys, I'm new to this website as well as Python and well, programming in general. Anyway, I would like some feedback on this program I wrote, its purpose is to take a credit card number, which the user inputs and determine whether it is a valid or invalid credit … Software Development python | |
The snippet provided will cover the basics of an on screen keyboard; the only things it doesn't have are numbers, symbols, and extra keys. This will give you the fundementals to build off of. It's written using Microsoft's XNA Framework, however it should be fairly simple to port over to … Software Development | |
Here is the question: Write a function which accepts an integer N and returns the sum of first N numbers. and here are my codes: #include<stdio.h> #include<stdlib.h> int Myfun(int x); int main() { int a, sum; printf("Enter an integer: "); scanf("%d", &a); printf("sum is %d\n", sum); system("pause"); return (1); } … Software Development c | |
Hi, I am trying to write an application that will calculate the volume of a pool with fixed length and width. The user will be prompted to enter 2 values for depth. The application should draw a cross-section of the pool using length, deep end and shallow end. A part … Software Development java java-swing | |
pls help me with my codes, age doesn't appear on the text file and i got end of file error when i click "view" button. can someone kind enough to fix this..god bless and more power =) my code >>>>>> http://www.2shared.com/file/8whfrcUJ/Frame1.html Software Development java | |
Hello, I got this question from my quiz : > Consider the following code (assume that comments are replaced with real code that works as specified): public class TestExceptions { static void e() { // Might cause any of the following unchecked exceptions to be // thrown: // Ex1, Ex2, … Software Development java | |
Just need help with regards to this part, i'm meant to use scanf() to read a string from keyboard and return number of characters read, so i'm supposed to read a character string. The scan must then terminate at whitespace. A null character is stored at the end of the … Software Development c | |
hi all i want to create a program that each thread will be handle a part of the log file and read from it at the same time ?? Thanks in advance Software Development java | |
Hi I am currently working on a piece of code that I am struggling to get working. I have a picture box that I want to move across the screen. At the moment I want it to stop when it gets to a certain point and you have to click … Software Development vb.net | |
#include <iostream> #include <cstdlib> #include <cstring> #include <cstdio> #define size 400 using namespace std; char infix[size],postfix[size],Stack[size]; int top; int precedence(char ch) { switch(ch) { case '^':return 5; case '/':return 4; case '*':return 4; case '+':return 3; case '-':return 3; default:return 0; } } char Pop() { char ret; if(top!=-1) { … Software Development c++ | |
//arr is the array int length;//for recive the array size length=sizeof(arr);//recive the array size cout <<length; length=length/sizeof(typeid(arr));//calculate the number of elements cout << sizeof(typeid(arr)); i'm using these code for calculate the number of elements in array. sizeof(typeid(arr)) these line is for give the type size, but isn't correct can anyone … Software Development c++ | |
Hello. Nearly finish this project, but can't sort the last code. I have faculty, staff, & partime employees, and they have ID, and what I want to do is sort by ascending order them based on their #ID. Everything else works before that. Here is my two codes, the Tester, … Software Development engineering java | |
Task A Download the files bank.txt and assignment2.py. The file bank.txt is the input file for the program. It consists of a number of lines of text, each with five fields. These fields are: • The customer’s first name • The customer’s last name • The customer’s account number • … Software Development python | |
Please help, it keeps on showing the exception msg "Failed" the message send never work Imports System.Net.Mail Imports System.Net.CredentialCache Public Class Sendmail Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" … Software Development vb.net | |
For my beginner Java class I am writing a program that will read data from inData.txt and write output to the file outData.txt. I have 5 errors that all say a symbol cannot be found but I'm not sure what exactly it's talking about or what is wrong. The error: … Software Development java | |
I have a pictude box which i want to load with a map,i know now how toget picture box coordinates and would like to conver it into latitude and longitude. thank you ps: i seached the net but could'nt understand it ,so please be simple as i am a new … Software Development | |
#include<iostream> using namespace std; void getdata (int a[], int size); int main () { int size=10; int a[size]; getdata (a[], size); return 0; } void getdata (int a[], int size) { for (int i=0; i<size; i++) cin>>a[i]; } Software Development c++ | |
I have data grid and I have two radio buttons in the datagrid i.e approve or reject and also one button in datagrid i.e submit what i want to do is when approved button is selected and submit button in the datagrid is clicked for one row I want the … Software Development | |
Hi All, I have completed learning core Java and I want to move to next level in Java Study. I am really confused on what topic to cover next in JAVA . And I also don't know what are all the major topics in JAVA to study after Core Java. … Software Development java | |
string steady(int company[][column], int row)//Question 6 { int increase = 0; int x,y = 0; string Up = "Increased"; string Down = "Decreased"; for(y = 0; y < 2; y ++)//column {//Start loop increase = company[0][y]; for(x = 1; x < 4; x ++)//Rows if(increase < company[x][y]) { increase++; return … Software Development c++ | |
The vending machine C++ code has a problem. I wanted to call the "tPrice" variable from the "chocoSelect" function to "insertCoin" function, but it does not work. Same thing as for calling variables "cChoice, qAMB, qSD, qCS, qCMB, currentTotal" from the "chocoSelect" function to the "dispenser" function. What should I … Software Development c++ | |
Hello!!!! Kindly help me in resolving error in my this program. 1 The name 'yes' does not exist in the current context E:\Lectures and books\C SHARP\Projects\enum.cs 85 20 EnumMonth Error 2 The name 'yes' does not exist in the current context E:\Lectures and books\C SHARP\Projects\enum.cs 85 34 EnumMonth Error using … Software Development | |
**Question** You are to design and implement a GUI application that will calculate the price of a pizza, based upon the size, style of crust, and selection of toppings. The price is calculated according to the following rules: • A plain small pizza is $6, medium is $8, large is … Software Development gui java java-swing | |
THIS IS FOR MY PROJECT .. SO PLEASE HELP ME SIR... I HAVE A CODE BUT IT IS IN IOSTREAM LIBRARY> AND MY PROJECT SPECIFICALLY SAYS THAT USE STDIO.H: this is the code: i want to run it in stdio.h library #include <iostream> #include <string> #include <windows.h> using namespace std; … Software Development c++ | |
This code is supposed to determine for a number of random numbers whether its odd, even , prime. At the end all random numbers should be displayed and the prime ones together with the number of odd and even numbers and their %. The part of the code to determine … Software Development java java-swing | |
Hello There, I am Working with Master Detail Database, There Many Tables and Columns with Relationship. One of them 'M_Location' is one Table, and Its Primary Key IS 'LocationID' and Another table is 'D_Trip', so LocationID is used in D_Trip, now whenever gridview shows data of 'D_Trip', and also show … Software Development vb.net | |
I had to write a fraction calculator program and my only problem (I think) is when I input the two fractions it gives me garbage - for instance if I put 1/2 + 1/2 it gives me 1374389536/687194768 - can anyone help me correct this please? Thanks! divisionByZero.h [CODE] #include … | |
Step 1. Install mysql-essential-5.0 Following Command To install that . start mysql-essential-5.5.12-win32.msi /quiet /norestart Step 2. Set configuration Run Following Command line For That . cd\ cd Program Files cd MySQL cd MySQL Server 5.5 cd bin MySQLInstanceConfig.exe -i -q "-lC:\mysql_install_log.txt" "-nMySQL Server 5.5" "-pC:\Program Files\MySQL\MySQL Server 5.5" -v5.5.12 "-tC:\Program … | |
I am using following code which is displaying all files in listbox. But only files with specified extension selected from combobox(i.e .txt or .html....) should be displayed private void button1_Click(object sender, EventArgs e) { string search = textBox1.Text; string folder = textBox2.Text; MessageBox.Show(comboBox1); string[] allFiles = System.IO.Directory.GetFiles(folder, "comboBox1");//Change path to … Software Development display | |
how do we use barcode scanner scanned data in our java program .is there any class which can help me. Software Development java | |
Hi Group, (delphi 7 refers) I haven't used delphi for some time. I have now a very basic app. Three buttons on form, Start/Stop/Exit objective> When Start is pressed, the app enters a while(tick=true) do begin..someCode;...end; What I now require is that, when Stop is pressed, the appl abort thisstart … |
The End.