199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Acidburn

When running the following code i get a big compile error: [QUOTE] Linking... main.obj : error LNK2001: unresolved external symbol "public: __thiscall debug::debug(int)" (??0debug@@QAE@H@Z) Debug/main.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. [/QUOTE] Class definiation saved as : class.h [php] #ifndef CLASS_H #define CLASS_H class debug { …

Member Avatar for Dave Sinkula
0
573
Member Avatar for stupidenator

Hey all. I am attempting to build a java applet with just a textfield and a button for a search on a web site. When the button is pushed, I have it set up to look at what the user typed into the textfield and then match it to either …

Member Avatar for stupidenator
0
111
Member Avatar for tenoran

Could anyone define "Memory leaks" well ? 'cause pretty hard for me to understand with C++ books.

Member Avatar for Acidburn
0
90
Member Avatar for Fasola

I know about double arrays but haven't heard of a triple array It maybe a stupid question, but do they exist? example (obviously not real code): X = length Y = width Z = height array[x][y][z] = some point located somewhere in the area of a cude OR have you …

Member Avatar for Fasola
0
312
Member Avatar for dave2point0

Hi, I am making some software for microchips. I am currently developing some algorithms or the PC, and was wondering if there is a way to access a mouse button in very simple C, not c++, in the form of a variable, either on or off. Also, switch bounce is …

Member Avatar for dave2point0
0
155
Member Avatar for JoBe

Hi ladies and gents, I made this exercise in wich recursion has to be used and it worked as it should: [CODE] void ggd(short x, short y) { short a = 0; if (y == 0) { cout<<"The largest common divider is: "<< x <<endl; } else { a = …

Member Avatar for JoBe
0
185
Member Avatar for c_s_m_o_s

hi. I read a .txt file and i want to put the values from it , to an array. I have dificulties. here is the code i am using: [CODE] public void read(File afile) { FileInputStream fInpStr = null; BufferedReader bRead = null; StringTokenizer strTok = null; String line = …

Member Avatar for c_s_m_o_s
0
155
Member Avatar for gschoser

I at least have the program working correctly thanks to the awesome help from various boards and people I work with. However, now I want to tweak the program a little bit. I am currently using a combobox for the interest rate and term. I would like to use either …

Member Avatar for Phaelax
0
152
Member Avatar for Vincentjames501

Hey Guys, im trying to create a timer in c++ that starts at one, and every second the program displays the next number starting from -15, i have the start, but what i want is a breaker button... Such as while its counting, i want to be able to press …

Member Avatar for Vincentjames501
0
160
Member Avatar for Maple_Tiger

I keep seeing these two words in Sams teach your self C++. Do they represent the same thing when talking about variables? I beleave that I know what "define" means. State it's type, it's name, and semicolon. However, I see that "declare" is used for, what seems, the same meaning. …

Member Avatar for Maple_Tiger
0
190
Member Avatar for JoBe

Hi ladies and gents, I'm trying the next exercise: Write a function value, wich adds the decimal numbers of 'n' together and return the result of this into main? For example: 0.1234 = 10 0.01234 = 10 0.3286 = 19 What Ive got so far is this: [CODE] short amount …

Member Avatar for JoBe
0
299
Member Avatar for jilly

I want to have a script that will display a 'word of the day' or a 'quote of the day' or an 'image of the day'. I'm going to use it in a vBulletin message board - for example in a 'movies' section, it will display a random title of …

Member Avatar for Gary King
0
313
Member Avatar for sasha16

Hello, I have been working for hours trying to get my mortgage calculator program to work. The purpose of the program is to allow user input of the loan amount, interest rate, and term in years, and then display the mortgage payment amount. I also have to list the loan …

Member Avatar for Dave Sinkula
0
150
Member Avatar for Acidburn

This is gonna take some time, anyway here it is: the student class : [PHP] #ifndef STUDENT_H #define STUDENT_H class Student { public: Student(const char *, const char *, const Date&, const job&); char * getfirstName(); char * getlastName(); void getbirthdate(); void getjobnumber(); private: char firstname[25]; char lastname[25]; Date birthdate; …

Member Avatar for Acidburn
0
137
Member Avatar for shouvik

"THINKING IN C++" a real cool book in C++ is available online and can be down loaded free of charge. The site is!!! [URL=http://www.codecuts.com/mainpage.asp?WebPageID=315]http://www.codecuts.com/mainpage.asp?WebPageID=315[/URL]

Member Avatar for Saelice
0
306
Member Avatar for ncat_08

I have two programs that i have to write by next friday (april 1 ) but i have no idea how to do them. Can someone please help me out. These are the [B]conditions for the 1st one:[/B] 1) read floating point numbers into an array until teh sum of …

Member Avatar for ncat_08
0
90
Member Avatar for Ajaxxx

I have the following code: [php]$rebate_query = tep_db_query("select * from " . TABLE_REBATES . " where product_id = " . (int)$HTTP_GET_VARS['products_id']); $rebate_information = tep_db_fetch_array($rebate_query);[/php] This should return only 1 row of data I have this code - " [php]$rebate = $rebate_information['rebate_amount'];[/php] " for extracting the rebate amount. For the life …

Member Avatar for Gary King
0
177
Member Avatar for raghavendrak

Hi I have installed Eclipse and I am trying to run C++ programs using the cdt tool which I installed it from the update manager present in the eclipse itself. But whenever I am trying to run a C++ program I am getting this error. Error starting process java.io.IOException: Exec_tty …

0
144
Member Avatar for Toulinwoek

I want to create an application that consists of several "modules", each of which would be based on a database table, and will be opened either from a menu or from a button in an Outlook-styled toolbar. Obviously I'll create a "main" window, but then there will be several windows, …

Member Avatar for Toulinwoek
0
153
Member Avatar for Alfarata

No matter what I enter in the text box txtDoorSeries when I run with Debug and a watch on DoorCode it always is 1 . It does not fall through the if statements. Am I using the wrong properties? Thanks for any help. Sub DrCode() If Val(txtDoorSeries.Text) = 610 Or …

Member Avatar for N[e]tt[e]
0
188
Member Avatar for N[e]tt[e]

Anyone can help me? I'm doing my final year project. I need source code for my project. I need to know how can i link my Ms access to my project..using OLEdb and Odbc..I need to do log in page(login.aspx) but i dunoe how to type the coding.anyone here can …

Member Avatar for N[e]tt[e]
0
160
Member Avatar for nabil1983

Hi all, Ok i've started doing a mini project about a CD collection database. i got the program working ata stage where you can enter a single entry and the record is printed to the screen, the problem im having is i can not seem to modify the program to …

Member Avatar for tonakai
0
161
Member Avatar for venetian_jigsaw

I am having a little problem: I am pretty "wet behind the ears" in the PHP world, so please, bare with me...I am tasked with writing a script that does two things: (1) Allows a user to enter a temperature and based on a selection from a radio button, converts …

Member Avatar for venetian_jigsaw
0
153
Member Avatar for baboon4000

hello, i need to hand this in this week, someone please help me :p I need to do the followings: 1) allows user to add a new property to the collection 2) allows user to remove a property from the collection 3) allows the status to be changed from for …

