132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ANANTBORLE

Sir please help me to develope Support Vector Machine for plant disease classification in java??

Software Development image java
Member Avatar for JamesCherrill
0
79
Member Avatar for leo_7

``Bookkeeping You work for a company which mainly trades with 3 other companies. You record your balance in a file (you can still use cin or scanf to read or if you want you can read from "input.txt" file) with the following convention: Debit of Company A Credit of Company …

Software Development c++
Member Avatar for happygeek
0
150
Member Avatar for jez9

this is my code dim btn as button dim rs as dataadapter rs =" Select * from tbltable1 where status = 'unavailable'", con) with rs [i dont know what comes next but i tried this one] btn.enabled = false end with [nothing's change] [so i tried this one] dim rs …

Software Development vb.net
Member Avatar for jez9
0
161
Member Avatar for jalpesh_007

hello, I am working on networking project. I have made client server program through socket program. Now, i don't know which library is used to detect hardware i.e. attached on machine. mean how can i detect keyboard is attached to my pc or not? mean how can i detect mouse …

Software Development client-server java
Member Avatar for JamesCherrill
0
261
Member Avatar for jalpesh_007

Hello, I am making project of Face detection from image. I have read OpenCV library for it, but exactly i can't get how to find multiple face from image. i had group photos of my friends, i want find face of each person of the photo like tagging in facebook …

Software Development image java
Member Avatar for rubberman
0
216
Member Avatar for apkrieg

Okay, so I am learning Assembly and I started with 32bit and `bswap` seemed to work fine. Now I have this code main.c #include <stdio.h> #include <stdlib.h> extern int asm_proc(void); void print_bits(unsigned long long bits) { for (int i = 0; i < sizeof(unsigned long long) * 8; i += …

Software Development assembly
Member Avatar for apkrieg
0
823
Member Avatar for Niloofar24

Hi everybody! How can i call a function from Tkinter without using Buttons? I have a test.py file and there is a function def message in it: def message(): print('Good morning') from Tkinter import * tk = Tk() tk.mainloop() I want to type test.py message from linux terminal and the …

Software Development gui python tkinter
Member Avatar for sneekula
0
11K
Member Avatar for markdean1989

I wonder why this program does not do any changes to the text file that I am trying to modify. Scenario: My program uses the Fstream header file, I declared infile as IFSTREAM and outfile as OFSTREAM. I simply want to transfer data from infile to outfile. The data is …

Software Development c c# c++
Member Avatar for markdean1989
0
521
Member Avatar for techker

Hey guys i got this code working 50%.. i have a login that passes the info to my main form that i need to search the txt file and show all info regarding info(NIP) in my txt file name,account number,cash,Nip so i search for the Nip since that is the …

Software Development regex
Member Avatar for techker
0
155
Member Avatar for Niloofar24

Hello everybody! Me again with an other question :) I have a file with a list and 3 functions in it; view, sort, append. I used pickle to save data changes in to an other file (films.db). Imagine you want to use this programe for the first time on your …

Software Development file-system python
Member Avatar for Niloofar24
0
2K
Member Avatar for robert.swaine1

Hello everybody, could someone please urgent help me with this assignment question? I just need some tips on why my prompt dialog is not working correctly. The script is below after the assignment question... Finish the coding of the class LightController by completing the public instance method runLight(). This method …

Software Development java user-interface
Member Avatar for stultuske
0
254
Member Avatar for Ahmad Imran

What operation does this format specifier "\a" really perform

Software Development c++
Member Avatar for NathanOliver
0
141
Member Avatar for sanjeewa.abeywardana

I have heard that table security for data stored in the table can be made by storing Hashbyte data in a column. So anyone comes and change values manually in a table will be identified and that record be ommited for further calculation Need help on these areas CREATE TABLE …

Software Development c#
Member Avatar for Ketsuekiame
0
194
Member Avatar for kouty

Hello friends. I want to create a list of sublists E.G. i = 0 pack = [] list = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20] while i < 17: sublist = list[list[i]: list [i + 3]] pack = pack + sublist i += 1 print (pack) the output is: Type "copyright", "credits" or "license()" for …

