199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shijas

Hi, I am developing a s/w. I am trying to update data in table. While I save the data, it will update into table. I have a gridview which binds table data through dataset. While I update the changes it is not reflecting in the grid view. What I will …

Member Avatar for ayesha789
0
95
Member Avatar for pyboii

hey ill get straight to the point i need to create a python script to read each record from a .txt file and output each record in the same format to the cmd line, 4 lines including (name,address,ph no and email) 3 records. it needs to utilize the basic logical …

Member Avatar for lllllIllIlllI
0
166
Member Avatar for LizzyJo

Hi there everyone. I have a problem with the JavaScript code for my aggregates workings for my course. I have worked out with some help how to input a number, click a button and get the number to appear in a listbox. I also had to get the Reset button …

Member Avatar for LizzyJo
0
120
Member Avatar for lifeworks

Hi Im new to OO PHP, been reading through my book and in one example they are using a class structure in a shopping cart. I have used session variables in the past for shopping carts, can I assume that if I create a class, which has a cart_contents array …

Member Avatar for lifeworks
0
88
Member Avatar for madmital

I'm trying to create a virtual directory in an asp.net 2 application....and I'm about ready to explode. My company is hosting several web sites, and I want all of the sites to be able to share a directory of commonly used files, so that I won't have to include all …

Member Avatar for dbreise
0
350
Member Avatar for Mr.Magic

New guy here and I'm stuck on this code I cant get to work right. I want to input any amount of numbers and I want the output to be the largest number along with how many times the largest number was input. I'm just off a bit but I …

Member Avatar for DaBunBun
0
299
Member Avatar for CassieJ

I'm hoping someone can point me in the right direction, I'm looking for games that I can add to my website - free games. I just want kids games, as this is for a Kidz Zone on a site. I'm just not sure where to attain games and so forth. …

Member Avatar for mudassirjaved
0
82
Member Avatar for SKANK!!!!!
Member Avatar for tomtetlaw

Ok, So I'm trying to create a 3D engine with DirectX 9, and I have run into a runtime error that says "Stack overflow". When I encountered this, I thought that it might have came from a for loop, so I checked that they went forever, and they all were …

Member Avatar for tomtetlaw
0
101
Member Avatar for COKEDUDE

Can someone please explain why this division is not working. This is very simple division but for some reason it won't work. double Percent = Correct / Questions; [CODE]//**************************************************************** // Quizzes.java // // Calculates quizz scores. // // // **************************************************************** import java.util.Scanner; public class Quizzes { public static void main(String[] …

Member Avatar for COKEDUDE
0
2K
Member Avatar for ramjeev

On firing an event at a keyReleased or actionPerformed(button click).This event fires continuosly whenever I click.Say,for 10 clicks, 10 events are in queue.I want to clear remaining 9 events while first processing. -thanks

Member Avatar for ramjeev
0
74
Member Avatar for RAMAN2233

how to move items from listbox1(which is populated from backend database) to listbox2(which is empty). Now after that i have to add listbox2 items to database. Thank u in advance......

Member Avatar for willopt_ric
0
83
Member Avatar for nhamyl

this program has information about customers. this program has to perform the following functions. - display list of all customers - search by name - search by id - display list of customers having credit limit above 5000 - add new customers i am unable to compile the program. here …

Member Avatar for jonsca
0
141
Member Avatar for maverick405

I am trying to code the below program using overloaded function which give me output is the answer in correct or not for the three different question, the answers are already provided in the program all I have to check the answer and give the output statement if the answer …

Member Avatar for VernonDozier
0
146
Member Avatar for ninreznorgirl2

