199,114 Archived Topics
Remove Filter ![]() | |
Hi friends, I am back. I was doing some hands-on with the C++ and I think I am a bit confident now :) I came across an Exercise question in a C++ book which is as follows: There is a structure with the variables payment_amount, method_of_payment and risk or priority. … | |
can any body help me out in my situation ,i want to retrieve some results from database , when i choose a value from the selection box. thanx in advnce tc | |
Hi, I have some problem by using the midi file. I wish to control the left and the right channels volumes, and i got some information from msdn library, but it didn't tell me the exact way to do it. Could anyone tell me what is the meaning of [B][I][COLOR=sienna]"The … | |
Hi, I am getting warnings when I export a class that contains an STL deque. Note that for a simple stl vector there are no warnings, only for the deque ... I applied the rules defined on the msn page : [url]http://support.microsoft.com/kb/168958[/url] But still get a compile warning that I … | |
I developed a web interface using ASP.NET and a database using SQL Server 2005. I created connection to database using SqlDataSource control. I also used GridView control to display data. Using Visual Studio I can see the query results using a browser on a local machine. What I want now … | |
I need to be able to have users click on a form field that is an email address to contact the "contact" - it is proving more complicated than I thought. ANY Suggestions will be welcome.:eek: | |
Hi, I have problem when i get an array using I get "Array Index Out of Bound" in QuickS function [code] getArray(int [] arr) for (i = 0; i < arr.Length; i++) { String val = Console.ReadLine(); arr[i] = Convert.ToInt32(val); } public static void quicks(int lo, int hi, int[] arr) … | |
Hi I am having problem compiling a java file Main.java which uses an object of another class, named Pet I am using Netbeans 5.5 and I don't know where to put the class file Pet.class. I don't have Pet.java No matter where I keep it the error message I get … | |
I'm still using VB6 unfortunetly, but anyway, how would I go about implementing this? Say I wanted to do something so when you click a button the text in a textbox changes but has a 200-300 millisecond delay so it looks as if the words are changing really fast. But … | |
Hey, I'm doing a project with Python right now and am wondering what the heck a "/n" command does? ANY help would be greatly appreciated! | |
Hi, I'm having a Perl Code and i want to convert it into a C Code. I want to know is there any tool is available to do so? If not available anybony can help me to convert??:?: plz mail me at [email]nrk_jegan@yahoo.com[/email] Regards, Jeganathan K. | |
I'm trying to get all of the basics down. Is there someplace I can find on either on the web or in VB 05 Express Edition that gives a comprehensive list of all the different data types, what they are used for, etc. for VB.Net? Thanks, kahaj | |
Hi every1, Is there any way that i can secure my ms access. i want when ever any one opens my database,it should ask for a password. any way of doing it? the database has already been created thanks in advance | |
Hi fellow c++ programmers, I need some help with an assignment from my c++ class. The assignment is to use a input file with the following 1 4/12/2007 34 -- 1 is the reference number, date , and temperature to be converted to farenheit. Now i have to output it … | |
hi there i am developing a website, where users can register to become members however, i have to write operations how the system will add a user, I have been told to do it in psuedo code, but i dnt know psuedo code. is there any other way this can … | |
i m using window xp and jdk1.6.0. i set environment variables as follow user variables i creat new and in variable name "classpath" and in variable value .;C:\Program Files\Java\jdk1.6.0\bin;.;C:\World after that i edit system variable as follow i edit variable "path" in variable value I append "C:\Program Files\Java\jdk1.6.0\bin" right side … | |
Can anyone tell me why I'm getting build errors on the actual function heading and the line under it (**) saying "type bool is unexpected" and that I'm missing a ; before {? I've looked and can't find anything. Also, I get this error but there is no line 80 … | |
Hi. How can [B]I assign an structure with values[/B] in its fields name=doom memory=1212, time=12, files=2; but dinamically??? so i use malloc sixe of [B]the list does not begin in NULL instead "doom[/B]" i have a menu that insert a new Node, when you press F1 printinscreen when you press … | |
Hi all, I have been writing several ASP.Net projects and they all turn out fine and run dandy. When I look at them it still seems like something is missing. It has no appeal at all, looks like I just wanted to do the web controls and jump right into … | |
So I'm trying to write a program to simulate Conway's game of life. I thought it'd be cool to declare a class called Cell and use an array of objects instead of an array of ints or bools. My problem is that when I go to compile a function to … | |
I´ve been programming a B tree structure in C and i had problems because I programmed it in Debian Sarge and when I wanted to compile the source code in other distribution of Linux the program did not work correctly... The IDE i used is Anjuta... Anybody has idea why … | |
Hi! I'd like to know how to print something when the user ends the program (with ctrl-c for example). An example is the "ping" command (in most linux versions), that gives the average ping when the user terminates it. Thank you! | |
HI all, would really appreciate some help. PLease be gentle, this is my first attempt at programming since the 80's (and that was VB basic! :confused: ) I am using tikiwiki to set up a site. I have modified (butchered?) some existing code to create a new module. It should … | |
hello dears! i have a question about my program i am suposed to make a program that calculates thea factors of a number and add them and see if the number is a perfect number. i made this program and it works fine but now i have to change this … | |
We have several thousand historical MS Word documents with embedded MS Excel Worksheets. This data predates a relational database system which now manages all this data. Sound familiar! We need to create a spreadsheet which has a row for each embedded MS Excel Worksheet with columns for specified values. We … | |
Hi all, [code] #include<ctime> #include<string> int main() { string snapshot_time = "10:00:00" int interval = 60; string end_time = convert_hour(snapshot_time,interval); cout << end_time << endl; } string convert_hour(string &snapshot_time, int interval) { char current_time[BUFSIZ] = { '\0' } ; struct tm tm; strptime(snapshot_time.c_str(), "%H:%M:%S", &tm); tm.tm_sec = tm.tm_sec + interval; … | |
This is the first program I have ever written in LISP, and I am completely confused. I need to write a function that returns a list of 5 rows of entries, and each one of these rows is a list of 5 entries. I know that CAR and CDR could … | |
This has been driving me mad for a few hours now. I have created a web application in VWD Express which has tested fine on localhost. I have now transferred this to a test server. Every time I click on anything that causes a postback a 404 Error - File … | |
dim num, GOPercent num = Request.Cookies("Result") GOPercent = num/25 [COLOR="Red"]Type mismatch: '[string: ""]'[/COLOR] Error Type mismatch. But the value i put in Response.cookies("Result") is a CInt(value) how to solve this ????? | |
Hi All... I'v a piece of code kindly help me understanding its functionality [code] #define FLAG_CDR 0*01 #define FLAG_MSR 0*01 unsigned Flags = AFE_REG_FLAG_CDR | AFE_REG_FLAG_MSR; Flags &= FLAG_MSR; // 'turn off cdr flag' [/code] how it works... | |
My current homework assignment is to code a mortgage calculator that will allow the user to input the appropriate information and return the monthly payment, the interest paid and the principal paid. An amortization schedule for the entire lenghth of the loan is also required. I have managed to get … | |
G'day, I've been working with Pyhton for about six months and have been wanting to put a program into a seperate Tkinter GUI but have had no luck. I need to have a Tk GUI that has vertical scrolling exactly like the normal IDE except that positioned in the upper … | |
Hi, I have used a Flex Grid control in displaying a set of records from the MS ACCESS database (back end) with the means of VB6 code (front end). In my database i have 9 records and the flex grid control has been deisgned at design time with 7 rows. … | |
Can anybody help me on how to search a keyword in my text file. I read about eliza420 Thread but still don't get it. If i have a text file named. "animals.txt" with a content of, ------------------------------------------------------------------- Fish Pig Dog Goat Bird ------------------------------------------------------------------- and in my c++ program a question … | |
Hello all, I'm working on an app that takes a huge computational effort. It all works fine, but while calculating all other processes are overruled: - switching between forms doesn't work while my app is computing - Progress bars aren't properly refreshed, despite my form.refresh command So basically I'd like … | |
im wondering if there is a plain [COLOR="Blue"]do loop [/COLOR]instead of do while? | |
Hi, I am using MS access database with ADO control in VB. I want to display only those names in the combo box when I type a first letter in the combo box using visual basic. For Eg, When I type letter 'm' , the combo box should give a … | |
I'm creating a web application in VB.NET 2003 that connects to a SQL database... how do I display the data in separate controls (TextBoxes, labels, etc) instead of in a data grid? Thanks, Windows 3.11 | |
Hi... I have been trying to figure this out, but it has been an impossible task 4 me...:rolleyes: this is a gasoline pump counter, and i have developed an infinite cycle to print the gas counter and the cash counter...:mrgreen: the problem is, i need a stopper for the cycle, … | |
anyone can explain to me what is the concept of inheritance and access modifier. actually, i can't understand how it be used in java program | |
Hello Friends, Suppose I have a function like - [code] void myFunc( char* str) { ....... ....... } [/code] And I have to pass a pointer of type "const char*" into that function. Now my question is that can I pass the pointer like following way (ie by custing it … | |
I have only been playing with visual c++ for a couple of weeks now and was just wondering what is the advantage of using pointers. To me that seems to be the hardest thing to understand so far. I am not sure how to use them and what the advantages … | |
How do I display a graphic waveform on BTHQ 128064AVC-SMN-06-LEDwhite-COG? Any sample code? | |
how do i collect ip address of browser to validate him | |
i have a list of words to put into an array but how do i do this the order goes from 0 to 9 so black is zero [black][brown][red][orange][yellow][green][blue][purple][grey][white] | |
hi all i m making a project using jsp as my front end and mysql as my back end. i had to change backend from oracle to mysql bcoz of clients request. now there is 1 problem i m facing. there a password change option. person enters its old password … | |
This is what I have and having some problems with the checkPosn function. can anyone help me out. When I run the program and pick the posn it runs "posn already taken, please choose another. What I am doing wrong? Melissa [CODE]#include <iostream> using namespace std; class ticTac { private: … | |
Hi guys, when ive used Turbo c compiler and i wanted to put the program ona "wait key" status until the user hit sum key , ive used getch(); . when i try to use this command in Visual C++ 6.0 im getting an error.. Is there a diffrent command … | |
I have not done any c++ programming yet but was wondering how you use arrays in a for loop for example the code below int i; double D_Nath(11),D(11),er(11); for( i=0;i < 11; i++) { D_Nath(i)=PI*D(i)/er(1)*.76554; } how dod you get this to work correctly. Thanks for any help with this. | |
I have just put together a personal site and am trying to integrate a php guestbook. I obtained a free guestbook, called easyboard and have followed the instructions asto the installation but the html page that I've incorprated the board isn't actually working it displays all the deperate parts that … |
The End.