132,723 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gupneha

I have a project on sports Club Management. In that, I am providing add, delete, update and search facility. Add command is working simply by : `String qry="Insert into sport values('"+s1+"')"`; `smt.executeUpdate(qry);` This is just an example where I took only s1. But in delete, I wrote: String qry="Delete from …

Software Development java seo
Member Avatar for Dupron
0
196
Member Avatar for rich345

hey im trying to make a program that if you use a scanner class you can type A and then the switch statment will change that to something else. altho i just realised that i cant do this as the way i would read a letter into a scanner would …

Software Development java
Member Avatar for Dupron
0
3K
Member Avatar for myd5258

Hi guys; I wrote a function that inserts a new integer in the ordered link-list. If the number to insert exist in the link-list then the insertion WILL not take place, instead a message “Number To Insert Exists !!” will be produced. Can some1 help me to find out the …

Software Development c++
Member Avatar for myd5258
0
115
Member Avatar for VasquezPL

I need to write a program that will do several operations for objects delimited with ";" "," and " ," and " ;" sample csv file: user;owner;group1;group2;etc. Michael Beaver,John Dundi, Global, Cracow, NY, Berlin Dave Sadih, Sarah Flock, Global Moran Kleih, Rebeca Diaz, Global, berlin, Warsaw, Moscov, Puerto Rico ---> …

Software Development c++ file-system
Member Avatar for VasquezPL
0
170
Member Avatar for Jazerix

Hey there So I'm working on a little program, the thing is, it needs admin perms in order to work successfully, and I have no idea how to make the application request the admin perms on startup, any idea? [CODE]<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> <trustInfo …

Software Development assembly xml
Member Avatar for Sodabread
0
146
Member Avatar for Kanoisa

Hi guys. Been coding away today decided that i would update an old program i did a while ago which was the base of an organisor application. So today i converted it to use STL instead of my hardcoded double linked class. I used list<> as my original implimentation was …

Software Development algorithm c++ linked-list
Member Avatar for Kanoisa
0
326
Member Avatar for snehil_khanor

Hey, Can any one help me with this problem.. i'ld really appreciate ne help.. wat i wanna do is.. dat i want to dynamically create objects on a way that they could be created in a loop.. so i thot an array of object could help so i went ahead …

Software Development
Member Avatar for snehil_khanor
0
159
Member Avatar for pwnmercury

hello im new with python and i want to you ask a question. is there any function like switch on C++ ?

Software Development python
Member Avatar for vegaseat
0
236
Member Avatar for guru_iyer

I've been trying to display the equivalent decimal number of the input binary number. I tried the below piece of code but am not achieving the result. I don't seem to understand why? Please Help!! [CODE] #include<stdio.h> #include<conio.h> #include<math.h> int a=0; int main() { char bin[8]; int i=0,len=0,r=0,w; printf("Enter a …

Software Development c
Member Avatar for volvo877
0
521
Member Avatar for KathySbeat

Really need help :) I got finished all the code..but i wanted you to help me for understanding the two lines (the first steps) this is a code of .. SPEECH to TEXT .. :) [B][U][COLOR="red"] This is the lines that i need you to explain to me :)[/U] you …

Software Development
Member Avatar for bubbling bubble
0
117
Member Avatar for Auraomega

I've never used inline assembly shockingly, and I'm just wondering how/if I can do something. Bit of background; I'm coding a basic OS kernel, I have various subroutines written in assembly and amongst others I have a puts subroutine that is an attempt at mimicking puts in C. In order …

Software Development assembly c
Member Avatar for Auraomega
0
124
Member Avatar for beginerC#

Hello everyone! I have a table in acces database named Product(name1(string),name2(string),name3(string),name4(number(decimal))). In a form I use combobox to choose a product after [B]name1[/B] and when I click a button I want to fill some textboxes with the others values of that product. How can I do that? please help me! …

