199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
i want to style highlight_string() how can i style it? | |
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 … | |
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[] … | |
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 | |
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...... | |
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 … | |
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 … | |
[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 != … | |
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] … | |
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 … | |
![]() | What do you mean by: "but I don't know how to add something to the dictionary while the program is running"? |
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 … | |
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 | |
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 … | |
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 … | |
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 ? … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
How do we get combo box's selected value in asp.net as we use to do in classic asp?? | |
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....... | |
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... … | |
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. … | |
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). … | |
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, … | |
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 … | |
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 … | |
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 … | |
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, … | |
[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? | |
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 … | |
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 … | |
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 … | |
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] … | |
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 | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
The End.