199,114 Archived Topics
Remove Filter ![]() | |
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 { … | |
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 … | |
Could anyone define "Memory leaks" well ? 'cause pretty hard for me to understand with C++ books. | |
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 … | |
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 … | |
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 = … | |
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 = … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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; … | |
"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] | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 | |
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 … | |
"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! | |
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. … | |
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 :-| | |
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 … | |
[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 … | |
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 :?: | |
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! | |
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 … | |
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 … | |
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) … | |
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) … | |
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. | |
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, … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
:) 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) | |
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 … | |
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 … |
The End.