Software Development python
Member Avatar for sneekula
0
206
Member Avatar for Sathiyaraja

Hi All, Im new to xsl., In my implementation im converting a language code to a language value by lookup from a xml file. Input: <XML> <Name>shades</Name> <Languagecode>555</Languagecode> <XML> output: <XML> <Name>shades</Name> <Languagecode>hindi</Languagecode> <XML> Lookup XML table:(external file) <Languages> <Languagecode>555</Languagecode><Language>hindi</Language> <Languagecode>556</Languagecode><Language>tamil</Language> <Languagecode>558</Languagecode><Language>telugu</Language> <Languagecode>559</Languagecode><Language>malayalam</Language> <Languagecode>557</Languagecode><Language>bengali</Language> <Languagecode>554</Languagecode><Language>punjabi</Language> </Languages> I tried with Key …

Software Development xml
Member Avatar for Sathiyaraja
0
4K
Member Avatar for mtatadotcom

hello friends, may anyone help me with a code in c for the mechanism of using an atm machine, conditions 1.acc balance starts at zero 2.do not use global variables 3.loop the main menu after every transaction until user presses exit 4.after every transaction user returns to the main menu. …

Software Development algorithm c
Member Avatar for chandrasekhar77
0
6K
Member Avatar for sky_B

Do anyone know how to set the title of a program files extends with JApplet?

Software Development java
Member Avatar for dodo11
0
160
Member Avatar for leyla

Hi again, I'm writing a code to retrieve the StudentID from a table in my database and then display it in a textbox. The code to retrieve the ID is on one form and I want the value to display in the textbox in another form. The code that I'm …

Software Development open-source vb.net
Member Avatar for leyla
0
1K
Member Avatar for dany12

I have only one week to learn java at a intermediate level. What books tutorials you recomend? Another thing I have to learn is java Algoritms and Data structures. Can some one show me how? I have a little bit understanding of arrays if while for switch classes try catch …

Software Development java
Member Avatar for stultuske
0
245
Member Avatar for Jack_11

I'm making a program that will let you access a system via encrypted code from a USB. But I can't seem to figure out how I would go about making the user login to the computer via USB. I'll add the code in the code so far. /* This is …

Software Development java
Member Avatar for happygeek
0
426
Member Avatar for divinity02

hi anyone I am doing a car insurance program in java and i need to understand this error. the program goes like this. it depend on the driver's age and how many accidents he had. from 1 to 5 it have difference charges with additional surcharge an for 6 you …

Software Development java
Member Avatar for hericles
0
192
Member Avatar for Jack_11

Hello. I'm a thirteen year old programmer. I find it strange how I can learn the core of a language in about half an hour. No joke. I've been programming for about a year, and I know about half a dozen languages. Including C/C++, Lisp, Python, Perl, SQL, Java, C#, …

Software Development perl
Member Avatar for <M/>
0
673
Member Avatar for newbie14

I have the following snippet of codes first each of the thread is a socket waitign for connection where its gets a connection does all he necessary. Thereafter another section in the run it does this //run a new db connection and does a select where all those have not …

Software Development java
Member Avatar for rubberman
0
204
Member Avatar for kouty