Software Development c#
Member Avatar for beginerC#
0
76
Member Avatar for AutoC

Hi, I have a situation I need help with. I have c++ s/w from two vendors each of whom have given me a library and a header. Only problem is that one of them is compiled with vc++ and the other with g++.I cant use them both in the same …

Software Development c++
Member Avatar for Stefano Mtangoo
0
312
Member Avatar for kazkikay12

IM HERE AGAIN CAN YOU HELP ME PLSS :) i USEd to make a program that will asked the user to enter 7-digits number i should determine the largest,smallest,median and the average.Display also the entered number and its equivalent to binary, octal and hexadecimal value example THE ouput must be: …

Software Development c++
Member Avatar for Stefano Mtangoo
0
102
Member Avatar for kimiko

hey there guys, just starting to learn java and i'm having a little trouble putting code to paper. don't really want to ask the teacher because hes a perv but lets not get into that. okay, i am supposed to make a GUI for electronic voting ballot paper thingy and …

Software Development gui java java-netbeans java-swing
Member Avatar for jon.kiparsky
0
184
Member Avatar for Freespider

hey, i cant understand whats wrong, i guess there is a syntax error or i didnt include something.... i uploaded only the header file... thanks...

Software Development c++
Member Avatar for Fbody
0
1K
Member Avatar for joelogs

we are given the assignment to implement the banker's algorithm in c. this implementation must run in the linux terminal and program must be utilized the os in the time of execution. this means that it must capable on real-time execution with the os. i really don't have any idea …

Software Development algorithm c
Member Avatar for jon.kiparsky
0
1K
Member Avatar for Premsathishbe

We all well familiar that Micosoft and Sun are best rivals Each one progressing in their own events through their products In such cases How Sun micro system given the rights to share the own product with Microsoft product Dot net for developing J#,etc in .Net professional products?

Software Development java
Member Avatar for ~s.o.s~
0
85
Member Avatar for Dean_Grobler

Hi all, Does anybody know what this "WSaction" is? What it does and most importantly how it works? I've tried googling this but hardly found ANYTHING.. I'm busy working with Servlets and as far as I can tell it checks what button was pressed in the HTML form.. But I'm …

Software Development java
Member Avatar for Dean_Grobler
0
104
Member Avatar for tennis

