199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for niths

hi all, when i delete any item. it is just deleting. But i need to get the conformation popup that "are u sure u want to delete..?" like this . i hope u understood wat i want. so please help me. Thank u.

Member Avatar for colweb
0
89
Member Avatar for atticusr5

Ok so I am a total newbie, and for our last programing assignment in my class we are going over Binary Search Trees. Out assignment is to take an older program and make it into a binary search tree. I am using Visual Studio and I have gotten past all …

Member Avatar for mattjbond
0
1K
Member Avatar for gufur

Hi! I just upgraded to win 7 64 bit. I have tryed it both on cygwin compiler and MinGW compiler (toolchain) Working on eclipse. My code works perfect in Linux/ubuntu environment but running in win 7 environment I have the following problem. My last cin does not work. The input …

Member Avatar for gufur
0
402
Member Avatar for loadload

[CODE] using namespace std; int main(int argc, char *argv[]) { int item_weight; // ITEM WEIGHT IN GRAMS double item_unit_price; //ITEM UNIT PRICE ($) int quantity_required; // QUANTITY REQUIRED //ENTER ITEM WEIGHT IN GRAMS----------------------------------------------------- cout << "ENTER ITEM WEIGHT IN GRAMS: "; // prompt for input item_weight cin >> item_weight; // …

Member Avatar for loadload
0
133
Member Avatar for littlebear330

hi, i'm trying to have a mail function using gmail server but i keep getting the error : SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host. this is the code i got [CODE]<?php include("class.phpmailer.php"); include("class.smtp.php"); if(isset($_POST['send'])){ $body=$_POST[email]; $mail = new …

Member Avatar for rajarajan2017
0
369
Member Avatar for LadyT

Let me be more understanding... I would like to create a community script with all the features I want and need.A community that allows members to use HTML.A community that allows members to have their own pages with tag boards,Personal information that they would like to put on.Photogallery,Blogs,ETC! I want …

Member Avatar for ankaj.eg
0
471
Member Avatar for SKANK!!!!!

sorry i figure it out again. really really easy: i really need to know. i got this one script that is alphabetally and minimal. which i luv. but i need it to be numerical because well, if ther is more than 9 images it sorts it wrong with abc order! …

0
85
Member Avatar for G_S

Hi, I have another question: ¿is there a method that allows me to capitalize the first letter of EVERY WORD in a given string? I know that something like: [CODE=python]a = "hello world" print(a.capitalize())[/CODE] would print "Hello world" but I need it to print Hello World. It's for a program …

Member Avatar for TrustyTony
0
894
Member Avatar for jamey8420

I had taken over some code that was originally created .net 1.1 We need to update and bring into .net 2.0, so I opened the solution in VS2008 and went through the converter wizard. Now, when I am trying to build the solution, I am seeing the below error for …

Member Avatar for kvprajapati
0
261
Member Avatar for monkey_king

I'm having difficulties understanding and printing the max value of a size_t type. Apparantly the size_t is typedefed to a unsigned long int on my system. Is this safe to assume its the same on all c++ compilers? The 'sizeof' function returns the number of bytes(size char), used to represent …

Member Avatar for idallen
0
1K
Member Avatar for Moderns

Hi, In part of my form, I have 3 inputs (one textarea and two text inputs), I am validating their value format using AJAX (each input triggers error message on its label in case format is wrong). Also I have one button, "NOT submit button" (type = button). Now, when …

Member Avatar for Moderns
0
113
Member Avatar for Hidden_mistakes

I am trying to write a racing game but i need some winning conditions. Im not sure where to start, any pointers would help. Im using Visual C++

Member Avatar for VernonDozier
0
129
Member Avatar for Ycefire

Hello, I have some troubles with mine code which selects data from database and show them in the GridView. ASPX page: 1grid view, 1 button and 2 text boxes code behind: [CODE] Protected Sub cmdVyhledat_Click() Handles cmdVyhledat.Click SqlDataSource1.DataBind() GridView1.DataBind() End Sub Protected Sub gridview_refresh() Handles SqlDataSource1.DataBinding If (txtCisloReklamace.Text <> "") …

Member Avatar for Mohtshm
0
218
Member Avatar for Santho786

Presently in this below code, I have 4 dynamic values, end user will be select degree from combo box, entering the values semester, Max marks and Obtained marks as numeric values. Once entered dynamic rows will be created and it also calculate the percentage by the formula (om/mm)*100 for each …

Member Avatar for Santho786
0
136
Member Avatar for Encrypted

I'm trying to convert a row from a matrix of Char's to a String and all I've been able to get is a bunch of memory locations. I was hoping someone can lend me a hand. Here's what I've got: [CODE] for(int c=0; c<tempBoard.length; c++){ String charArray = " "; …

Member Avatar for Encrypted
0
156
Member Avatar for Juniahh

So I'm trying to write a program that will display a grade depending on the user's input i.e. 90-100 (A) 80-89 (B) 70-79 (C) 60-69 (D) 59 below (F) this is what I have so far but I don't know what I'm doing wrong. :\ It assembles and it'll let …

Member Avatar for Juniahh
0
119
Member Avatar for yookify

Hai.... Im new to .net ,I need help in doing my project.... If i Give the lastname in textbox then the items in lastname should be displayed in the anthor textbox [B]For ex : Thomus,123,aaa Thomus,345,bbb H_alert,456,ccc[/B] If i enter thomus it should show all thomus from my database but …

Member Avatar for yookify
0
87
Member Avatar for star_lavender

hi...anyone got ideas in form validation...I try a lot of methods already but still can't work...do not have any pop-up message although the required fill leave blank...is it the reason that I create my form in separate file??anyone got ideas on how to solve this problem?thanks in advance... part of …

Member Avatar for star_lavender
0
77
Member Avatar for digital_dizasta

hi guys, i am doing a final year project regarding the ontology population using information extraction. i am to use Java and GATE. i need some help in the part of information extraction as this is supposed to be coded in java. so please...help me start off my project. all …

Member Avatar for agugglez
0
142
Member Avatar for jad0521

Hi, I'm trying to write a program that asks the user to enter a series of text lines and then stop and write those lines into a text file. I tried to use this: String newFileName; String line; PrintWriter outputStream = new PrintWriter(newFileName); while( line.length()>0){ line = keyboard.next(); outputStream.println(line); } …

Member Avatar for jad0521
0
3K
Member Avatar for yookify

Im Yooki ..... Im doing my project in asp .net with vb coding... Now i want to compare Two Strings in textbox.... For ex: Thomus .CA and Thomus .CC....Here i have to compare whether the two members r same r not... Im so new to this site and also new …

Member Avatar for yookify
0
97
Member Avatar for melphic

Hi all, in my app a user places an order and should be assigned a new session id. Then they should be able to place a new order using this session id so as not to ovewrite their previous orders data. Unfortunately the only way I can get a new …

Member Avatar for melphic
0
104
Member Avatar for Devsof

I'm doing some development at school and i have to create an app as follows: Create a Digits of a number app that accepts a two-digit number and displays the digits separately. The instructions give the #32 and the picture of the app separates 3 and 2 in 2 different …

Member Avatar for kinwang2009
0
115
Member Avatar for Sandurz

I need help with some code for this. I've got the paddle working, but I can't figure out how to get the bricks to disappear. I've attemted to code it, but no matter how i try it it doesn't work. I'll give you my code so far. I reeealy hope …

Member Avatar for Sandurz
0
411
Member Avatar for hlmjohnson1981

I'm towards the end of my problem. I just need assistance when comparing classes. I'm trying to compare the two Grade point averages, and whoever has the highest, I would like to be announced or displayed. Any help or hint is appreciated... [code] #include<string> #include<iostream> using namespace std; //class of …

Member Avatar for tonytheking1
0
195
Member Avatar for Hatem Faheem

- I've Implemented a very simple non repeated random generator and I want to share it for anyone .. - I want Your Opinions Please , and any comments about my code - Anyone notice any fault in the result (any repeated numbers), please report me - Thank You Very …

Member Avatar for VernonDozier
0
116
Member Avatar for Tops

I use python [CODE]How many function calls occur when this code is run? def A(): B() C() def B(): C() def C(): return B() A() The second question is what is the value of x after this code is run? x = 12 def A(): global x x = 5 …

Member Avatar for BestJewSinceJC
0
193
Member Avatar for Sammich

hey guys, i was wondering if anyone could tell me how to separate individual digits of an integer in order to store those individual digits into an array? I need to create a circular shift method so I was just going to separate the digits of the number, put them …

Member Avatar for BestJewSinceJC
0
451
Member Avatar for Gl0mby

Hi, I've read various topics on this particular thing and have got nothing working, I just can't seem to get my head around it. I've got a file with two strings and a decimal, separated by commas. I want to read them in to a linked list so that they …

Member Avatar for Szpilona
0
969
Member Avatar for Raiko

[CODE] import java.io.*; import java.util.*; public class array { public static void main(String[] args) throws IOException { FileInputStream in = null; FileOutputStream out = null; try { in = new FileInputStream("input.txt"); BufferedReader reader = new BufferedReader(new InputStreamReader(in)); String line = null; while ((line = reader.readLine()) != null) { String split[]=line.split(","); …

Member Avatar for BestJewSinceJC
0
98
Member Avatar for kieran82

I am doing a project in college and I am not binding the database. I am connecting to it manually. i got the database to load and display, but can't create a new row or edit the database or delete a row. the code is here and could someone tell …

Member Avatar for kvprajapati
0
176
Member Avatar for msman88

In our application, the user registeration taking 5 pages the user is moving through and filling data. Suppose when user is reached to the last page(no. 5), the user can returns back to the first no. 1 page. For that, we want to disable user coming back to that first …

Member Avatar for kvprajapati
0
94
Member Avatar for schwarznavy

Hi. I'm trying to call a function to convert a decimal integer into a binary number (stored as an array of integers). Before I knew that I couldn't return an array, this is how I thought to implement it. Can anyone help me understand the way I'm actually supposed to …

Member Avatar for schwarznavy
0
150
Member Avatar for jacksonville

Hi, I've just joined this website for help with some C++ problems. I am new to C++ and face the task of reading from a text file and outputing the result in another text file using the[B][COLOR="Red"] istream& operator >>(istream& stream, storage &s)[/COLOR][/B] it looks like something underneath: istream& operator …

Member Avatar for Lerner
0
130
Member Avatar for hsthompson

[b]What works:[/b] I have an application running on a non-interactive kiosk that I need to keep updated with information that will be provided by a remote server. To do this, I've created an XMLHttpRequest/Microsoft.XMLHTTP object that checks the modified date in the header of a watched file that resides on …

Member Avatar for hsthompson
0
113
Member Avatar for Samoht VII

Ok so i have to print a table of data like so.. SURNAME LAST NAME ADDRESS POSTCODE right? but the problem is the text won't align to the appropriate heading. so when i try to use tabs if someone has a longer surname or whatever this happens. [CODE]SURNAME\t LAST NAME\t …

Member Avatar for corby
0
138
Member Avatar for gladiator1919

hi all, how can i start any application from c sharp i mean for example, if i have an openfiledialog and the user opened it and selected any file and opened it, i need this file to opened in its application whatever its extension and its default start application. i …

Member Avatar for gladiator1919
0
241
Member Avatar for hurricane123

I need clues for making a programe suppose there is sample data set in file sp13Input.txt. A 555-1234 B 555-1111 C 555-2222 D 555-3333 E 555-4444 F 555-5555 G 555-4321 z 000-0000 we have to make linear search,by giving the number and it will display the name of the person …

Member Avatar for hurricane123
0
95
Member Avatar for Hidden_mistakes

I am trying to get music to loop in the background of a game. However im really not sure how to do this. Can anyone give me a starting point please? I am using Visual C++ btw.

Member Avatar for Hidden_mistakes
0
295
Member Avatar for at004

Hey all, thank you for taking time to help me out, I am in need of some help. This is what is required from me: [QUOTE]Develop 3 ordered collection classes each storing a collection of Album objects in a sorted order but implemented in a different way as follows: 1. …

Member Avatar for at004
0
141
Member Avatar for Tekkno

I have a while loop and I am trying to associate a number with each line that increments by 1. I am sure this is probably something simple, I am not sure why I am struggling with it. Here is an example of that I have: [code=php] <?php $counter = …

Member Avatar for Tekkno
0
7K
Member Avatar for Carrots

Hi, I have in my database the location of some images I want to display, all formatted as: [quote] ../images/products/1.jpg ../images/products/1.jpg [/quote] I'm trying to diplay them in a webpage but get the following error: [QUOTE] x Warning: substr() expects parameter 1 to be string, array given in C:\xampp\htdocs\mysite\index.php x …

Member Avatar for Encrypted
0
3K
Member Avatar for petrelutza

Hello, I'm working at a project and I want to add a MP3 song an play it when the program that i made will be started... any ideas?

Member Avatar for petrelutza
0
280
Member Avatar for bettybarnes

this problem contains three classes, WordData, WordDataSet, and WordDataTester. each class already contains the necessary structure. the WordData class creates a unique word. it allows the tracking of the string [U]word[/U] and the integer [U]frequency[/U] of the word's usage. [LIST] [*]public WordData(String w) initializes the word to w and frequency …

Member Avatar for bettybarnes
0
128
Member Avatar for Vampdee

I have a client whose hosting provider dissappeared. He has an old ASP (read: Pre-.net) site and I need to get the site online at a new provider. TO start, I am trying to run it internally to make sure I know how to make it work. I have a …

Member Avatar for WebspoonUK
0
138
Member Avatar for unleashedmaniac

Our employees have an interface to enter their vacation days. The vacation dates are stored in the database as one row per day, minus the weekend days. I'm trying to create a report that will show the starting and ending dates for each employee. Note: Each employee can have muliple …

Member Avatar for WebspoonUK
0
113
Member Avatar for questionary

Hi. How could look database structure for callendar apllication with functionallity similar to Outlook Callendar? How single day should be stored in DB? regards q

Member Avatar for griswolf
0
93
Member Avatar for raymyster

hello, Dijkstra's algorithm is it more like greedy search or more like A* or none. Thanks

Member Avatar for 0x69
0
148
Member Avatar for NathanOliver

Hey all I have been writing my own implementation of a BigInt class and I think I have most of it down. I am using a vector<int> container for my number. I'm curious to what you guys think about. This is my first program using 1000+ lines of code. Please …

Member Avatar for NathanOliver
0
151
Member Avatar for sean12

Im having trouble with an assignment that I was given. here is the assignment and the code I have so far. The Telephone Lookup application The task The goal of this assignment is to design and write a program that does a telephone lookup. The program reads a data set …

Member Avatar for BestJewSinceJC
0
211

The End.