Member Avatar for baboon4000
0
197
Member Avatar for Acidburn

[php] #include <iostream> #include <cstring> using namespace std; class date { public: date(int = 1, int = 1, int = 1990); //constructor void Printdate(); void setday(int); void setmonth(int); void setyear(int); void setdate(int, int, int); private: int day, month, year; }; date::date(int d, int m, int y) { setdate(d,m,y); } void …

Member Avatar for Acidburn
0
456
Member Avatar for galmca

hi...i am really facing a problem in printing a "binary search tree which does an inorder traversal and searches for a node and insert a node"....so i have written a program for that but it doesn't print a binary search tree and is giving some strange grabage values i don't …

Member Avatar for Fasola
0
406
Member Avatar for xplod420_2

Hello i am writing a program and i really need help. here is what the program is about. 1. It needs to ask a number of tickets sold. 2. persantage which goes to some other coast. This input will be entered in percent format. program must convert this to a …

Member Avatar for xplod420_2
0
144
Member Avatar for hmitch2

Hi i am currently doing a database for my major project in gcse ict and i am tryign to find out what the validation rule is for. uk post codes so you can only type in a maximum of 7 digits? can anyone help? i need it urgently thanks

Member Avatar for DanceInstructor
0
70
Member Avatar for goingbackwards

I am new to PHP and have to create a program that whilst running allows usert to browse a site and add the current page to a linear text, whilst at the same time creating a contents menu linked to bookmarks of each of the pages just added to the …

Member Avatar for DanceInstructor
0
101
Member Avatar for Turiya

"Invalid procedure call or argument" As I try to remove an item from a listbox call List1 I try this code... If List1.List(i) = List1.List(i + 1) Then List1.RemoveItem (i) if the list contents are identical, remove one of them but it doesn't work!

Member Avatar for Turiya
0
399
Member Avatar for radioman28

Hi, I am writing a couples class, one base, and one derived to track an employees pay records. It has a static private ptr array to store Employee and EmployeePay objects. [CODE]static Employee* empArray[];[/CODE] Employee has first and last name, ssn, id number and a date. EmployeePay derives from Employee. …

0
148
Member Avatar for Tink2416

each time i put my Sims cd in my disk drive this message always comes up: Microsoft Visual C++ Runtime library Runtime error! program c:\Program Files\Maxis\The Sims\Sims.exe Abnormal program termination I have a windows 98! Do you have any ideas to fix this problem? Please help me :-|

Member Avatar for Dave Sinkula
0
113
Member Avatar for johnroach1985

