64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for joanam

I am having the following problem: I have written a console application that needs to allocate memory. I am now debugging the program. I do not have any problems the first time I debug. Bu then, when I find an error or the program crashes and the debugging terminates, I …

Member Avatar for eng16danbo
0
128
Member Avatar for nguerrero03

I have an assignment ... but it's really unnecessary to post all the details up. Basically, I have a header file and an implementation file (and I'm supposed to include an application file, but I don't have the slightest clue by what the professor means by that?). I have the …

Member Avatar for Ancient Dragon
0
88
Member Avatar for JoelBox

[COLOR="Green"]Hi, I have a puzzle that is difficult to fix,[/COLOR] My website running drupal on wamp is running fine with Firefox and safari. But IE performance is bad. The symptom, IE performs the first couple of gets, then delays 5 seconds and then the next couple. The total page takes …

0
58
Member Avatar for Tess James

While using header() to pass values to the file that contains the graph code,the image is not shown. Browser says that it contains some error. Am getting all values passed in the 2nd file, still the graph is not displayed. What could be the reason? Please help...

0
92
Member Avatar for Linda1

My homework requires me to write a program for a matrix that bubble sorts in descending order, then multiply by two and output results Tried doing these in different ways, maybe, someone out there can help.. #include <iostream> #include <iomanip> #include < cmath> using namespace std; const int NO_OF_ROWS = …

Member Avatar for Prabakar
0
179
Member Avatar for gabanxx

here are some changes i made to the code.. as always the problem still the same nothing happen... can you figured it out what seems to be the problem....i really appreciate the help Private Sub btnNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNext.Click Dim varConnection As New SqlConnection …

0
63
Member Avatar for MJFiggs

I have been working on this problem so much, I have started to think in Binary. what I am supposed to do is put User defined numbers in acending order. Here is what I tried. (please dont laugh) [CODE]#include <iostream> #include <iomanip> #include <vector> using namespace std; void testSort(int [], …

Member Avatar for MJFiggs
0
117
Member Avatar for WalkmanXD

how to delete objects to free memory ????????????? and when did Garbage Collector work to delete unused objects ????????

Member Avatar for WalkmanXD
0
106
Member Avatar for anbuninja

well im writing a program where the user enters a number from 2 to 1000 and it displays the prime numbers. Its in a loop and i want it to stop when the users enters 'n' or 'N' well when i type n or N the program goes crazy haha. …

Member Avatar for anbuninja
0
118
Member Avatar for javauser215

My program compiles and runs okay, but is not displaying my restocking fee and I am not sure why. Attached is my printout of how it displays. [CODE]//Product.java works with Inventory4.java file import java.util.Scanner; // program uses class Scanner public class Product4 { //Private Variables private String name; //Product name …

Member Avatar for javauser215
0
113
Member Avatar for web_master

Javascripters plz help I have made a little slider below(not perfect i know)....and i have some bugs in it...... help me debug them plz i want 'marq_box' to hide as soon as height of 'slide_box' is less than 219px. therefore i made the function hideInnerSlide(); which ofcourse is wrong that …

Member Avatar for web_master
0
127
Member Avatar for daviddoria

I ran this: [code] cout << "has nan q?" << numeric_limits<int>::has_quiet_NaN << endl; cout << "has nan s?" << numeric_limits<int>::has_signaling_NaN << endl; cout << "has nan q?" << numeric_limits<double>::has_quiet_NaN << endl; cout << "has nan s?" << numeric_limits<double>::has_signaling_NaN << endl; [/code] and I get 0 0 1 1 why would …

Member Avatar for Salem
0
185
Member Avatar for En1ro

This code is in Unit1.h [CODE=C++] struct gydytojas { int gydid, amzius, specialyb, telefonas, asmkod; String vardas[25]; String pavarde[35]; String adresas[50]; friend ostream& operator<<(ostream& os, const gydytojas& obj) { return os; }; friend fstream& operator>>(fstream& os, const gydytojas& obj) { return os; }; }; gydytojas gydmas[100]; [/CODE] And this code …

Member Avatar for En1ro
0
181
Member Avatar for knowledgelover

Hi there, I need to create an INFO file in the setup of an application, and within the application I need to write on that file , actually I did some google, but I did not find article that discuss what I need , specifically if the writing operation , …

Member Avatar for knowledgelover
0
169
Member Avatar for xylude

I wrote a script in PHP that works fine on its own, but when inserted into a document containing CSS does not work properly. I am a newb with the PHP programming, and what I am trying to do is create a simple register/login script. Once the user has successfully …

Member Avatar for xylude
0
341
Member Avatar for TheWhite

