199,114 Archived Topics
Remove Filter ![]() | |
Me Again! This program is for exercise 5) of chapter 9 in Stroustrup's book. It was a challenge for me. I gave up on trying to use [code]getline()[/code] because it required substantial parsing of the line before I could use the input. I will add it when I am more … | |
I'm getting error: no match for 'operator>>' in 'std::cin >> aTable[i][j]' for [CODE] #include <iostream> using namespace std; const int NUM_ROWS=15; const int NUM_COLUMNS=15; typedef int TwoDimArray[NUM_ROWS][NUM_COLUMNS]; void printTable(int rows, int cols, TwoDimArray aTable); int main () { int rows, columns; TwoDimArray aTable[rows][columns]; cout<<"Enter rows and columns"; cin>>rows>>columns; for (int … | |
Hi, i'm making a simple texteditor from VB6, and i use Visual C++ as my back end. i call a function where in I will read another text file and put it in a structure. this is the function: void loadR() { ifstream file; file.open("C:/CaseStudy/CaseStudy/Rsrvd.txt",ios::in); for (i=0; i<44; i++) { … | |
I have a combo box that needs to be autoupdatable. I know you can set the AutoCompleteMode to SuggestAppend and have the combobox suggest as you type values that are in a combobox's items list. My question is this, Is there a way to have this same functionality happen with … | |
My main idea is to link the three combo boxes I had taken appSet, app, package comboboxes Now when I select one iten in appSet then the remaining two comboboxes should show the data related to the selected item in the appSet and when I select one item in the … | |
Hi everyone, I'm back after 4 months without Dani! Today i just came across a problem about programming. The application I'm doing requires me to "enter the size of an array in a TEXTBOX, then click a button, a list of random number would show up, then re-arrange from Lowest … | |
Hello. I don't know how to use AJAX. Can someone please help me? I'm using an iframe to display percentage of file uploaded. The iframe refreshes itself every 2.5 seconds. It's okay for now, but not a practical solution. I need iframe to refresh but, it shouldn't look like its … | |
how should i retrieve my images that i stored in column having Attachment datatype in access 2007 in my java program?? | |
mouseovers work fine in FF, c, o & s, but not in ie8. Why? [CODE] <!-- Based on changing temp11e.php code to produce html from b7b.php in this script code--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="description" content="Save money" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> … | |
Hello everyone, I have a shopping site which uses paypal gateway. But i want to use alertpay instead of paypal. I seen my site code. My site uses this link to connect paypal. [CODE]https://www.paypal.com/cgi-bin/webscr[/CODE] Can i change this url to alertpay payment gateway url? If i change this url will … | |
Hey everyone! I'm writing some program and im using a vector tp hold pointers to objects.. i will create new instances of the objects and my code should automatically destroy each object present in the vector. theres three types of classes stored in the vector : BaseClass, ChildClass1(inherited from BaseClass) … | |
Hi All, So much Helping Deniweb in during interuption in my code. Again for small query I hope it will give enjoyful result to Me. I want reguler expression which having "Only Numeric-Positive-Non Zero-and Must Non Empty" value. I have all ready Done expression "^[1-9]+[0-9]*$" giving result for Positive-Non Zero … | |
Hi all, I am getting the following error when I am loading the data into the ComboBox and the ComboBoxes are linked to each other I am getting the errors as below Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at client.cpm.dailyT20.CBRCPMDailyT20View.appComboBox_actionPerformed(CBRCPMDailyT20View.java:235) at client.cpm.dailyT20.CBRCPMDailyT20View.access$1(CBRCPMDailyT20View.java:234) at client.cpm.dailyT20.CBRCPMDailyT20View$2.actionPerformed(CBRCPMDailyT20View.java:227) at javax.swing.JComboBox.fireActionEvent(Unknown Source) at javax.swing.JComboBox.contentsChanged(Unknown Source) at … | |
Hi guys, I need to write a piece of code which takes two strings (char arrays) containing hex values and perform an AND operation on them. (The aim is to mask bits from the first value). A Mask value of all Fs means that we don't want to mask any … | |
Hi! I have been learning c language on linux for two months.Today I have changed to Windows and don't know how to ,where to write programs and compile them and execution.Please exlain me. (Windows-7,acer) Thanx. | |
Hi Daniweb Community, I have a application that opens a pdf viewer and I would like to email the current(one in the pdf viewer) as an attachment in Outlook. I have listed the code below that opens the pdf viewer and I have listed the code to send an email … | |
Hi I have a menu in a master page. [CODE] <asp:Menu Width="320" Orientation="Horizontal" ID="mnuAdd" runat="server"> <StaticMenuItemStyle CssClass="staticTabs" /> <StaticHoverStyle CssClass="hoverTabs" /> <StaticSelectedStyle CssClass="selectedTabs" /> <Items> <asp:MenuItem Text="Test1" NavigateUrl ="~/Test1.aspx" /> <asp:MenuItem Text="Test2" NavigateUrl="~/Test2.aspx" /> <asp:MenuItem Text="Test3" NavigateUrl="~/Test3.aspx" /> <asp:MenuItem Text="Test4" NavigateUrl="~/Test4.aspx" /> </Items> </asp:Menu> [/CODE] But when I select a … | |
hi, I m doing project in ASP.Net so i want code which how i m clear the history of IE plz rply | |
Hi all, Im busy with a community section for my site in "forum style". Lets say i have 3 columns to display - Topic - Views - Last Post by I want to display 10 rows per page and lets say I have 54 records. Now i will display: "1 … | |
hi.. in my project online bus ticket booking there is a jsp page of bus structure in which there are three images used. one is for selected seat,2nd is for booked seat,and the 3rd one is for available seat. when i click on available seat it will convert in to … | |
[code]Hi every one, i have to choose a project kindly give me idea what type of project i choose in c language i will rate my self 4/10 reply earlier because i don't have more time thanks[/code] | |
after saving a image in a folder at runtime how to get its height and width in asp.net. i am writing this code: string filesavepath = AppDomain.CurrentDomain.BaseDirectory + "\\admin\\fullimages\\"; System.Drawing.Imagefullsizeimg=System.Drawing.Image.FromFile("AppDomain.CurrentDomain.BaseDirectory" + filesavepath ); this code gives me following error: System.NotSupportedException: The given path's format is not supported. i m not … | |
Pls tell me hoe to validate name in core java | |
I would like to know the replacement for the background color in a table: bgcolor. | |
hi... I am beginner for Oracle. Please anyone can tell me how we can assign primary key in to a particular field??????? | |
My program compiles and runs but its not outputting correctly. The program should check the file valid_accounts.txt and compare it to the users input. If the account is found int the valid_accounts.txt the output should display "That account number is valid.". I get "You did not enter a valid account … | |
Hi guys, First of all im trying to debug an application which has been already developed by someone else. I have a form which has a few fields. there is a save button next to it which saves the data (this already works correctly) The issue is that if I … | |
which language is the most suitable with asp.net either vb.net or c#.net?why? | |
I am hearing about this language and want to know if it exist. I been googling for a while now and I still have no idea about this. | |
Hello everyone, I have tried the code for start and stop time and been successful in doing so.Now I am trying to compare values of start and stop time as shown below in the code. I have used two masked txtbox. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using … | |
Hi Everyone I am busy with a shooping cart but only use cookies to eliminate using a login. I have everything set so that you can add to the basket, but the problem comes in when I want to delete an item from the basket. I set the specific cookie's … | |
Hi guys, I have a problem. When i want to logged out from the system or close an account etc i want to display this message.[B] " Are you sure you want to logged or something like" and "Yes and " No" buttons[/B] are there. How this can be achieved?? … | |
Hi all, I have a form contains customer details. The text fields are filled with data values, which retrieve from the database ([B]customer table[/B]). There is a [B]button [/B]below the form called "[B]Modify[/B]". If user clicks on this button the user should be able to modify the details if he … | |
Hi guys, I want to search customer details based on National ID. The customer table is related to this.The structure of the table looks like this. customer(customer_id, nic, full_name, name_with_initials, address, contact_number, gender) customer_id is the primary key of the table. When the user types the National Id (nic) of … | |
Hi, My transaction table looks like this.It includes following fields. [B]tran_ID,account_type,account_number,transaction_type,amount,Date[/B] The records regarding each transaction is stored in this table. I want to know how i [B]retrieve the data[/B] from this table into another form or table.The coding is what i want... My actual purpose would be to allow … | |
Hi I Have a web method on the Server. Below Is My Web Method. [CODE] [WebMethod] public string GetAge(int year, int month, int day) { DateTime birthDate = new DateTime(year, month, day); long age = new DateTime(DateTime.Now.Ticks - birthDate.Ticks).Year - 1; return "You are " + age.ToString() + " years … | |
Hi guys, In my projects i handle cash transactions. Whenever user enters transaction details it stored in the transaction_table. This is my 5 tables relevant to this. transaction_table(tran_ID,account_number,account_type,transaction_type,amount) savings_investment(ID,account_type,full_name,balance,interest,customer_id) shakthi(ID,account_type,full_name,balance,interest,customer_id) surathal(ID,account_type,full_name,balance,interest,customer_id) abhimani_plus(ID,account_type,full_name,balance,interest,customer_id) If the user enters wrong amount, the supervisor of my system wants to correct it immediately. so far … | |
Hello all, I am getting the following linker error when I try to pass an object of type "string" to a function. Otherwise, the code compiles correctly. exercise_3.10.obj : error LNK2019: unresolved external symbol "void __cdecl reshuffle(unsigned int,unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?reshuffle@@YAXIIV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function _main Here is … | |
What are all the possible stamements that can be used in C, instead of printf and scanf statements? | |
Not sure if this is the right place to post this. I've built a number of websites but have just now been asked to provide a password protected page that allows different customers FTP access to download files. I feel dumb. Having never done anything like this before. Obviously I … | |
Hi all, I am new to C#,i just need your help in figuring out the issues. I have two windows forms :"background form " and "foreground form". 1)minimise the background form when foreground form is minimised. 2)move the "background form" when "foreground form is moved" Please tell me how to … | |
hello all please help me asap i am retriving data from my sql and i want to some perticular text of result in bold formate for understanding [CODE]select Desdription from tablename[/CODE] normal result: hello all wanted result: [B]hello[/B] all | |
for (i=0, i<imax, i++) { // ... Array< complex<float>, 3 > matrix(x,y,z); // x,y,z are large and vary in each loop // ... // matrix <=== values for each element assigned // ... // now want to write "matrix" in a single binary file. // later, this matrix can be … | |
I know.. i am dumb, the simple logic is difficult for me.. get 5 numbers from user, and compare, which is largest and smallest, no array should be used. please help? | |
hi... what we need to send sms from pc to mobile and how using java?? plz help me if you can thx | |
Just a concept that has eluded me... Anyone who can help make this understandable would be a God send. in the directory c:/dev/myapp I have the subdir src/com/mycompany/myapp/MyApp.java which consists of [CODE] package com.mycompany.myapp import com.mycompany.MyUtil public class MyApp { public static void main(String args[]) { new MyApp(); MyUtil.Say(); } … | |
Hi I am VERY new to python. I am trying to write a function that returns lines from a text file to a new file. I can't seem to get it right. So far my code looks like this: [CODE]def seperate_atoms(f):#Enter .pdb file in with quotations myfile=open(f,'r') crudepdb=myfile.readlines() cleanpdb=[] for … | |
Daily life magazine wants an analysis of the demographic characteristics its readers. The marketing department has collected reader survey records containing, the age, gender, maritial status, and annual income of the readers. Design an application that allows a user to enter reader data and, when data entry is complete produces … | |
hiiiii plz can any body tell me how to dram following pattern in java using for loop 10001 01010 00100 01010 10001 such that number 1 form diagonal thanks | |
im trying to run this code that adds a name and displays it. i keep getting the same message. can anyone tell me what i have done wrong? thank you. [code=cplusplus] #include <iostream> #include <string> using namespace std; class treenode { public: string data; treenode * left; treenode * right; … |
The End.