Hi.I am putting up a new site.Know noting of asp ,but learned that to do the stuff I want, have to use asp.Anyways the problem is this: I want to write a simple asp code that will take the comments that was written by the guest in to a text …

Member Avatar for johnroach1985
0
106
Member Avatar for johnroach1985

[size=2]Hi I just started a new website kind of lame but that will be picked up soon.Ok here is the question did not know where to post it so I am posting it here.It is this: I am trying to make a users immmm how to called it comment box.You …

Member Avatar for johnroach1985
0
235
Member Avatar for shortd81

Not sure if this is in the right place, if not please move. I'm looking to make my own rss feeds, and need some nice tutorials. I googled it but only got rss feeds for your site not how to make them. Thanks :?:

Member Avatar for notepage
0
149
Member Avatar for computerages

Hello everyone! I've been programming in PHP for 1 year and now I am looking forward to learn a computer programming language, but I am confuse...since there are several langauges out there. So what language you recommend? Thanks!

Member Avatar for vegaseat
0
301
Member Avatar for eyelove808

I have a form on my site where members fill in info etc... This info goes into my database, I call to my DB to display this info in a table. My problem is that when someone does not fill in one of the spots in the form this goes …

Member Avatar for barnamos
0
107
Member Avatar for jengels

I'm supposed to write a loop to loop through the days, the write a switch statement for the verses. The program should print out just like the song goes. For example: On the 1st day of xmas my true love gave to me, a partidge in a pear tree On …

Member Avatar for jengels
0
135
Member Avatar for ibmackin

how the hell do you do this?! please help asap! a. This problem is similar to the problem in your last assignment. However, this time you will need to keep track of all integers input by the user. b. Create a program that will read a series of ten (10) …

Member Avatar for 1o0oBhP
0
163
Member Avatar for Ghost

Hi, I am making a task-manager like program and i wanted to create a pie chart referring to the free/max memory (like the pie chart u see if you right click "My Computer.") Can anybody please tell me how to do this (oh yeah, it's an application, not an applet) …

Member Avatar for server_crash
0
176
Member Avatar for JBD2

Could I make two programs, but with one icon/startup so that when you click the icon, it runs both programs? Thats my first question. My other question is for something else, how can I make something delete files? Thanks.

Member Avatar for Comatose
0
201
Member Avatar for Boat_2005

I recently purchased a software package that restricts access to one or many directories on my hosted server. The server is Unix based. The directory that is restricted contains an .htaccess file that uses Apache. Before I modified the below code, when I tried to access a restricted HTML file, …

Member Avatar for Boat_2005
0
239
Member Avatar for tat2dlady

I have a problem that I am not sure how to even come up with a solution. So, I was wondering if anyone would have any input to the problem at hand. I have to divide a matrix that is defined by an input file into 2 distinct regions so …

Member Avatar for murschech
0
157
Member Avatar for server_crash

I can't seem to remember how you create subitems in the menu's. Does anyone know how? Like this: Format --> Color(then like a drop down) *red *blue *green

Member Avatar for server_crash
0
283
Member Avatar for smgtreker

Hi, can anyone advise me on the best way of using the autoscroll property of a form? I want the form to automatically scroll to the end of the form, as the controls will be increasing in size, as new data comes in. (As far right on the X axis …

Member Avatar for smgtreker
0
162
Member Avatar for simf

I have the following problem. Using 16 bit assembler code to send a character string to the screen. Following is an example: in my data segment, I have the following defined: Str1 DB 'Hello world', 10 DB 'and hello again','$' in the Code segment, i do the following: mov ah,9h …

Member Avatar for Tight_Coder_Ex
0
191
Member Avatar for Greg W

OK, here's the reason I'm ready to shoot myself. I access a .jsp page with no problem on a number of computers. On another computer, I can access the page once, and then get an error message (page not available with IE, timeout with Firefox and Netscape). I have uninstalled …

Member Avatar for Greg W
0
236
Member Avatar for Raza

:) Hello Everyone...IM RAZA..from Pakistan...new member here.. Well i hav a problemm....big problem now adays/// i have a project to make an operating system....can somebuddy help me?? i dont have any idea...guide me if u can.. RAZA. [url]http://www.razasnet.tk[/url] (under construction)

Member Avatar for Raza
0
224
Member Avatar for George2

Hello everyone, I want to use indexing technology to speed up searching operation of my application. I have found that Java built-in type Hashtable can only have one key for each object. But my requirement is that an object can have multiple keys for an object. For example, the objects …

Member Avatar for George2
0
111
Member Avatar for Secret Agent

Example: [url]http://www.virtuosonetsolutions.com/shop.php?cat=104&[/url] I am trying to make this an instant quote forum based on what I assign each item its price. Basically, say a person selects one item per field and it adds it calculates the total instantly including any setup fees. Then, I want them to have the ability …

Member Avatar for barnamos
0
167

The End.