I have a JButton with both an ActionListener and a MouseListener: [code=Java] b.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae){ performLeftClickAction((JButton)ae.getSource()); } }); b.addMouseListener(new MouseAdapter() { public void mouseReleased(MouseEvent me){ if(SwingUtilities.isRightMouseButton(me)){ performRightClickAction((JButton)me.getSource()); } } }); [/code] Here are the 2 actions for right clicking and left clicking: [code=Java] performLeftClickAction(JButton b){ //problem …

Member Avatar for TheWhite
0
1K
Member Avatar for OmniX

A quick quesiton (cant seem to get what I want on google - prolly not looking in the right places). I remember using a function that allowed you to reuse a query if it has already been used. I thought it was mysql_free_result($query) and it would let you use the …

Member Avatar for Will Gresham
0
104
Member Avatar for Jennifer84

I have a textBox that I with help of a Button turning to a Gray BackColor like this. textBox1->BackColor = Color::Gray; Under this textBox I have a checkBox. *(with default "checked").* What I am trying to do here is that when I "uncheck" this checkBox, the textBox will turn "Red" …

Member Avatar for Jennifer84
0
144
Member Avatar for leroi green

hey guys. i've got this code where i've gotta separate a full name and tell the user which is which (meaning "this name is first, this name is middle, and this is your last name" type stuff). Well i've got the first part working where the program tells you what …

Member Avatar for danielgee
0
87
Member Avatar for williamrojas78

Hi I am trying to count the rows that has been selected by the user - either with CTRL or SHIFT. The only property that i see is 'CurrentRowIndex' or 'Currentcell' but it only gives me the last selected row even though there are several rows selected. Other than that …

Member Avatar for williamrojas78
0
152
Member Avatar for CodeBoy101
Member Avatar for Taker

Hi Everybody I am in need for help. I have a program which is surppose to allow the user to input a boat and a time and date of hire for that boat. Problem is that the button wont work and i dont know how to get the time in …

0
74
Member Avatar for zwench

Can anyone tell me in simple terms how to create a class Library in VS 2003. It does not have that as an option when you go to add it. Any info would be appreciated. I went in and changed this : <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName …

Member Avatar for zwench
0
124
Member Avatar for to.prakashg

Hi, Following is the code snippet of the JSP file which is gettting populated with all its field data when the application runs into IE7 but does not populated when using FireFox. I am using spring frame work for developing the application. Note: This is not the complete jsp code …

Member Avatar for Thirusha
0
143
Member Avatar for welles

Hello, all, I am pretty new to C++ and I need to write a program for calculating radio propagation path loss based on ray tracing, C++ is used for its faster processing rather than MATLAB. I have a question about passing 2D arrays between functions. One of the files looks …

Member Avatar for welles
0
101
Member Avatar for avtar.sohi

Hi friends, i got this err while executing this procedure. err is like this:- ----------------------------------------------------------------------------- 9/3 PL/SQL: Statement ignored 9/13 PLS-00201: identifier 'DATEADD' must be declared 11/3 PL/SQL: Statement ignored 11/13 PLS-00201: identifier 'DATEADD' must be declared ------------------------------------------------------------------------------ Please have look my stored procedure CREATE OR REPLACE PROCEDURE GReptExprtCompliTestRelt(EntityFolderCode number, …

Member Avatar for avtar.sohi
0
846
Member Avatar for Pgmer

Hi all. im using Textcontrol version14. im able to add pagenumber to the Left top of the page and leftbottom of the page but i want to give the two more options like center of the document and right top and bottomright of the document. but im not getting how …

0
78
Member Avatar for loeto

[code=cplusplus] #include <iostream> using namespace std; int main( ) { float rand, cent, pounds, shillings; cout << "Enter Pounds " << endl; cin >> pounds; cout << "Enter Shillings " << endl; cin >> shillings; pounds =1; shillings =1; // enter amount while both pounds and shillings is not equal …

Member Avatar for loeto
0
171
Member Avatar for punitdam

I m trying to connect MYSQL 4.1.1 from JSP using java. and I m getting error as described below. javax.servlet.ServletException: Extra bytes at the end of class file org/gjt/mm/mysql/Driver org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774) org.apache.jsp.Login100408_jsp._jspService(Login100408_jsp.java:697) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) plz help me I m not getting any solution.

Member Avatar for peter_budo
0
202
Member Avatar for gabanxx

i manage to use the next and previous button in my program..the problem is it only show the last data on my my database that is when i click the next button..same as the previous button... i used the code that was given and fix all the mistake.... but it …

0
71
Member Avatar for gator6688

