132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for saisakthi

Hello friends, Forgive me If I am posting this on a wrong Section. I am developing an application in Android. In that I need to compare a Audio file with the Audio input(Singing Voice input) and tell that whether that is same song or not. So I dont know which …

Software Development android audio java
Member Avatar for quuba
0
245
Member Avatar for missc

what is the best regex to validate email. i would like to validate it to be a valid email not ex : [email]abcd@efgh.ijk[/email]

Software Development email regex
Member Avatar for missc
0
125
Member Avatar for kas04

The Predator‐Prey game is a simple board game where bugs (predators) and ants (preys) move freely across the board. The following is a description of the game rules: -Predators and preys move on a 2‐dimensional closed grid -Predators and preys are not allowed to move outside the grid -The game …

Software Development c++
0
120
Member Avatar for weblover

Hello everyone i have a text file that contains something like this. [CODE] 1 AC AT RR cOO 2 EE cFF HGB cEVY 3 WDU RWS cTY NBE [/CODE] but it contains a lot of rows and that's an example of the data what i want to do is to …

Software Development shell-scripting
Member Avatar for weblover
0
139
Member Avatar for uselessninja

hi everyone i had a problem: my boss wants a program that can "determined a file if it is the beggining data or not(in the database)" and "calculate the time interval between the first data and the next data..and having an 10 minute interval before it proceeds to a next …

Software Development visual-basic
Member Avatar for uselessninja
0
92
Member Avatar for custurd122000

The compiler only displays a portion of the output and then it exits this is what it compiles: [code] =============================================== Operations on Empty lists: =============================================== Size = -886911509 Length = 0 empty list: Sum of two empty lists: Program received signal: “EXC_BAD_ACCESS”. sharedlibrary apply-load-rules all stringlist(2449) malloc: *** error for …

Software Development c++
Member Avatar for ravenous
0
475
Member Avatar for __Art

Hello everybody!! I'm trying to print a *.pdf file from Java code, and the printer out gives the right document, but smaller than the original pdf (smaller text, images, margins, everything), the print result seems shrinked from the original... Here is the code I'm using: [CODE] File f = new …

Software Development java pdf printer
Member Avatar for sbhavan
0
416
Member Avatar for tucker001

I need to make an interactive program in Python that will start by asking the user to enter a list of numbers and then it will display the following menu. 1-Find The Maximum 2-Find The Minimum 3-Find The Average 4-Exit Please Enter Your selection Your program will accept a number …

Software Development python
Member Avatar for predator78
0
316
Member Avatar for jero-skyer

i need to make a program windows application to insert an image and when the mouse is over the image a new form or frame get visible with a new image can some one explain stet to step of how to do it plz

Software Development pascal
Member Avatar for jack4321
0
78
Member Avatar for gladtoplay5

I have been working on some code that calculates your BMI and then puts you into a category based on that. every time i try and run this program it either tells me that I am in the underweight class or the average class and I have no idea why …

Software Development c++
Member Avatar for WaltP
0
102
Member Avatar for abelLazm

hi... I am using sorted dictionary to add nodes in a hierarchy but i have to show multi-parent multi-child relation but sorted dictionary doesn't allow duplicate entries :( is there any way if yes please suggest I will be honored Thanks in advance

Software Development programming-construct
Member Avatar for abelLazm
0
161
Member Avatar for sfuo