Hello Daniweb! I learn in the Computer Sciences Circle, [Click Here](http://cscircles.cemc.uwaterloo.ca/) in the chapter 8. there strings, for exemple "sse" and "assessement" or "an" and "trans-panamian bananas", and we just need to count the occurences of thr furst in the second. My wrong code is """ Cet exercice consiste a …

Software Development python
Member Avatar for Gribouillis
0
409
Member Avatar for Niloofar24

Hello! I have a file with a list and 3 functions in it; view, append and sort functions. I want to use pickle to save data changes in to another file inorder to retrive it next time. I have a list, when i call function VIEW, i see the primary …

Software Development python
Member Avatar for sneekula
0
179
Member Avatar for london-G

Hi Guys, I managed to fill the jtable with the table from the database. Now I want to add specific rows from the database table into the jtable. So I have a textfield and a sql statement: So "Select * from tbl where name =?" I want to add all …

Software Development java
Member Avatar for london-G
0
215
Member Avatar for london-G

Hello, I am trying to connect to a hosted database on netbeans(java). So far I have the following: Connection con = null; Properties conProps = new Properties(); conProps.setProperty("user", "user"); conProps.setProperty("password", "password"); try { con = DriverManager.getConnection("jdbc:mysql://host:3306/dbname", conProps); String sql = ("SELECT * from products"); st = (com.mysql.jdbc.PreparedStatement) con.prepareStatement(sql); st.executeQuery(); rs …

Software Development java java-netbeans
Member Avatar for london-G
0
381
Member Avatar for PulsarScript

Hi all,here is the code c# Array.Copy,what does the o means in the code block? using System; class Program Hi all what does the 0 means in the code block? using System; class Program { static void Main() { int[] values1 = { 4, 4, 4 }; int[] values2 = …

Software Development c c# c++
Member Avatar for deceptikon
0
558
Member Avatar for it@61@sec

I want to copy all the files from one directory to another using the fread() and fwrite()-statements. Some of these files are rather large in size, and that's why I want to calculate who long the transfer will take. (Later I will use this information to show a progress bar …

Software Development c++ file-system
Member Avatar for it@61@sec
0
1K
Member Avatar for Haroon_3

I want to convert a code from C to C++ , but some statements are very difficult to me , and I have not enough time to make the whole code in C++ from beginning, So anyone who can help me in this regard please comment me then I will …

Software Development c++
Member Avatar for dilantha.prasanjith.96
0
475
Member Avatar for mjbor1

i developing a poster software, when i'm trying to post a link it give the following exception facebook api exception #100-invalid here's my code public static bool post(string accesstoken,string status,string link) { try { FacebookClient fb = new FacebookClient(accesstoken); Dictionary<string, object> postArgs = new Dictionary<string, object>(); postArgs["message"] = status; if …

Software Development api c# social-media
Member Avatar for mjbor1
0
1K
Member Avatar for vegaseat

Using the Python win32 extensions it is relatively simple to copy to and from the clipboard. Sorry. the Windows OS is a requirement.

Software Development microsoft python windows-api
0
2K
Member Avatar for cypherscouter13

I am using scientific linux. In the directory user/project/Build , after I ran 'make' to compile and link all the cpp files,I had no problems. But then, when I went to directory user/run/run.sh , which runs the project binary in user/project/Build/bin/project , I get a segmentation fault error. In the …

Software Development c++
Member Avatar for Moschops
0
265
Member Avatar for khloud.alharazi

using switch statement writing a program for simpe calculator having functioinalities of finding addition,subtraction,division,square,cube and square root for any tow numbers obtained from user? `Inline Code Example Here`

Software Development c c# c++
Member Avatar for rubberman
0
71
Member Avatar for newbieJava85

Hello, I am a little stuck. I have grasped the concept of methods, understanding thier purpose but still unsure on how to code it. Below is part of my code I kindly need guidance on. I am trying to create a method which can hold roles and depending on which …

Software Development java
Member Avatar for rubberman
0
209
Member Avatar for CodyOebel

Here's what I need to accomplish. So any help on this would be absolutely magnificent. I've programmed in WinAPI32, but for fast development I'm looking to use QT IDE in order to connect to an SQL database. I need to run queries on addresses for stored patience. The address is …

Software Development c++ ide qt
Member Avatar for rubberman
0
239
Member Avatar for Username87

I have a problem with an application. The application have a Form contains a data grid view for displaying items data. There is a column within the data grid view of custom control type when pressing F3 on such column it shows another Form for searching the items. The other …

Software Development
Member Avatar for cgeier
0
260
Member Avatar for PerplexedB

I have this Linq expression that works well. What is the right approach to test if it has returned anything? internal static void getCreditNotes(string invoiceId, out DataTable creditNotes,out double total) { total = 0; creditNotes = new DataTable(); var q = dt.AsEnumerable(). Where(r => (string) r["invoiceId"] == invoiceId && (string) …

Software Development asp.net
Member Avatar for PerplexedB
0
217
Member Avatar for BENTABET

I wrote a template class named "Tree<T>" in C++ which attributes are : - T data - std::vector<Tree*> sons; I wrote the basic methods consisting of writing and reading in those two attributes. Now, I'm writing methods that return the min and max depth. I have no compilation problems but …

Software Development c++ data-structure
Member Avatar for Duoas
0
299
Member Avatar for Ryan_14

I added a Breakpoint here: public class JavaApplication8 { I added another here: public static void main(String[] args) { Finally, I added one more here: Scanner input = new Scanner(System.in); Ctrl + F5 is supposed to start the debugger, right. Mine doesn't work. When I hit Ctrl+F5, another window opens …

Software Development java
Member Avatar for JamesCherrill
0
203
Member Avatar for CoderGuy101

Programming is such a customizable duty. I would like to ask some approaches (not solutions) to coding a program that has a GUI that functions as a cooking timer for hamburgers, steaks, cookies, etc. Call it reasoning or planning assistance for software development. I am having a tad bit of …

Software Development gui java
Member Avatar for JamesCherrill
0
150
Member Avatar for ballhysaledio_1

Hello.I am currently a newbie in Java and I was wondering if smn would help me for this project. Thanks. JAVA PROGRAMM Build a class named Rectangle that represents a two - dimensional area . This class must contain: public Rectangle ( int x , int y , int width, …

Software Development java
Member Avatar for CoderGuy101
0
192
Member Avatar for mtho

I'm new to Java and im trying to create a game that uses an AnimationTimer. I want to loop through the question one at a time but at the moment the for loop I use just adds all the question to the canvas at the start of the game. I …

Software Development java
Member Avatar for stultuske
0
716
Member Avatar for win_1

In my visual basic code, I have an object **(objXmlCaseDoc)** containing xml document. I want to add a variable **(strPoNumber)** into this object at the beginning of the xml document. I would like to add the code for the variable where I have a comment in vb code which says …

Software Development vb.net visual-basic xml
Member Avatar for win_1
0
218
Member Avatar for manalibhadula

Hi guys Does anyone know any java api which can handle .xlsx file with 10lakh records? I have tried using POI XSSFReader, it is not supporting this much large file. My xlsx file size increases horizontlly as well as verticaly.

Software Development api java
Member Avatar for David_50
0
105
Member Avatar for Nova6112

Hi, I'm developing application in vb6.0 with MS-Access. When i try to fetch data between two dates using DTPicker for Ex. i select 15-Jan-15 , 16-Jan-15 in DTPickers it selects only datas from 16-Jan-15 it's not select data from 15-Jan-15.I'm using the following Query : sql = "select * from …

Software Development visual-basic
Member Avatar for Nova6112
0
130
Member Avatar for Xiao_1

in Student Register_Form i key in the Stud Admin and admin card but when i key in the admin card one number it come out alot of small box that say (Insert time in) here is all the code: Public Class Student_Form Private Sub btnRegister_Click(ByVal sender As System.Object, ByVal e …

Software Development open-source vb.net
Member Avatar for tinstaafl
0
150
Member Avatar for xrjf

By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a draw button. Additionally, a panel control will contain the image generated by the code after the button is pressed.

Software Development asp.net image vb.net visual-basic
Member Avatar for xrjf
0
569
Member Avatar for minie1877

Hi need help urgently, can anyone check my code and find what is wrong in there. i have add referance the web services and this web services has server authentication that i need to pass when i send the data (request header value with request message). even i have add …

Software Development vb.net web-server
Member Avatar for minie1877
0
230
Member Avatar for PulsarScript

//Hi all just switching from c++ to c#.Can anyone help,with the question i have: //this is a peace of code from c++ banking aplication int ShowMenu(void); void AddAccount(vector<CAccount*>& list); void DisplayAccount (vector<CAccount*>& list); void Lodgement (vector<CAccount*>& list); void Withdroawal (vector<CAccount*>& list); void InterestRate (vector<CAccount*>& list); CAccount* findAccount (vector<CAccount*>string ); bool …

Software Development c c# c++ oop
Member Avatar for ddanbe
0
2K

The End.