[code]void DeleteNode (char CharToDelete, NodePtr List, int &CharFound) { NodePtr NodeToBeDeleted; NodePtr Temp = List; if(List->Link == NULL) return; while(Temp->Link != NULL) { if(Temp -> Ch = CharToDelete) { NodeToBeDeleted = Temp->Link; Temp->Link = NodeToBeDeleted -> Link; delete NodeToBeDeleted; CharFound = 1; } else Temp = Temp->Link; } if(CharFound != …

Member Avatar for Clinton Portis
0
95
Member Avatar for centurion 5

Hi, I am building a cinema booking system in ASP/VbScript with MS Access. I would like to display the records from the recordset in form of: [-----STAGE-----] [B] [x] [x] [x] [x] [x] [x] [B] [x] [x] [x] [B] [x] [x] [x] [x] [x] [x] [x] [x] [x] [x] [x] …

Member Avatar for closetosane
0
96
Member Avatar for AngryOne

Hello I'm begining to learn Java and I'm trying to convert from a While loop into a for loop. Sadly I'm just not quite grasping it... I understand the loop is here [CODE]while (n * n > Math.pow(2,i)) { i++; } [/CODE] but it's not quite as simple as changing …

Member Avatar for cms271828
0
111
Member Avatar for sravan953

What do you mean by: "but I don't know how to add something to the dictionary while the program is running"?

Member Avatar for mn_kthompson
0
113
Member Avatar for cole davidson

Hey guys, So I am trying to make a program that will prompt the user to enter 3 integers (int1, int2, int3), then sort the integers into ascending order. I have the program reading the integers, but I can't get it to sort. I know I can use the sort …

Member Avatar for cole davidson
0
171
Member Avatar for basketball4567

For my project, i have to be able to monitor the keyboard for input. Rather than having the user type in 'r' then hitting enter for an action, how would i have the user type 'r' and then have the action perform, skipping the process of hitting enter. Thanks

Member Avatar for basketball4567
0
109
Member Avatar for TheRekz

I've compiled my code and I got the following error: [code] hw01-question1-2-main.cpp:(.text+0x257): undefined reference to `void MatlabPlotter::plot<25, 25>(ece373::vector<ece373::vector<double, 2>, 25> const&, ece373::vector<ece373::vector<double, 4>, 25> const&, double)' CMakeFiles/simulation_new.dir/hw01-question1-2-main.cpp.o: In function `ece373::vector<ece373::vector<double, 4>, 25> const& Simulator<25, 25>::run<25, 25>(ece373::vector<ece373::vector<double, 2>, 25>&, double)': hw01-question1-2-main.cpp:(.text._ZN9SimulatorILi25ELi25EE3runILi25ELi25EEERKN6ece3736vectorINS3_IdLi4EEEXT_EEERNS3_INS3_IdLi2EEEXT0_EEEd[ece373::vector<ece373::vector<double, 4>, 25> const& Simulator<25, 25>::run<25, 25>(ece373::vector<ece373::vector<double, 2>, 25>&, double)]+0x67): undefined …

Member Avatar for TheRekz
0
116
Member Avatar for shahab.burki

Hi, I am trying to develop a small IPv6 application in C. I am stuck at server side. GCC issues the error while call to ACCEPT function "socket function on non-socket". Can anyone help me? 1. Client Code [CODE]#include "shahab.h" int main(int argc, char **argv){ int connectSocket; int numberOfBytes; char …

Member Avatar for gerard4143
0
246
Member Avatar for NicAx64

hi all , I'm stucked with this bug or my error. I don't say that I find a bug on the visual studio compiler, what I need is to make this fix and continue my project. please give me a idea how to start after this kind of bug ? …

Member Avatar for NicAx64
0
185
Member Avatar for neithan

Hi everyone, i have this portion of code [CODE=c]while(c = getc(file) != EOF)[/CODE] c is an int and file is a FILE *file = fopen(filename, "r"); The filename points to a file with 2 lines, 10 characters total. That while always makes c a value of 1 (accodring to ASCII …

Member Avatar for neithan
0
99
Member Avatar for MineSweep

I'm pretty new to python, but I'm trying to create a simplistic version of Mineweeper. I have developed functions that randomly place mines in a 9x9 matrix (nested lists) and then I have functions that assign values to every cell that doesn't contain a mine corresponding to the number of …

Member Avatar for MineSweep
0
7K
Member Avatar for javaconfused

The Demetris Leadership Center publishes the books, DVDs, and CDs listed in the following table: Title: Description Product Number Unit Unit Sold Brave New World Book 110 25.50 925 Lady Gaga CD 111 16.00 275 The Forgotten DVD 112 24.50 289 Twilight DVD 113 45.50 135 The Giving Tree Book …

Member Avatar for Clinton Portis
0
215
Member Avatar for Ciganjo

Hi Im really stuck on one problem. I trying to save some data to a file. im using Borland compiler. the challenege is to create a new product and save its details to a text file. 1. the user inputs product details i.e. Barcode, Name, Price, and quantity via the …

Member Avatar for mrnutty
0
136
Member Avatar for luketongs

Hi guys, with help I've figured out how to set the "user cannot change password" using the code below. I'm now trying to figure out how to remove the property. I thought setting the denied flag to "allow" would work but it seems to do nothing. I would like the …

0
102
Member Avatar for javaconfused

The Demetris Leadership Center publishes the books, DVDs, and CDs listed in the following table: Title: Description Product Number Unit Unit Sold Brave New World Book 110 25.50 925 Lady Gaga CD 111 16.00 275 The Forgotten DVD 112 24.50 289 Twilight DVD 113 45.50 135 The Giving Tree Book …

Member Avatar for Clinton Portis
0
353
Member Avatar for Mona1990

Hey, I was wondering if someone could help to figure out , how to add a value to a key that already exists in the dictionary. where the values of each key are lists. so for example: theIndex = {124:["b","s"], 356:["dg", "n"]} and i want to add the value "m" …

Member Avatar for Mona1990
0
70
Member Avatar for sabarish_iyer
Member Avatar for sabarish_iyer
0
110
Member Avatar for rajabhaskar525

hi all, i want expandable veritical menu . when click on header it will another page with expandable state is same as previous one. any one having this script help me.......

Member Avatar for chrishea
0
90
Member Avatar for lili.edryana

hello everyone.. i would to ask about my simple code here.. it's not working.. i actually want to display a forum badge which is data are received from the database. And i stucked at putting the avatar to a portion of the badge..i mean it looks like facebook profile badge... …

Member Avatar for Atli
0
192
Member Avatar for Mona1990

Hi! I was wondering if someone could help with writing the code for the following function. I am having trouble with dictionaries and would greatly appreciate some hints! thanks! Write a function build_car_maker, which consumes a car registry dictionary, and produces a car maker dictionary, leaving the original dictionary unchanged. …

Member Avatar for Mona1990
0
110
Member Avatar for spiriad

Hello there, I have the following situation : I have a moving ball in a rectangular 2D chamber. When the ball touches the walls of the chamber it changes it's direction. It is simple to implement the ball movement when the chamber is empty ( it has only 4 walls). …

Member Avatar for spiriad
0
116
Member Avatar for reversed

I'm fairly new to pointers and are having problems with the char* words[] part of this program. It's all fairly simple [CODE] #include <iostream> #include <iomanip> using namespace std; void getString(char* string, int max_length); void getWords(char *orig_string, char* words[], int* word_length, int& wc); void displayInfo(char* orig_string, char* words[], int* word_length, …

Member Avatar for Clinton Portis
0
117
Member Avatar for mybluehair

I've got a library that is annoying me. When I command it to do what I need it to do, it spits out a bunch of text onto the screen that I don't need. Is there a way to temporarily "mute" a console program, then re enable it later? This …

Member Avatar for mybluehair
0
254
Member Avatar for moazmizo

hi, i have to make a simple sudoku solver, i am done 3/4 of it but i'm having a little trouble on somethings, here is what i've got so far [CODE] import copy def display(A): if A: for i in range(9): for j in range(9): if type(A[i][j]) == type([]): print …

Member Avatar for flufflekins
0
113
Member Avatar for Chillawowa

An interesting question came across my mind: If it is possible to convert a percentage to a Grade(A,B,C,D, or an F). Firstly, there is an easy method to convert a percentage to a Grade; by using an If and Else loop. However, are there also other methods with which this …

Member Avatar for BestJewSinceJC
0
130
Member Avatar for nizbit

I need to be able to print at an offset where the second element of the second list matches up with the first element of the first list. For example have a's line up with the b's: [CODE] list = [[a, b, c, d],[a, X, X, b, c, d],[a, X, …

Member Avatar for nizbit
0
269
Member Avatar for SKANK!!!!!

[URL="http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.socialemo.com%2Frss.php"]http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.socialemo.com%2Frss.php[/URL] that is what the error is my basicaly exact code is: [URL="http://www.ibm.com/developerworks/library/x-phprss/"]http://www.ibm.com/developerworks/library/x-phprss/[/URL] how do i get it to work?

Member Avatar for SKANK!!!!!
0
130
Member Avatar for DawnOfIkaros

Hi! I'm new to C++, been through the basics, and now I'm attempting to make a small console rpg-game where I want my stats (level, xp and such) to be saved in a file. I've successfully saved them into a txt-file, but how do I open it? I don't need …

Member Avatar for DawnOfIkaros
0
101
Member Avatar for Lukezzz

I am creating a File and at the same time writing 3 lines to this file and then closing the file. What I wonder is if the fileSystemWatcher has any event that detects when I have done exactly this operation and closed the file. I want the filesystemwatcher to react …

Member Avatar for Lukezzz
0
90
Member Avatar for FZR005

Can I install hardcore computer games on a flash drive without installing on my computer? So can I install hardcore computer games on a flash drive without installing the games on my computer? I would like to play games such as Star Wars Knights of the Old Republic 2 The …

Member Avatar for mrPaul
0
151
Member Avatar for ROTC89

ok so i am having problems with my program. its a client program talking to the server program. i have both programs working fine but i do not know how to get the conversation to display on the server side of the conversation. here are the codes and makefile [code=c] …

Member Avatar for ROTC89
0
131
Member Avatar for NeeedYourHelppp

I need help to make a Text based mafia game. I cant code :L But im willing to try and learn. The game i am thinking of should be something like Gangster Bliss or Gangster Paradise :) Anybody willing to help me? :D

Member Avatar for brandonmofiki
0
126
Member Avatar for bigmaq

Hi, so I have put up two posts in the last day on this program. I am quite new at this concept of Heaps and Heap Sort and I have done a lot of work figuring this out, but i am very close to getting it. I do have my …

Member Avatar for bigmaq
0
175
Member Avatar for dalypen

Hi, I got this for nfl pickem program and installed it on my website.I use yahoo web hosting. I have most apps working but the signup form is killing me. when user go to my webpage and try to signup, it just takes you to a blank page. here is …

Member Avatar for Stefano Mtangoo
0
352
Member Avatar for gangster88

I need the function to display a square of numbers. This is the actual function. [code] def draw(n): for i in range(n+1): print i*(n) [/code] but if i call the function [code] def drawBlock(3): [/code] then the output should be 333 222 111 but i cant understand how to get …

Member Avatar for vegaseat
0
147
Member Avatar for masterofpuppets

hi everyone, I am trying to design an assembler program with Python using Tkinter and so far it is going pretty good. I just have one question: Is there anyway to change the text color of just a selected text using a text area? What I mean is, you know …

Member Avatar for masterofpuppets
0
5K

The End.