Hey I am running into a problem with CoCreateInstance() in a program that I am using to try to disable all the network adapters. When I try to use [CODE]hr = CoCreateInstance(CLSID_ConnectionManager, NULL, CLSCTX_LOCAL_SERVER | CLSCTX_NO_CODE_DOWNLOAD, IID_INetConnectionManager, reinterpret_cast<LPVOID *>(&pNetConnectionManager) ); [/CODE] I get two errors. undefined reference to `_IID_INetConnectionManager' undefined …

Software Development c++
Member Avatar for sfuo
0
392
Member Avatar for ghost_from_sa

Hey guys I've been asked to create an array of objects on the heap for my assignment but I cant seem to find any examples that explain it well enough on the web. So what I got is: [CODE]//Heabder File class Wheel{ public: Wheel() : pressure(32) { ptrSize = new …

Software Development c++ oop programming-construct
Member Avatar for ghost_from_sa
0
191
Member Avatar for munitjsr2

[code] #include <iostream> #include <vector> #include <algorithm> using namespace std; class A { public : void getData(); void putData(); bool operator==(const A &) const; private : int x; char name[90]; }; vector< A > v; void A :: getData() { cout << "id = "; cin >> x; cout << …

Software Development algorithm c++
Member Avatar for mike_2000_17
0
2K
Member Avatar for lianpiau

The problem is Red color there. when add record into table. I want have same LoadingNo but different RecNo. But I'm using this only can add record until 2 only. Expert please help me!! [CODE]private string CalculateNewRecordNumber(string record) { string[] data = record.Split('/'); DateTime currentDate = DateTime.Today; int recordYear = …

Software Development dataset
Member Avatar for lianpiau
0
206
Member Avatar for ceyesuma

When I parse this date: [code] SimpleDateFormat sdf = new SimpleDateFormat(); Date utilDate=sdf.parse(txtFieldArray[i].getText());//12/31/1955 java.sql.Date sqlDate=new java.sql.Date(utilDate.getTime()); instructorBean.setStartDate(sqlDate); [/code] error [code] May 9, 2011 7:10:43 PM view.forms.profileForms.InstructorProfileForm actionPerformed SEVERE: null java.text.ParseException: Unparseable date: "12/28/1955" at java.text.DateFormat.parse(DateFormat.java:337) [/code] Can someone show me some code on a date that can be parsed?

Software Development java
Member Avatar for ceyesuma
0
457
Member Avatar for fadi_1234

how to rand between three integer num1 num2 num 3

Software Development c++
Member Avatar for mrnutty
0
137
Member Avatar for woody0114

alright I need help and at this point I am desperate. Been working on this for a couple of days, mostly typing and then hitting the Edit/undo! This is a homework project. What the project is supposed to do is: 1. open a text file(einstein.docx) 2. Prompt user for a …

Software Development c++ encryption ios
Member Avatar for woody0114
0
939
Member Avatar for predator78

Well I been studying like a rabid dog foaming at the mouth since I have a higher level language under my belt and my initial failiure at c++ as a first language. Anyway getting near the end of my first little tutorial and have a few more questions. 1. I …

Software Development c++
Member Avatar for predator78
0
151
Member Avatar for GhostMonkey

Hey, I've got my code finished but I need a working exe file but I cant find where it is. The only files I have are the source codes and a sql server compact edition database file whatever that is, which I cant open. Anyone know where I can get …

Software Development c++ open-source
Member Avatar for GhostMonkey
0
116
Member Avatar for spunkywacko

Hey guys, I'm kinda late on a college project and being kinda noobish to C# doesn't help either... Anyway: [CODE] using (XmlReader reader = XmlReader.Create("myXml.xml", settings)) { reader.MoveToContent(); reader.ReadStartElement("users"); while (reader.ReadStartElement("user")) { string userID = reader.ReadElementContentAsString("userID", ""); string userName = reader.ReadElementContentAsString("name", ""); reader.ReadEndElement(); lstContent.Items.Add(userID + " : " + userName); …

Software Development xml
Member Avatar for spunkywacko
0
231
Member Avatar for cmart

Can someone give some advice on this Tic tac toe game i'm trying to make with vb, it would be greatly appreciated. I am a total newb, and I know this code is probably terrible, I'm just trying to do what I know and see if I can make some …

Software Development visual-basic
Member Avatar for BitBlt
0
107
Member Avatar for jimmymack

[CODE]// rational.cpp - Script 9.5 #include <iostream> #include <string> // Declare the class. class Rational { public: // Constructor: Rational(int num, int denom); // The overloaded methods that implement // arithmetic functions: Rational operator+(Rational rhs); Rational operator-(Rational rhs); Rational operator*(Rational rhs); Rational operator/(Rational rhs); void print(); private: // normalize() will …

Software Development algorithm c++
Member Avatar for jimmymack
0
119
Member Avatar for jimmymack

[CODE]// rational.cpp - Script 9.5 #include <iostream> #include <string> // Declare the class. class Rational { public: // Constructor: Rational(int num, int denom); // The overloaded methods that implement // arithmetic functions: Rational operator+(Rational rhs); Rational operator-(Rational rhs); Rational operator*(Rational rhs); Rational operator/(Rational rhs); void print(); private: // normalize() will …

Software Development algorithm c++
Member Avatar for jimmymack
0
155
Member Avatar for sciprog1

Hello Members, Given an undirected Graph, G, is there any standard algorithm to find the value of k, where (k-1) represents the number of vertices whose removal results in a graph that is still connected and the removal of the kth vertex makes the graph disconnected? Thank you! sciprog1

Software Development algorithm java
Member Avatar for sciprog1
0
73
Member Avatar for Sonia11

I am working on a program in which everyting is perfect except Unhandled exception at 0x0041180c that I am getting at run-time and the location its specifying at is: [CODE]void candidateType::setVotes(int region, int votes) { votesByRegion[region-1]=votes; }[/CODE] I have checked it numerous times but still not getting it. Any help …

Software Development c++
Member Avatar for mike_2000_17
0
174
Member Avatar for jimmymack

So I have a book on C but have Dev-C++ IDE and was wondering if I could learn C from that book whilst using the Dev-C++ IDE? Many thanks in advance!!

Software Development c++ ide
Member Avatar for TrustyTony
0
537
Member Avatar for dangari

Hi guyz. My challenge is that I can manually run the following command from linux shell: [CODE] sh /usr/bin/sshlogin.sh 192.168.0.37|danga|dan1ga|java -jar /shared/smsfiles/coin/MySSH.jar [/CODE] successfully. The challenge from java is getting the same command to run. The snippet of my code that handles this is as follows, though it does not …

Software Development java
Member Avatar for mKorbel
0
1K
Member Avatar for tundra010

Hello! I have just started learning assembly language, and I have decided to use the NASM assembler. I made a small program, included below, that is supposed to take a number, add 5, and print out the final result. The program correctly prints the prompt, and takes a value, but …

Software Development assembly daniweb-bug
Member Avatar for tundra010
0
244
Member Avatar for helpfullProgram

Hello everyone! I have found a really weird result when I display a 2D texture (with GL_QUAD) on the screen at a different size to what it normally is: E.G when I display a 64x32 image(texture) on the screen at 128x64 and it contains an alpha channel the pixelated borders …

Software Development c++ opengl
Member Avatar for helpfullProgram
0
262
Member Avatar for tothushara

hi :lol: friends hey i need a help from ul..to complete my projects can u tell me how to write a visual c#.net program to run an exe file to update its old version ;) thanks all thushara

Software Development
Member Avatar for arcade_1945
0
136
Member Avatar for triple_A

Hey all. I am trying to make a program that consists of two list boxes. The first list box contains the names of several employees of a given company, and the second is to display the name, department, ID number, and phone number of the person when the name is …

Software Development vb.net
Member Avatar for triple_A
0
178
Member Avatar for jimmyo88

[CODE]void EmployeeSearch() { vector<string> file; string temp; ifstream infile("GROUP.txt"); while( !infile.eof() ) { getline(infile, temp); file.push_back(temp); } // done reading file infile.close(); string item; cout << "Enter an employee number to delete from the file: "; getline(cin, item); for(int i = 0; i < (int)file.size(); ++i) { if(file[i].substr(0, item.length()) == …

Software Development c++
Member Avatar for jimmyo88
0
238
Member Avatar for gingerfish

i know how to add many things into arraylist at once, like: [CODE] String [] things = {"eggs ", "pie ", "lasers ", "hat "}; List<String> list1 = new ArrayList<String>(); for (String x: things) list1.add(x); [/CODE] but is there a way to add things into arraylist iteratively one by one?

Software Development java
Member Avatar for JamesCherrill
0
170
Member Avatar for I<LateNupurGuha

[INDENT]We know that out of local variables if no initialization is provided, a default initialization takes place [B][I]at the time of[/I] class loading [I]or[/I] instantiation[/B]. :icon_rolleyes:But the question is [U]where it takes place in a programming code?[/U] Either [COLOR="Green"]it is after the declaration then and there to protect and optimise …

Software Development java
Member Avatar for jon.kiparsky
0
155
Member Avatar for gingerfish

hey guys, when do we use "long"? and what is it anyway? like: [B] public [COLOR="Red"]long[/COLOR] someStuff([COLOR="Red"]long[/COLOR] n) { ..... ..... } [/B] thanks :)

Software Development java
Member Avatar for gingerfish
0
151
Member Avatar for Rocker Gang

Can anyone tel me the implementation of typeid operator and how its returning typeinfo reference.......

Software Development c++
Member Avatar for mike_2000_17
0
156
Member Avatar for stereomatching

compiler : g++ of gcc4.5.2(minGW) os : windows xp sp3(32bits) [code] template<typename T, template<typename> class CONT = AccumulationTraits > class Accum { public : static typename CONT<T>::AccT accum(T const *beg, T const *end) { typename CONT<T>::AccT total = CONT<T>::zero(); while(beg != end) { total += *beg; ++beg; } return total; …

Software Development c++ legal
Member Avatar for stereomatching
0
149
Member Avatar for emilmicho

I am in a huge need of having a simple mastermind game made in groovy. I will be very thankful for any help Thank you in advance

Software Development
Member Avatar for TrustyTony
0
177
Member Avatar for hueikar

Hi, i am currently doing a system for the rental video. I am new to java coding.. Problem is how to add data to access database using java coding in method? Thank you.

Software Development java
Member Avatar for hueikar
0
193
Member Avatar for l1nuxuser

hello everybody. i bulding now a software with a data-base i am using MFC lib. i need help how to add, edit & use data base in vc++ tks biny.

Software Development c c# c++
Member Avatar for Ancient Dragon
0
204
Member Avatar for missc
Member Avatar for TheJohnSpecko
0
87
Member Avatar for bpushia

This is my GPA Calculator, for a homework assignment. Please share what you would have added or remove from the code. Arrays is a requirement in this code. [CODE=c++]# include <iostream> using namespace std; int main () { float b [100], c [100], a, a1, average_GPA, total_credits, Cummalative_GPA; cout <<"Enter …

Software Development c++
Member Avatar for Narue
0
6K
Member Avatar for Morten Brendefu

Dear knowledgeable ones A new problem have arisen. I have now an SQL database file with about 100 tables in it. I would like to automatically go through all of these tables and check if the column "Owner" exist. If this field does not exist, then it should be created …

Software Development delphi pascal sql
Member Avatar for Morten Brendefu
0
170
Member Avatar for \007

I have been reading a textbook on Java-- I am a C/C++ programmer so my view of addresses and pointers are based on what I know from those languages. I am trying to make sense of something the textbook said about object addresses. The textbook basically said when one object …

Software Development java
Member Avatar for \007
0
122
Member Avatar for computerbear

Here I am again for my weekly Sunday night help. Sigh. How can I pass my error message into my exception? Thanks. Let me know if you need to see more of the code. [CODE] /* Create an error message that is passed to the Exception class constructor for the …

Software Development
Member Avatar for C#Jaap
0
134
Member Avatar for jmurph333

I am creating a game that requires me to change the background color of a panel, wait 1 second, then change it back. The code I tried was: [CODE] button1.BackColor = Color.Blue; System.Threading.Thread.Sleep(1000); button1.BackColor = Color.DimGray; //Dim Gray is the original color [/CODE] When I use this code it never …

Software Development
Member Avatar for jmurph333
0
131
Member Avatar for johnt68

Hello :icon_neutral: I am doing a test to return payment details - but seem to be having a problem with the card number. When I run the code below I get an error saying that it is too large or small to be an integer. If I make the variable …

Software Development
Member Avatar for johnt68
0
140
Member Avatar for Olifant

a code that presents a good interface for apassword and user name

Software Development c user-interface
Member Avatar for Moschops
0
103
Member Avatar for Dean_Grobler

I understand this is not Java related, but since [B]a lot[/B] of Java Developers out there use Netbeans as their IDE. I figured that I'll get help here easier. Anyways, I downloaded Netbeans 7 (the full version), and tried installing it on Windows 7. The installer starts, and right after …

Software Development ide java java-jsp java-netbeans
Member Avatar for mKorbel
0
270

The End.