199,114 Archived Topics
Remove Filter ![]() | |
Everything compiles no warnings or errors, but after I run this I get a core dump if I uncomment "delete [] a;" at the end of the main() function. It seems to run correctly if I leave "delete [] a;" commented out? Any suggestions will be appreciated. [code=C++] #include <iostream> … | |
Hello i need to request an order form done in PHP. Simular to hp.com's computer order form, and dell.com. I like HP's more so if you don't mind making a replica of that. All i want is the order form not the full site. I would like it were i … | |
this is the final version of the priority queue i implemented {with some of your help!}... the problem is that when i profile the code with valgrind, it shows that i have a memory leak.... i can also see that, if in my code i make certain test_points{where i pause … | |
i am developing a project using jsp & servlet. i want create a xml from result set using document builder but when the servlet is executed it displays the Http Status 500 error tell me what to do . where to place that xml file is there other for writing … | |
Okay so say I have an array which is like this: [code] .data values: .half -17 .half 16 .half 153 [/code] and I want to print it as -17 16 153 How do I do this?? If it is stored in a 4 byte of integer then it would be … | |
OpenFileDialog seems to only allow files to be selected. Is there a variation of this dialog that allows you to select a folder? Thanks, Scott | |
i just want to know if it is possible in SQL select statement to have more than one column to be compared for the searchstring(recordsource) like for example select * from [Tablename] where lastname like ... AND firstname like ... because the VB is giving me a run time error … | |
where can i find sites dedicated to php tutorials only. | |
How to calculate time complexity of the following piece of code?? [code] assume n= 2^k i=n; while (i>=1) { j=i; while(j <= n) { <body>> // Needs theta(1) j=2*j; } i=i/2; } [/code] | |
Hello, I need to complete a selection sort (descending order) on a string that contains 3 letters and one number. This is the function I wrote so far, but it doesn't sort properly. It is sorting, but I can't figure out its scheme. Any tips? Thanks! (The arrays are parallel. … | |
hey guys. the following code should return a percentage of the current values of the object. I keep getting 0 returned. If this isn't enough code let me know. [code]Money test = ourAmount.percent ( 10 ) ; test.output ( ) ;[/code][code]const Money Money::percent ( int percentFigure ) { return ( … | |
Ok... i've learned intermediate ASP and am like bored to learn the rest. Nothing really driving me to learn it, so i decided to switch my efforts to php. I personally think it's more important to know an intermediate level of more languages, so if you ever have to do … | |
I am currently working in Vb6 and ASP 2.0 and planning to switch to .Net. I have very little knowledge about it, so would be obliged if someone offers some answers to these Qs. 1. What software do I need ? MS Visual Studio.Net ? 2. Can I have VB6 … | |
Hello everyone.. I small snippet about me. This is my first post, and I just decided to start coding in C++ a couple weeks ago, so needless to say, I'm a newbie. I bought a Beginning C++ book to help me with initial concepts. On to the reason for my … | |
[code] #include <iostream> #include <string> using namespace std; int main() { string names[4] = {"Anna" , "Jenny", "George" , "Michael"}; int score[4]; for(int i = 0; i < 3; i++) { cout << names[i] << ": "; cin >> score[i]; cin.ignore(); } //sort by score for ( int i = … | |
Sorry about that. Please help here. Extremely important. It says I need to declare the "i" in scores[i] But im not sure what to do. [code=cplusplus] #include <iostream> #include <string> using namespace std; int main() { //Declaring variables string names[3] = {"John","Anne","Mary"}; int score[3]; int points[3]; //Ask for scores. cout … | |
Can ya'll take a look at this? [code=cplusplus] #include <iostream> #include <string> using namespace std; int main() { string names[3] = {"John","Anne","Mary"}; int score[i]; cout << "Enter Scores" << endl << endl; cout << "Anna Marie: "; cin >> score[i]; //sort by score for ( int i = 0; i … | |
i'm doing a budget calculator for my assignment. and now i'm facing the problem about how to load or save the data i type in the textbox into mdb...? i already had one simple mdb for login process...(containing username and passwords) i hope to do sth like when User A … | |
:sad: Write a C++ template class Nvector that enables arrays with negative subscripts to be defined. The class should be usable in the following code fragment: [code]Nvector<double> a; // instantiate double array class a.resize(-10, 10); // allocate array from locations -10 to 10 for(int i=-10 ; i<=10 ; ++i) a[i] … | |
Hey, I'm new to programming and I was wondering if anyone could tell me how to create a simple Yes/No interface for a program so I can figure out how to do things like that... | |
the new algorithm will consist of combining Huffman and Shannon-Fano coding system, which will be later translated in C language. Any proposals??? | |
I wonder if anyone can help with this problem I have I'm trying to create a shopping cart with session variables, there are 5 buttons on the form and by clicking 1 of these displays the relevant product and price in session variables in textboxes on the next form, the … | |
hi guys i have a proble to solve but i do not have a clue what the problem is asking me to do i need some help. i allready know this that a fibonacci sequence i generated by the fuction Fn=fn-1+Fn-2 but the problem says that i need to to … | |
thank you for reading the thread. I need the help for my problem. This is the question I am stuck with. Memory contents in IAS computer. Address////////Contents 08A//////////////010FA210FB 08B//////////////010FA0F08D 08C//////////////020FA210FB the question is Show the assmbly code for the program explain what this program does. I really dont know the … | |
Hi, I have datatable with three rows of data that will increase I want each row to fill lables, checkboxes and textboxes on their own tab of my tab control I have created a Template tabpage but when i try to add the other dynamic tabpages they are all blank … | |
I am trying to display MySQL query results dynamically in a table. Based on the query, the table will have a maximum of 3 columns and 15 rows. I would like to have the results display as follows: Record 1 Record 16 Record 31 Record 2 Record 17 Record 32 … | |
I am creating a real estate site and on the navigation tab it reads "search for your property" When you click it opens to my search page with all my contact info. I have an address the mls search group provided, but I want to have it open when my … | |
Why you specify type and name of the exception in your custom exceptions, but not in python built in exceptions? except IOError: print "no file by the name ccy_rates*.txt" except MyError, e: print e.msg | |
I need help figuring out how to get the value of my text boxes into the variables I have declared (in bold) , any suggestions would be appreciated: (/code) Option Explicit On Option Strict On Imports System.Convert Public Class frmMain Inherits System.Windows.Forms.Form [B]Private mlblInitialValue As Double Private mlblSalvageValue As Double … | |
Dear All, I'm tring to build << Announcments Ticker/Scroll >> using [B]OnPaint [/B]event to draw a text on the form, then I added a timer [I]'interval=10' [/I]to change the X-coordinate of the graphics object so it start moving to the left I noticed the following: 1. It is using more … | |
Hi hi! Just that, I want to hide a asp:button when a asp:dataview is empty and show it when it has records... Any Ideas? Omar | |
Am currently working on a car dealer system. Am trying to design the system in a way that a user can view the number of vehicles available, the type, e.t.c and obviously the user can make a purchase. At the moment am just trying to deal with the basics. Am … | |
suppose there's a bean file (.java) consisting of SQL query, and a servlet (.java) used to show an image, and lastly a jsp page when clicked shows the image.............can you please explain how does this function,how the logic flows,what happens step by step.......... I really need to understand this, thankz. | |
Hi again, I was wondering, how can I comment an asp tag, in HTML is <!-- -->, on ASP VB Code is ', but an ASP.NET tag like <asp:TextBox1 ></asp:Textbox1> how can I comment it?? I've tried with both HTML and ASP, but no luck. Is there a way to … | |
Hi, I'm using Microsoft Visual C++ and I keep getting this error referring to this one line in my main file . can someone HELP ME ? [code]#include <iostream> using namespace std; int main() { float tempFahrenheit; float tempCelsius; float Omrekenen; cout << "Geef de temperatuur in Fahrenheit: "; cin … | |
Hi there, I downloaded all the things i need for the building of the Firefox source code but the thing is, I want to be able to actually edit it before i build it... You know so it doesn't say Firefox just like what Flock did. If anyone knows how … | |
Hi everyone im getting this error when i try to execut the code via a browser, its a SOAP call to a footprints webservices server written in php, well it only shows me this error. I pasted the entire code below minus my username and password :) [code=php] <h2>Web Service … | |
Can any one please tell me how to retrieve image that i have stored in SQL SERVER 2000 and display the image in datagrid in VB.net 2003? I am able to display text data in datagrid but the picture cannot be display (in datagrid the picture is not shown but … | |
Hello, I have some questions about how to work with urls in java. Any help would much appreciated. When I execute the following code from my app it executes just fine. But when I move my app to a different directory and change the url accordingly, it fails. original code: … | |
dear all, i need your help regarding to my final year project title. i was proposed a topic which is named cleversecure encryption system to my supervisor but he said that my system is too simple. it is because i only plan to do the encryption and decryption on the … | |
HI I have a Tip of the day form that loads from a main form. The focus stays on the main form. Is there a way that I can switch the focus to the tip of the day form at runtime? Tony | |
Have you ever used Quincy 2005 for writing and compiling your c++ codes? Quincy 2005 is simply an open source IDE for c/c++. It's simple. However, this application frequently gives me a headache. What I can describe from this IDE is it is unstable, clearly unstable. Recently, I worked on … | |
[COLOR=#000000]I am executing all my c/c++ programs in VC++ cmpiler.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=blue]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=maroon]<iostream>[/COLOR] [COLOR=maroon] [/COLOR] [COLOR=blue]using[/COLOR][COLOR=#000000] [/COLOR][COLOR=blue]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=blue]int[/COLOR][COLOR=#000000] main() [/COLOR] [COLOR=#000000]{[/COLOR] [COLOR=blue]int[/COLOR][COLOR=#000000] age; [/COLOR] [COLOR=blue]char[/COLOR][COLOR=#000000] sex;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]cout<<[/COLOR][COLOR=maroon]"please input your age:"[/COLOR][COLOR=#000000]; [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]cout<<[/COLOR][COLOR=maroon]"please input your sex (M/F):"[/COLOR][COLOR=#000000];[/COLOR] [COLOR=#000000]cin>> age; [/COLOR] [COLOR=#000000]cin>> … | |
[code] public class Customer { private String name; private String address; private double totalPurchase; private double invoiceAmount; public Customer(String name, String address) { this.name = name; this.address = address; totalPurchase = 0.0; invoiceAmount = 0.0; } public String getName() { return name; } public String getAddress() { return address; } … | |
hay please any body can give me the code how to implement [B]forums [/B]using java | |
Hello I am trying to make an VB program to open an excel workbook and just open it. I have two forms. the first is a crude password system that if completed switches to form2. That is fine but i have no idea how to then make this form have … | |
i don't know if it allowed to ask like this,, but this triangle make me confused(coz i'm new in C++) but,can u teach me how to make it?/explain how am i supposed 2 do? the triangle is like this: [code] 1 2 3 4 2 3 4 5 6 5 … | |
I think I'm missing something really minor here, but after reading over both the html & the perl several times, I'm not catching anything wrong. Why isn't this page giving the proper output? [code] <html> <head><title>Jackson Elementary School</title><basefont size=5></head> <body> Click here.<br /> <a href="http://localhost/cgi-bin/chap02/c02ex2.cgi" /><img src="jackson.gif"></a><br /><br /> <a … | |
I'm having problem with my program here. See, I have an array of char* as data member in Action class. With the help of getFirst() function, I'm returning the value of the first element in the array. But, when I tried to print out this value in the test.cpp, it … | |
Hey guys! I found this site today and was wondering if you guys could help me out here. My teacher assigned us this homework assignment today. I was working on my code and was pretty deep into it, so I didn't here him explaining how to do it. He's kind … |
The End.