199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Nathaniel10

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 …

Member Avatar for mrnutty
0
131
Member Avatar for aaronmk2

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 …

Member Avatar for Fbody
0
562
Member Avatar for saloth

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++) { …

Member Avatar for ftl25
0
194
Member Avatar for perryg30313

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 …

Member Avatar for perryg30313
0
350
Member Avatar for Bhargavi V

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 …

Member Avatar for Bhargavi V
0
940
Member Avatar for TommyTran

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 …

Member Avatar for cellus205
0
174
Member Avatar for akshayinbox

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 …

Member Avatar for akshayinbox
0
177
Member Avatar for Nidhi S.

how should i retrieve my images that i stored in column having Attachment datatype in access 2007 in my java program??

Member Avatar for Nidhi S.
0
87
Member Avatar for niche1

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"/> …

Member Avatar for niche1
0
274
Member Avatar for Viruthagiri

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 …

Member Avatar for hielo
0
94
Member Avatar for low_coder

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) …

Member Avatar for low_coder
0
121
Member Avatar for Pari13

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 …

Member Avatar for Pari13
0
950
Member Avatar for Bhargavi V

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 …

Member Avatar for Bhargavi V
0
582
Member Avatar for ftl25

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 …

Member Avatar for ftl25
0
114
Member Avatar for challarao

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.

Member Avatar for Auraomega
0
314
Member Avatar for mbrown686886

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 …

Member Avatar for msrd
0
460
Member Avatar for fiaolle

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 …

Member Avatar for Heena Chavda
0
427
Member Avatar for nil87

hi, I m doing project in ASP.Net so i want code which how i m clear the history of IE plz rply

Member Avatar for employwise
0
80
Member Avatar for hermanSA

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 …

Member Avatar for hermanSA
0
184
Member Avatar for nikita.chandra

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 …

Member Avatar for Taywin
0
1K
Member Avatar for furqankhyraj

[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]

Member Avatar for creeps
0
104
Member Avatar for malashukla

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 …

Member Avatar for malashukla
0
209
Member Avatar for patilsunil47
Member Avatar for Philosophaie
Member Avatar for ollystretton
0
263
Member Avatar for johnsign11

hi... I am beginner for Oracle. Please anyone can tell me how we can assign primary key in to a particular field???????

Member Avatar for yash_792
0
141
Member Avatar for blknmld69

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 …

Member Avatar for stultuske
0
215
Member Avatar for bhaumik1987

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 …

Member Avatar for ollystretton
0
116
Member Avatar for ckundan

which language is the most suitable with asp.net either vb.net or c#.net?why?

Member Avatar for Lusiphur
0
84
Member Avatar for iamnoangel26

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.

Member Avatar for ocmseo
0
62
Member Avatar for Isha810

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 …

Member Avatar for Isha810
0
222
Member Avatar for JuranHuman

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 …

Member Avatar for Lusiphur
0
460
Member Avatar for heshanm

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?? …

Member Avatar for heshanm
0
262
Member Avatar for heshanm

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 …

Member Avatar for heshanm
0
88
Member Avatar for heshanm

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 …

Member Avatar for heshanm
0
96
Member Avatar for heshanm

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 …

Member Avatar for heshanm
0
129
Member Avatar for queryme

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 …

Member Avatar for cynix008
0
140
Member Avatar for heshanm

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 …

Member Avatar for heshanm
0
87
Member Avatar for martin_anastaso

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 …

Member Avatar for martin_anastaso
0
208
Member Avatar for susin

What are all the possible stamements that can be used in C, instead of printf and scanf statements?

Member Avatar for Auraomega
0
283
Member Avatar for FeralReason

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 …

Member Avatar for pritaeas
0
204
Member Avatar for shelly1234

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 …

Member Avatar for shelly1234
0
151
Member Avatar for hirenpatel53

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

Member Avatar for pritaeas
0
368
Member Avatar for applepomme

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 …

Member Avatar for chiwawa10
0
191
Member Avatar for gudads

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?

Member Avatar for peter_budo
0
1K
Member Avatar for amoon108

hi... what we need to send sms from pc to mobile and how using java?? plz help me if you can thx

Member Avatar for stephen84s
0
541
Member Avatar for pnelsonsr

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(); } …

Member Avatar for JamesCherrill
0
104
Member Avatar for dustbunny000

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 …

Member Avatar for Beat_Slayer
0
148
Member Avatar for StacyAnn1296

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 …

Member Avatar for Nick Evan
0
158
Member Avatar for sushil490023

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

Member Avatar for sushil490023
0
83
Member Avatar for hurbano

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; …

Member Avatar for chiwawa10
0
134

The End.