132,726 Archived Topics
Remove Filter ![]() | |
Hi, I am developing a project using kinect SDK & C#. Here i tracked my right & left hand. Now i want to develop my project but I am stucked. I want to track my hand continuously & observing my tracking position I want to print something. For example: If … Software Development | |
declare two dynamic arrays of integers, input **size** needed for the arras, allocate **size** integers, initialize all elements to 0, prompt the user to input **size** elements in the first array, diplay the elements, copy the elements to the second array after deleting duplicate elements, and display the elements from … Software Development c++ | |
write a binary search algorithm to look for the presence of a search key in a single dimensional array of 10 elements. prompt the user to input 10 elements and the search key. display meaningful messages after the search operation. #include<iostream.h> #include<conio.h> void main() { int p[10]; int search_key; cout<<"\n … | |
Following a tutorial, I built a small sample program that uses winsock. It compiles, but there are a few different places I'm not sure what's happening with the pointers. Full source is available [here](http://pastebin.com/NTdCWhWr) Line 25: `struct hostent *host;` As near as I can tell, this creates a pointer to … | |
Hi everyone..I need a little help here.Can anybody teaches me on how to create a class diagram for the process of buying glasses from the viewpoint of the patient. The first step is to see an eye doctor who will give the patient a prescription. Once the patient has the … Software Development java | |
I am working on a java assignment where I have to get BMI with dialog boxes. I keep getting this error "error: illegal start of expression if (BMI = > 18.5 && BMI < 24.9) " Here is the code. Can someone please help!? import javax.swing.JOptionPane; public class BodyMassIndex { … Software Development java java-swing | |
how to store 2d array in arraylist? and how to print arraylist? import java.util.ArrayList; public class aaa { public static void main(String[]args) { ArrayList<Integer[][]> aa= new ArrayList(); ???????????? int bb[][] = { {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} }; for(int y = 0; y < bb.length; y++) //rows { for(int … Software Development java | |
I am using vb6 to do my project. When i define an initialize a variable i get the compile time error as "Expected:End of statement". The code is : Dim i as integer=1 Software Development vb.net visual-basic | |
Hi all I am Using following Line Of <a href="HostInactivityTest.aspx?HostID={$iHost}&HostNames={$HostName}" Target="_blank" style="font-size:8pt;font-family:Verdana;color:orange;font-weight:bold,text-align:left;"> Problem with this code is it opens new window with IE that is fine for me but newly open window shows URl,MenuBar,BookMarkBar that i dont want show in that child window so Anyone hase idea about this Please … Software Development asp.net c# web-browser | |
I need help to fix this two errors in the code. Line: 29 The static method isSolvable() from the type LinearEquation should be accessed in a static way. Line: 39,40: The static method getX() from the type LinearEquation should be accessed in a static way. Thank you. // This is … Software Development java | |
I'm Developing A very Basi App For Generating Bill On A retail shop I'm Using Access(mdb) As Data Base The Table with Name "Invoice"(Holds grand Total And Deposited Against That Invoice) On which I wants to perform task has fields As Follow: InvoiceId , CustomerId , CustomerName , InvoiceTotal , … Software Development | |
I wrote the following code: package com.chain; public interface Chain { void setNext(Chain chain); void process(int number); } package com.chain; public class ProcessNegative implements Chain{ private Chain chain; public void setNext(Chain chain){ this.chain = chain; } public void process(int number){ if(number < 0){ System.out.println("Negative"); }else{ chain.process(number); } } } package … Software Development java web-design | |
alright guys so am havign trouble finding a way to search for seats that are toghether, my pgram consists of a theater with 20 x 10 seats, i have created a seatSelection class and the theater file which has the main. Ok so heres a sample output of how it … Software Development c++ | |
f = open(raw_input("File")).read().split() cows = f[0] data = dict(enumerate(f[1:],start=1)) print data nonloopy = [] loopy = [] def isloopy(cownum,data,did=[]): print " ",cownum,did cownum = int(cownum) if cownum in nonloopy: return False elif cownum in loopy: return True if cownum in did: return True if cownum == 0: return False did.append(cownum) … Software Development python | |
Hi all.. Please help me how to clear all textbox in form. It really hard to set each of it. Thank you Aura Software Development visual-basic | |
#include <iostream> using namespace std; void get_temps(int choice) { if(choice == 1) { double temps[12]; for(int i = 0; i < 12; i++) { int month_num= i+1; cout << &"Please enter the average temperature for month " [month_num]; cin >> temps[i]; } } if(choice == 2) { double temps[10]; for(int … | |
Ok, after I posted my last result, it came to my attention that I did the wrong assignment. Now I am really in need of help. THis is also a double arry assignment and I need help from anyone asap..please..The instructions are as follow: I am to make modifications to … Software Development vb.net | |
I have done this chunk of code that I want to ''translate'' in assembly language. It calculates the lenght of the longest common subsequence. Can someone help me to translate this in PEP/8 assembly language ? The rest of my program is functionning quite good, but I cant find a … Software Development assembly | |
Hi, I have been trying to solve a problem,i need to write code to an existing projectile class to calculate the maximum height reached by a projectile ,i have tried all possible solutions but seem stuck,here is the code below # Canonball in form of a class # projectile.py from … Software Development python | |
i'm helping a friend and i'm almost done with the program what i can't figure out is i need to sort the number of votes from lowest to highest my database is just ms access and i'm trying to display the photos of the candidates who got the highest votes … Software Development | |
I was having a discussion with a co worker just now and we discussed the idea of a message box coming up as part of a search and displaying a JPG picture as part of the results. Is that even possible? If so then how difficult would it be to … Software Development visual-basic | |
Hello Community, I need to shortern a really long string then when it's in my program the string will expand back to it's normal length ready to be used in the program. I don't care what kind of method i need to use. Please help... Software Development vb.net | |
Okay so i am trying to code out a canvas that has two complex objects(I have MainCanvas , Human, Dog) and I want to make a piece of the complex object move when i drag it, but i dont know if i need to put in another moving method in … Software Development java | |
Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.GiveFeedbackEventArgs'. This is an Error while loading a page . Page loading Contains functions for filling combobox and grid . I can't able to Traise where the error occurs.Please help Software Development vb.net | |
i had to do a complete text editor,so i made two different code. the fisrt code is a text editor that open docx file, create new documents , exit, paste , copy, delete, select all, save and save with name. the second code is another text editor that change colour … Software Development java | |
hi .. I use visual basic 6, I opened a new project, when I create a data report using Crystal Report 8.5 which already include the current Visual Basic will add a new report by way of Add -> Crystal report 8.5, the error message "Visual Basic has stopped working … Software Development visual-basic | |
hi. The file called test.txt contains names as John Smith Walter H. Kepler Gary Davies and so on.. I need to read only the lastnames from the file so that I can sort it in alphabetical order.For this I read the name as John Smith then go backwards as h,t,i,m,S … Software Development file-system java | |
Hi All, I have a project I am going to be starting shortly, just recieved the specs. I plan on using python with flask for this project and the question I have (for now) just has to do with the python. My question is, this calculator is going to calculate … Software Development python | |
i need to use webcamera to take picture to gimp....i need a plugin so plz help me out i dnt know how to connect webamera to gimp...somebody plz come with a code explenation Software Development c | |
Hello, I have the following code that using list comprehension to find even numbers in list L. L = [1,2,3,4,5,6,7,8,9,10] K = sum([(i) for i in L if i%2 ==0]) I wanted to know if this was the most efficient way to sum list K? Software Development python | |
is there any java programming software that looks like vb6 ? our panelist said on our thesis defense that we must use java for our interface but we dont have any background in java programming, but only vb. please help. thanks Software Development java visual-basic | |
#include<stdio.h> #include<conio.h> #include<dos.h> void main() { int minutes,seconds,timeremaining,input=1; char cAns,cAnswer; clrscr(); gotoxy(35,15); printf("Press S to start the game: "); cAns=getche(); if(cAns=='S'||cAns=='s') { clrscr(); printf("\nAre you a human? Y or N: "); scanf(" %c",&cAnswer); timeremaining=input; do { input=timeremaining; minutes=input/60; input=input-(minutes*60); seconds=input; gotoxy(1,1); printf("%02d:%02d",minutes,seconds); timeremaining++; delay(1000); }while(timeremaining<=90); if(timeremaining>=90) { clrscr(); gotoxy(33,12); printf("TIME'S … Software Development c | |
Hi Im working with a python Odd numbers and my question is?. > An integer can either be odd (like 1,3,5,7,. . . ) or even (2,4,6,8,. . . ). > > 1. Write a python code which takes as input two numbers and displays all odd numbers between them … Software Development python | |
Program to Find the words starting with a or A from the source code itself and then modify it by removing the words from the source code and put it in another file. The following code doesn't work. Pls Help!!! #include<iostream.h> #include<conio.h> #include<fstream.h> #include<string.h> void Write(fstream &a, char b[]) { … Software Development c++ ios open-source | |
how to give image to a particular cell in datagrid view in vb.net I want to add rows in to a grid while running. I added new rows by enabling add property of gridview In that row one of the cell is an image .if i am adding one cell … | |
Hi I want to take input of two variable as integer and than do addition with the two variables. The ans will stored in another variable. The program will repeat after every addition end and will ask for user input of varibles and will do addition again. My qus is … Software Development java mathematics | |
hello guys im trying to send email from java program but when i pressing the button i get this message: errorjavax.mail.AuthenticationFailedException: failed to connect, no password specified? and here is the code: String username = Username.getText(); String password = Password.getText(); final String username2 = "stefanrafaa@gmail.com"; final String password2 = "my … | |
Hello guys, so I am facing a problem to understand the following.. Creating a GUI based program that has a user control box that contains a list of images of a 52 cards deck, the cards are based on an enum actually 2 enums one for the rank and one … | |
I have a very confusing question to ask and it is the difference between array of pointers & pointer to an array. I want to understand this concept very well so please please do help me understand this concept. I'll start with what I have understood about array of pointers. … | |
Hello, I have a 3d dicom image with .dcm extension and i want to display it using jframe. is there any solution for it..? How's it possible to display the .dcm img in java..? will u please help me..? | |
error detials: Java Plug-in 10.17.2.02 Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM User home directory = C:\Users\dave ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide … | |
The following code gave error on gcc compiler int main() { extern int a; printf("%d",a); return 0; } static int a=5; But when static is removed from int a then it runs with no errors..Can someone please clear the doubt?? Software Development c | |
Hello all! I am sorry to have to waste your time with such an easy problem but I am stuck with some coders block on this one. I know it is definitely an easy fix I just cannot seem to wrap my head around it at the moment... I do … Software Development mathematics python | |
I just want to ask if i can run a timer at the same time with my program? It is like a quiz bee, i'm asking questions and there is a specific time to finish answering. Thank you! Software Development c | |
Assuming a simple class like below and the main like below, will the class variable be stack/heap allocated depending on how the class is instantiated? OR will the class variable be allocated depending on how it is implemented? class Foo { private: std::string Bar; public: Foo() : Bar(std::string()) {} }; … Software Development c++ | |
I have a simple USB barcode reader which I intend to use to scan COD 39 barcodes. I know that just scanning the barcode while having a text field on focus will get me the text input of the barcode I'm scanning. However my requirement is a bit different. I … Software Development | |
Group, I'm trying to change the "sa" password to my SQL Server Database via the 2008 SQL Server Manager Express. I have followed every instruction dillegently and can't seem to "complete" the change. Each time when trying to login with the SQL Server Authentication, I get the error message that … | |
Hi, I would like to know how to view shutdowntime from another IP address. I only know how to view it from my localmachine. This is my code: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = GetLastSystemShutdown().ToString() End Sub Public Shared Function GetLastSystemShutdown() As … Software Development vb.net | |
Hey guys i have an advanced programming project , which is to run on both linux and windows operating systems. And i wanted to know if there is an IDE with drag and drop features which i can use to code the graphical user interface Software Development c c# c++ gui ide operating-system user-interface | |
I am getting wrong output. My Code is following, in which I have to use function unsigned long powerof2(int n); #include <stdio.h> #include <stdlib.h> #include <math.h> //int powerof2(int n); unsigned long powerof2(int n); int main(void) { printf(" n 2^n\n"); printf("-- ---\n"); for (int n=0; n<65 ;n++) { //printf(" n 2^n\n"); … |
The End.