I am not familiar with Java, but I have a question about a Java code which is supposed to find the first non-repeat element in an array. [CODE] Hashtable<Integer, Boolean> positions = new Hashtable<Integer,Boolean>(); int[] elements = {2, 2, 4, 5, 1, 6, 0, 9, 1, 4, 5, 10}; for(int …

Software Development java
Member Avatar for NormR1
0
87
Member Avatar for safee86

// code to read the fasta file import java.io.*; import java.util.*; import org.biojava.bio.*; import org.biojava.bio.seq.db.*; import org.biojava.bio.seq.io.*; import org.biojava.bio.symbol.*; import org.biojavax.bio.seq.RichSequenceIterator; import org.biojavax.bio.seq.io.FastaHeader; import static org.biojavax.bio.seq.RichSequence.IOTools; public class ReadFasta { /** * The program takes two args: the first is the file name of the Fasta file. * The second …

Software Development java
Member Avatar for NormR1
0
306
Member Avatar for aro_kai

helo i am a begineer in java field..and i have to know about image processing so plz help me to get start with java in image processing.

Software Development image java
Member Avatar for NormR1
0
136
Member Avatar for hari.sarvothama

I'm supposed to write a tcp server program which writes into a file a record as structure. The code is given below: [code] int n,i; cout<<"Enter number of student records"; cin>>n; for(i=0;i<n;i++) { cout<<"Enter id,name,average mark"; cin>>r[i].id>>r[i].name>>r[i].mark; } [/code] [code] int i,n1; FILE *fp; FILE *file = fopen("db.dat", "wb"); cout<<"Writing …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
381
Member Avatar for visitor11

i m using dev c++ for opencv i got problems in displaying image here is the code #include "cv.h" #include “highgui.h” int main( int argc, char** argv ) { IplImage* img = cvLoadImage( "M.jpg"); cvNamedWindow( “Example1”, CV_WINDOW_AUTOSIZE ); cvShowImage( “Example1”, img ); cvWaitKey(0); cvReleaseImage( &img ); cvDestroyWindow( “Example1” ); } …

Software Development c
0
83
Member Avatar for jonsan32

ANY advice would help. Even if you just say "It's im/possible" I have a basketball league with 500 teams to schedule every year, and would love a program that would alleviate that 2-week headache. If you know of any programs that can do this, or if you are willing/able to …

Software Development c++
Member Avatar for jonsan32
0
136
Member Avatar for NewOrder

okay, what i am trying to do is to build a chess game. now i am at the begining of the code and i got stuck. i created 6 packages for each piece and one package for the chessboard. now the idea is to create a new array each time …

Software Development java
Member Avatar for NewOrder
0
318
Member Avatar for steveh000

Hi Guys I wonder if you can help me with this I have built an application that reads my forum and grades responses and things and adds them to a database,. When the application is searching my forum the gui is hanging until the search is complete. The front page …

Software Development gui java
Member Avatar for steveh000
0
273
Member Avatar for JaZzAr

hey all plz i need a little help .. look i am studying programing in 4th year .. my question that till now i know how to write any program in C++ but i didnt know how to make it an exe file, like any program found on our disktop …

Software Development c++
Member Avatar for daviddoria
0
75
Member Avatar for Valaraukar

So, I have been working on some code with a group of people/organisations etc. and I've hit a small bump in the road that I thought someone on here may be able to help me with :) I have developed some code that draws 3D towers to represent the amount …

Software Development algorithm c++
Member Avatar for Valaraukar
0
180
Member Avatar for gotnoname

Hi. I'm currently making a little game just for fun and I have something I want to do but just don't know how to go about doing it in a good way. I want to load in a level from a text file where: 0 = Wall (Can't walk here) …

Software Development c++
Member Avatar for !adam
0
148
Member Avatar for Premsathishbe

public static double average( double... numbers ) { double total = 0.0; [B][I][COLOR="Red"]for (double d : numbers)[/[/COLOR]I][/B] { total += d; } return total / numbers.length; } can any one explain the line bold if posseble d program too...

Software Development java
Member Avatar for tong1
0
96
Member Avatar for group256

Hi everyone, I have been playing with a piece of code that is to simulate "shortest job scheduler" for almost 2 days and there is a runtime bug which it's seems I am not able to find. Any help is really appreciated. Here is the code: [CODE] int sjf_scheduler(int number_of_jobs, …

Software Development algorithm c++
Member Avatar for mike_2000_17
0
119
Member Avatar for bchaney

I've got a running and working database that's storing data into a *.sdf sql compact database. it's a fairly simple program and that's all i needed to store the data. is there a preferred report generator that i can run to query compiled data for reports? i've looked at a …

Software Development vb.net visual-basic
Member Avatar for bchaney
0
112
Member Avatar for silvertooth07

i'm having a problem on the program we're tasked to do. originally, the "option" is an int but someone suggested to make it a character. i thought the problem was solved (i want to make the program print: "invalid output" if the user inputted non-numerical values) but when i tried …

Software Development c++ linked-list
Member Avatar for mike_2000_17
0
184
Member Avatar for bninja

Help please I think there is Copy.to function but i cant find it :( I'm using VS2008 Thanks

Software Development vb.net
Member Avatar for pritesh2010
0
1K
Member Avatar for AliSham

hi, i want to proram to serial ports please guide me good resources and links so that i can proceed. Plz in detail tell me how to start . thanks in advance

Software Development vb.net
Member Avatar for ramakrishna.n
0
168
Member Avatar for P00dle

Hi Daniweb. I've been working on a project for quite a while, and posted many problems that I encountered on Daniweb. Thank you to all the users who helped me. Every single one of those problems where solved in less than 24 hours after posting on here. My project mostly …

Member Avatar for P00dle
0
168
Member Avatar for bettybarnes

I have made a form with access database,,, I'd like to have a form that when I add another employee,, EmpID, EmpName, EmpDept, and click the save button it will automatically save as well on the database...I don't know the code to do this..I hope you will help me solve …

Software Development vb.net
Member Avatar for Animal Mother
0
97
Member Avatar for BobbieJean

Hi everyone, I've been debugging my program all night and I just can't quite come up with how to make my counter work. I keep feeling like I'm putting it, or maybe just part of it, in the wrong place so I've been moving it all over the place but …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
300
Member Avatar for jatinder_44

I am using AxMscomm1.output property of AxMscomm in vb.net It Giving error ,that Additional information: Exception from HRESULT: 0x800A017C (CTL_E_INVALIDPROPERTYVALUE). can i get some hlp.

Software Development vb.net
Member Avatar for M.rahul
0
893
Member Avatar for scothy

Hi, I am newbie to developing a windows application using C#. In that index page, when a first textbox text changed, it should automatically add a new field below the first textbox. And if the second textbox ( child control)text changed, it should automatically add a new field below the …

Software Development
Member Avatar for scothy
0
3K
Member Avatar for mobilevb

Could somebody help me with VB code that can send and receive SMS text messages to and from my PC via a GSM modem? I use VB 6 - Enterprise Edition.

Software Development visual-basic
Member Avatar for SRI2SRI
0
228
Member Avatar for ramjeev

Reverse words in the sentence without using any Java API or new array Eg. Input => 'this is the wonderfull island' Output => 'island wonderfull the is this' If any logic, pls let me know -- thanks, ramjeev

Software Development api java
Member Avatar for jon.kiparsky
0
219
Member Avatar for 333kyle333

I asked this before, but I have to ask again considering I still haven't found a way to do this. I need to know if there's a way to take a variable inputted into a C++ program and pass it to the terminal as an environment variable. Again, I'm running …

Software Development c++ ubuntu
Member Avatar for 333kyle333
0
177
Member Avatar for djbhoco

I am having problems with the following code. Here is my assignment for this week, Write the program in Java (with a GUI) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, and the interest …

Software Development gui java java-swing
Member Avatar for jon.kiparsky
0
333
Member Avatar for Maestro12

Please help me guys. Im trying to create a program where i have a car racing a plane. So far everything is alright except my plane won't move and only the car moves. This is my code in VB6 format 'we need two counters to store the number of wins …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
135
Member Avatar for Phenneger

Is there a way to used stored procs in visual studio when utilizing oledb?

Software Development vb.net visual-studio
Member Avatar for Phenneger
0
94
Member Avatar for nur_ahm4d

Hi, I was wonder if someone could give me some help with my program I have a variable: "playing football" and i want to split that into chars like so, 'playing', 'football' can you help me???

Software Development java
Member Avatar for jon.kiparsky
0
242
Member Avatar for ehsantl

Hi folks I'm trying to do my assignment in c++, I suppose to develope a maze traversal using backtracking algorithm. I have to write a constructor for my Maze with this sign. [CODE]Maze(**c, int size); [/CODE] which takes a n-by-n two-dimensional character array. Can you guide how can pass an …

Software Development algorithm c++
Member Avatar for mrnutty
0
800
Member Avatar for KhairilSyahrin

Does anyone know any example of source codes that can receive a string(SCPI String) and send it to a SCPI library/module/commands? For example to those who know, GPIB has their own specific module that can be used in VB and what i need is somewhat that same specific module that …

Software Development visual-basic
Member Avatar for KhairilSyahrin
0
251

The End.