199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Stefano Mtangoo

please help me with this error: [COLOR="Red"]obj\Release\main.o:main.cpp:(.text+0x1c)||undefined reference to `__imp__CreateCWMp3@0'|[/COLOR] what is missing? I'm trying to compile [URL="http://www.inet.hr/~zcindori/libwmp3/index.html"]this[/URL]

Member Avatar for Stefano Mtangoo
0
242
Member Avatar for timaquerra

Hello, I created a web service to access oracle database. This is my code: [CODE] package mypack; import java.util.List; import javax.jws.WebService; import javax.jws.WebMethod; import javax.jws.WebParam; import java.sql.*; import java.util.ArrayList; @WebService() public class AutoRepairWS { @WebMethod public List getCustomerId(@WebParam(name = "Cust_Id") String Cust_Id){ String user = "****"; String password = "****"; …

Member Avatar for ~s.o.s~
0
199
Member Avatar for jacline

Hi to all, I have a homework about a banking system. I try to adding a branch in an array and the size of array dynamically increased. Here is my code but it gives run time error. [CODE]#include "BankingSystem.h" #include "Branch.h" #include <iostream> using namespace std; BankingSystem::BankingSystem(){ size=0; branches=NULL; } …

Member Avatar for jacline
0
12K
Member Avatar for leegeorg07

Hi again, I'm now working on a twitter client and I'm wondering how people update their programs when it needs it, for example when I commit a change. Any help on the subject would be most appreciated thanks

Member Avatar for Stefano Mtangoo
0
200
Member Avatar for umairraja52

I use ASP with IIS 6.0 but i face error, ASP page not displaying in Interent Explorer while HTML code is working properly. What problem this can be.

Member Avatar for naziatarannum
0
108
Member Avatar for Roybut

Hi, I have this view: [CODE]DROP VIEW digits; CREATE VIEW digits AS ( SELECT TO_NUMBER(SUBSTR(rounded_cost, 1, INSTR(rounded_cost, '.' -1))) left_digits, TO_NUMBER(SUBSTR(rounded_cost, INSTR(rounded_cost, '.' + 1, LENGTH(rounded_cost)))) right_digits FROM roundcost );[/CODE] It allows me to create it but the values stored are apparently not valid numbers. When I try select * …

Member Avatar for naziatarannum
0
130
Member Avatar for Sseeth

[CODE]string lastNames(string name[],int SIZE){ stringstream ss; for(int i = 0; i < SIZE; i++){ ss << '"' << name[i].substr(0) << name[i].erase(name[i].find(',')) << '"' << " "; } return ss.str(); }[/CODE] this is outputting my list of names correctly other than all the names come out twice like "namename" how can …

Member Avatar for Sseeth
0
101
Member Avatar for asmnewbie3

hey all, I'm just starting out with assembly in college and I wrote a program for an assignment to calculate prime numbers, and it works, however if you comment out the line in the code, it gives out this list of numbers: [CODE] 3 is prime 5 is prime 7 …

Member Avatar for NotNull
0
177
Member Avatar for teddy78

I have a code that uses queue in c++ and 3 class Message, MessageSender, and MessageReceiver to express queue content. The program runned but it expressed wrong output as I hope. I inputted 3 message object but queue expressed no messages received. Please help me find errors. I think this …

Member Avatar for teddy78
0
460
Member Avatar for chrisname

I'm still doing some cpuid code; but now I want to get the brand string. I've sort of got about half of it... If you have a browser that supports it; search for "/* relevant */" to seek straight to the relevant part of the code Important edit: if I …

Member Avatar for gusano79
0
125
Member Avatar for mindgames

Does memory allocated for built-in types (in particular int, float and double) with the new operator initialize them to 0 (or 0.0, as the case may be)? Just trying to remember. (I seem to remember that new invokes a constructor even for the built-in types, but i'm not sure).

Member Avatar for mindgames
0
82
Member Avatar for jeby

after deleting 2 ,55 and 21 ..am getting only in in-order how do i make other 2 oders package com.eyc.roughworks.binarysearchtree; import java.lang.*; import java.io.*; public class pBSTRemoveNode { public pBSTRemoveNode left, right; public Comparable data; public static pBSTRemoveNode tree_AddNumber(pBSTRemoveNode r, Comparable n) { if (r == null) { r = …

Member Avatar for jeby
0
105
Member Avatar for 9107you

i just started the course but teacher gave me this amazingly hard question for to start with he said it's some sort of challenge question im not just asking you for the answer but i think i need LOTS of // The "Taxesforresidents" class. public class Taxesforresidents // The "Taxesforresidents" …

Member Avatar for javaAddict
0
120
Member Avatar for Stefano Mtangoo

Hi all, I use codeblocks to compile a simple project (actually an example) from [url]http://www.inet.hr/~zcindori/libwmp3/libwmp3.html#playc++[/url]. I have included the .h file and I fail to include .lib/.a I keep getting error[color=red] ld.exe||cannot find -libwmp3|[/color] Is there a missing thing?

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for NitaB

Just wanted to say thanks to everyone who gave input on that horrid assignment I had a couple of weeks ago! Anyway, I am back with new problems. To start, I just want help correctly writing out one particular void function which I am calling readLetters. Okay, so I wrote …

Member Avatar for NitaB
0
708
Member Avatar for carobee

Hi, I have created a temporary @table and while inserting ,i am using dynamic sql.But this is not getting executed and throws an error that "EXECUTE cannot be used as a source when inserting into a table variable" i am using SQLServer2005. Dont know where i am going wrong [code] …

Member Avatar for jbisono
0
2K
Member Avatar for MRWIGGLES

if i had a data file with html/xhtml tags: Code: <html> <head> <title> data file </title> </head> <body> <center><h1> heading 1 </h1></center> <b>bolded</b> <P>paragraph</P> <P> <br /> how would get a python program to read ONLY the start and end tags and and enqueue them in a queue? for example, …

Member Avatar for vegaseat
0
214
Member Avatar for jrosh

I am designing a database system to store salary information. It includes different tables (salary,personal info , ect) I want to make it use for different companies. Also i want each set of data to be separated. (by company wise). (i.e. i dnt want all the employee names of every …

Member Avatar for Gilette
0
136
Member Avatar for 9868

Hello everyone, Here's my code for making a dynamic array(the user inputs the size of the array). It's working fine but I think that I've not made the best code. Is there any suggestion for improvement or optimization? [code] #include <stdio.h> #include <stdlib.h> int main(void) { int *p; int n,i; …

Member Avatar for Narue
0
94
Member Avatar for dorotalp91

a do-while loop!!! sorry [CODE] import java.io.*; import java.util.*; public class guessing { public static void main (String args[]) { int answer = 22; System.out.print("Enter your guess, if you are correct you will be a winner "); Scanner guessReader = new Scanner(System.in); int Input = guessReader.nextInt(); { if (Input< 1 …

Member Avatar for donaldw
0
109
Member Avatar for StarZ

I'm suppose to do this using sorting algorithm..so it asks to creat a friends database application that maintains a file of friend objects that contain names, telephone numberrs, and email adresses..etc. The friends application should load friend records from a file and then allow the user to add new friends, …

Member Avatar for javaAddict
0
1K
Member Avatar for T-Dogg3030

I am trying to use an array that can change in length by the number in the command line. Arrays must be constant at the time of declaration. Can anyone help? [CODE] using namespace std; int main (int argc, char *argv[]) { int nulls=atoi(argv[2]); int arry[nulls]; } [/CODE]

Member Avatar for Narue
0
199
Member Avatar for leoeroy

I'm trying to make a program that will compare the results in calculating the Cosine with powerseries method and Math.cos method. This is what i have. [CODE]import java.util.*; class Cosine{ public static void main(String[] args){ int degrees = 0; Scanner myScanner = new Scanner(System.in); while(true){ System.out.println("Enter some integer value of …

Member Avatar for leoeroy
0
2K
Member Avatar for neosonic

Hi All, Thanks for your continuing helps and supports, I really love this forum. (and somewhat depended on it). I have got program written in vb6, this program provide the calculation and links to microsoft access and microsoft words. This program soon will be integrated with microsoft visio or other …

Member Avatar for vb5prgrmr
0
142
Member Avatar for prilton

hi everyone, i'm new here also new in c#.Please help me to re-populate my listview in form1 from the database when i close form2(modal). is is from form2 formClosing event [CODE]private void Client_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = false; ClientInfo a = new ClientInfo(); a.displayClient();//displayClient() is responsible for displaying …

Member Avatar for Geekitygeek
0
125
Member Avatar for Es Sayen

hello, when user slect an item from combobox, then its corresponding data should be displayed in the textboxes and labels placed on the form. like if i select a rollno then the name, address, age should appear on the form. kindly, let me know the code for this. Thanks in …

Member Avatar for abdalla_92
0
1K
Member Avatar for girl.java

hi how are u all this is my program [CODE]import javax.swing.*; public class Qustion2 { public static void main (String args[]){ double x =2/3; double y = (3*x*x)-(8*x)+4; JOptionPane.showMessageDialog(null,"At x= " + x +" the value is " + y); } }[/CODE] Mathematically when i substitute x =2/3 i get …

Member Avatar for donaldw
0
120
Member Avatar for Clawsy

Please someone help me... why image panel not showing that image in the frame: [code] //image panel class import java.awt.*; import java.awt.image.BufferedImage; import javax.swing.*; public class ImagePanel extends JPanel { private BufferedImage img; public ImagePanel(BufferedImage img) { this.img = img; Dimension size = new Dimension(500,500); setPreferredSize(size); setMinimumSize(size); setMaximumSize(size); setSize(size); setLayout(null); …

Member Avatar for Clawsy
0
205
Member Avatar for Peric

Thing is... I'm trying to insert a new records into database, one of those records is a "datetime"...when I type a wrong date, and try to insert those values into database, i get an error (about wrong typed date etc.)...ok, that's fine, things need to work that way. But here …

Member Avatar for Peric
0
217
Member Avatar for djscratch

I've new to .NET. I'm trying to add a button dynamically with an event. Initially, I have a button with a click event. The original button's click event response writes a test message and adds a button. The new button has a click event attached with a test message. Unfortunately, …

Member Avatar for djscratch
0
112
Member Avatar for vgkarthi

Hi one of my friend have this problem.. it will be helpful if we can give him a solution. The session is set for 10 min .. but for one particular page the session must be extended and for other pages it must be set as before.. or resetted so …

Member Avatar for vgkarthi
0
115
Member Avatar for Camzie

Hi there Iam busy creating an .ini file for an application, but it is throwing a null pointer exception the whole time and can't seem to figure out what the problem is. Why would it throw such an error and what does it mean? Could you please help me? Will …

Member Avatar for JamesCherrill
0
152
Member Avatar for sufi8

Hi i came across a problem with for my GUI project. for my class project i am designing an appointment calendar. for the layout i am using absolute positioning. so when i run my login class, some times the frame pops-up to a weird default Java frame (not re sizable) …

Member Avatar for sciwizeh
0
77
Member Avatar for lacompsr

The board game scrabble works by assigning points to wooden tiles arranged in cells on a board. It's described here:[url]http://en.wikipedia.org/wiki/Scrabble[/url]. We'll simplify this considerably, and consider the following question. We begin with the letter-scoring scheme from Scrabble: a = 1, b = 3, c = 3, d = 2, ..., …

Member Avatar for lacompsr
0
618
Member Avatar for dmkc

hi everyone, I've written some code that displays information from a database. However, I added more code that would display a "no records found" message, should the area be blank. The code displays the records perfectly, however if there are no records returned it doesn't show the "no records found" …

Member Avatar for dmkc
0
104
Member Avatar for P00dle

I have to read through a text file and replace all occurences of [CODE]%%CNT1%%[/CODE] with the value of a counter. The part of my code that does the actuall replacements looks like this: [CODE]for i in range(1, (count1 + 1)): out.writelines(re.sub("%%CNT1%%", str(i), text))[/CODE] This works fine. Now what I need …

Member Avatar for P00dle
0
66
Member Avatar for amr123

Hey guys, i am writing a couple of programs but I have some problem with the basic one... can you please provide me with a 24 hour clock which has hour, minute and second? also it should have the ability to set the time.. your help is highly appreciated...it is …

Member Avatar for Ancient Dragon
0
188
Member Avatar for basilc

Hey there, first time posting. I have a program that is kinda put together from a program to generate polynomials and evaluate them and a program to do bisection to solve for the root. It may be a mess. The problem is, i believe, when I try to use the …

Member Avatar for programmersbook
0
159
Member Avatar for sidd.

hi i have a graph which i have to zoom in and zoom out dynamically. i have drew the graph in a panel. any ideas plzzzzzz

Member Avatar for Geekitygeek
0
97
Member Avatar for sheehab

Hello... I try to do like this.. But I still ther are some errors...... I don't know how I solve them Could healp me.. please This is my code [CODE] import javax.swing.JApplet; import java.awt.Color; import java.awt.Graphics; import java.io.IOException; import java.io.*; import java.util.Scanner; import java.awt.*; import java.io.FileNotFoundException; public class colok__ extends …

Member Avatar for javaAddict
0
162
Member Avatar for ivanhny

I'm a student having trouble with creating two vectors of objects for a homework assignment. The first vector creates fine, and prints out the values it imports (readM). The program hangs on the second vector(readT). I've checked the text files and they seem ok. I even tried substituting a simple …

Member Avatar for jonsca
0
155
Member Avatar for UberJoker

Hey guys. I apologize for my sloppy code. But it got a bit longer than i expected so i stopped bothering about giving meaningful names to Variables later on in the program. Below I have a AVL tree(atleast that's what I intended to write). But my approach to it was …

Member Avatar for UberJoker
0
115
Member Avatar for parthmishra

i hv to save some data in my sql table .. bt there is same prblm in my coding.. will you tell me the correct coding for this problem??

Member Avatar for mughil
0
124
Member Avatar for rahultorka

We have .net application installed on production server. It is using .net FrameWork 3.0 on windows server 2003 with RAM 4 GB. But there is a problem in application while running sometimes it throws system out of memory exception. I am very frustrating with this. Also I am unable to …

Member Avatar for Ramesh S
0
213
Member Avatar for justM

Hi I am trying to tokenize a string from a file. The file contains two lines that have different info. I need to tokenize the lines separately and compare the results of each line. Now, I think my problem is identifying the separate lines to perform operations separately [CODE] /* …

Member Avatar for justM
0
99
Member Avatar for facadie

i can't find the code to read for particular info from textfile. is that even possible? eg. [data store in text file] 01/11/2009 12:30:22,1 01/11/2009 12:35:22,2 01/11/2009 12:55:22,1 01/11/2009 13:30:22,0 01/11/2009 13:59:22,1 01/11/2009 14:30:22,0 02/11/2009 15:30:22,1 02/11/2009 15:45:22,0 02/11/2009 16:30:22,1 02/11/2009 16:55:22,0 and i'm calling the date 01/11/2009 so the …

Member Avatar for sathishkumar.j
0
60
Member Avatar for mr_scooby

hello, I have this form which has 4 fields that must not be empty on submit, I been trying to make an array that checks them. [code] <form action="login.php" method="post" onsubmit="return(checkAll(this))"> <label>Username<br /><input id="input[]" type="text" name="username" /></label><br /> <label>Email<br /><input id="input[]" type="text" name="email" /></label><br /> <label>Password<br /><input id="input[]" type="password" name="pswd1" …

Member Avatar for mr_scooby
0
745
Member Avatar for Iam3R

hi , i have read that c99 introduced: inline,_Bool,restrict,_Complex,_Imaginary i have used _Bool here but do no how to use remaining all please any one used the above can help me. [CODE] int main() { _Bool b; b=true;// giving error true undeclared ,cant i use that way // with out …

Member Avatar for Iam3R
0
2K
Member Avatar for ganmo

Hi I've been struggling with this for a very long time now. And I can't seem to get it done. I want to make an array, dynamic allocted array. Which act something like an vector (I know c++ has vector). So my approach was to create a [B]list_add() [/B]function. Its …

Member Avatar for mrnutty
0
127
Member Avatar for dskumar_85

Hai i want to send sms from website any one explaine about that , ya i download some model projects but all the project send sms by using web services , i am working with asp.net C#, so help me out friend's

Member Avatar for dskumar_85
0
61

The End.