[CODE]import java.text.DecimalFormat; import javax.swing.JOptionPane; public class PayrollSystemTest { public static void main( String[] args ) { String workerType; String first; String last; String ssn; int month; int day; int year; float salary; float rate; float hourlyWage=0; float hours; float wage; float sales; DecimalFormat twoDigits = new DecimalFormat( "0.00" ); // …

Member Avatar for javaAddict
0
130
Member Avatar for SiPexTBC

Hello, everyone. I'm making a program that will get the install directory for the game world of warcraft. I think it has something to do with the registry, but i'm not sure how to use it. Its located at HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft . How could I turn that into …

Member Avatar for Jx_Man
0
112
Member Avatar for jino

Hi all, I have created an rss xml file and hosted in my website.. I am getting the file when i am opening my site in Internet Explorer, but i am getting this error message when i open the same rss feed in Mozilla firefox.... XML Parsing Error: xml declaration …

Member Avatar for jino
0
385
Member Avatar for alkeshtech

Hey Guys, I want to read from a file. And store the string in a string class array. Number of strings in the file is unknown. How could this be done? [code=C++] int n=0; while(!inFile2.eof()) { string tempStr = getWord(inFile2,n); if(tempStr.length() >=1) { wordCount++; } } inFile2.close(); inFile2.open(inFileName2.c_str()); string wordStr[wordCount]; …

Member Avatar for Ancient Dragon
0
130
Member Avatar for Spagett912

Hey I had notice that my same problem was posted about 6 months ago but remained unsolved so I'm hoping that someone has the answer to my problem. I'm writing a tax program that does the following: For single people, the standard exemption is $4,000; for married people, the standard …

Member Avatar for VernonDozier
0
285
Member Avatar for mrcniceguy

in my website,after someone login,his profile appears. The prolem comes when you shift to another web page and if you want to return to you profile this message appeares (Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no …

Member Avatar for mrcniceguy
0
96
Member Avatar for veledrom

Hi, I can not use below code in stored proc in oracle; [code] IF (SYSDATE = '04-MAY-08') THEN ... END IF; [/code] This doesn't work either way (true or false). Is there any other way to check it? thanks

Member Avatar for veledrom
0
83
Member Avatar for 4ukh

[COLOR="Green"][B]How is your experience with java handling databases? very simple please post your Feedback? thank you[/B][/COLOR] actually i am going to build a library database application; but don't have any idea of handling database with the java!!! and is it possible if you create database table in ms access and …

Member Avatar for 4ukh
0
290
Member Avatar for Jennifer84

I am trying to convert the std::string Number3 = "0.31" to a double in the code below. I have used a MessageBox to show the result. What happens is that double Convert is returning the value of: 0 What I have discovered is that if I instead would have written …

Member Avatar for Jennifer84
0
110
Member Avatar for Soundgarden

Howdy all and anyone who cares to read this. I was hoping you could help me with one small issue I am having. OK to cut a long story short... I need to be able to search through all running process.id and then sendmessage(hwnd, blah,blah, MIN_WINDOW); In other words I …

Member Avatar for Soundgarden
0
254
Member Avatar for leroi green

Hey all, I've got this program where I have to translate a word from English to Pig Latin. I'm sorta on the brink but I'm missing something. the test words are "ant" and "chair" but they should then turn to "ant-WAY" and "air-chay" but i'm ending up with "ant-anAY" and …

Member Avatar for poguemahone
0
233
Member Avatar for Demonoid2008

Hi guys i need to write a program that reads a line from the user and then searches and counts the number of alphabet letters in it and the number of any one punctuation. i figured out how to go through the list of all uppercase and lowercase letters and …

Member Avatar for Demonoid2008
0
280
Member Avatar for zwench

Can anyone tell me in simple terms how to create a class Library in VS 2003. It does not have that as an option when you go to add it. Any info would be appreciated. I went in and changed this : <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName …

0
64
Member Avatar for FreezeBlink

Recently I downloaded Ubuntu v8.04 (Hardy Heron), and was delighted to find Python pre-installed. However, that pleasant surprise was soon dampened by the fact that IDLE would not run, and so I am left without a decent program for coding in Python. gedit works, but lacks pretty much everything except …

Member Avatar for bumsfeld
0
185
Member Avatar for CoolGamer48

Hey, am I correct in assuming that when you declare a function virtual in a prototype, it is illegal to use the virtual keyword again when you define the function?

Member Avatar for Prabakar
0
53
Member Avatar for TheWhite

Alright, well, this is my 2nd post so far... My first problem was easily repaired ( I incremented an i instead of j in one of my for loops... lol ). But this problem is a little more, how can I say, not a visual mistake, but a implementation thing... …

Member Avatar for peter_budo
0
79
Member Avatar for alban08

can someone tell me how to add functions to library of devc++? and how to add a new library?

Member Avatar for alban08
0
135
Member Avatar for BORAX

well to start i am a compleate noob to programing and this time iam going to go a bit deeper to something hard for me!!!! maybe so easy to you guys so lets see if can explain my self and get a head star here...please!!! i realy need this to …

Member Avatar for manal
0
100
Member Avatar for daniel88

Hi guys, I posted earlier today and had my problem resolved in record time, which was great as I had been struggling with the final elements of an assignment. Having received a preview automarking I found that I had one small error. Essentially, the read() function which follows takes an …

Member Avatar for daniel88
0
104
Member Avatar for tondeuse34

Hey guys....I've been doing Python for probably more than 4 months and i have gotten to the point saying to myself "What should i make?" and "How would i do that?" i just don't know where to go know and what to do. I am capable in many things in …

Member Avatar for tondeuse34
0
96

The End.