199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vired

Hi! My homework is to make a c program for game of life. I have made my code already, the problem is when i'm running the code the compiler doesn't display any error, but my code still doesn't work well. I have to print in the screen an initial generation …

Member Avatar for vired
0
232
Member Avatar for Rupindersingh

The following code is supposed to read records from input and store them in a file called file.dat. Then it is supposed to arrange these records in ascending order, but for some reason the program hangs at line no.61. Can someone please tell me what's wrong? #include <iostream> #include <fstream> …

Member Avatar for Rupindersingh
0
137
Member Avatar for jjimesh_koli

how can i do image update mean i want change my image using php code......... and previosly store image del and new image is overright previously image and image information store in mysql database such as image name and image path...

Member Avatar for jamied_uk
0
84
Member Avatar for Argyrisv

Hi there i m having some problems in creating and handling multiple buttons. The idea is that i have two buttons "Accept" and "Reject" and i want to give them differnt names using the variable $i from the for loop. Below i give you the code which shows what i …

Member Avatar for Biiim
0
2K
Member Avatar for joseph_butler

I have written the following code to try to get my GPA calculator program to work. I am not allowed to use arrays. I only know what I am doing from the videos I have watched on youtube and the slideshows that we get from our instructor. Unfortunately, the slideshow …

Member Avatar for absar.mazhar
0
4K
Member Avatar for smartcard

I am currently testing a desktop application which is sending some data to a web URL in XML format, for some reason this data seems to be not sent in the correct format. I need to know if there are any website or script that I can use to troubleshoot …

Member Avatar for aquilax
0
215
Member Avatar for justanoob

hello guys, im having trouble on how to approach this assignment i have for my c++ class, please i would appreciate all kinds of help and advices. thank you in advance. The game is a one to three players dice game. At the start of the game there are nine …

Member Avatar for Lerner
0
197
Member Avatar for DarkMonarch

how do you guys start a DB? create a DB put it on the server and then connect and add stuff or create DB with server script and then add stuff ? BTW, i`m using php for manipulating the DB. It`s an employee online app. i was going to create …

Member Avatar for DarkMonarch
0
116
Member Avatar for lastgame2007

can anyone help me what is the problem .. here is the situation, there is USER1 logged in name ex JAMES a student, and on the other hand the admin updates the other student in his account,, why is it the current logged in replaced the updated one... ? this …

Member Avatar for lastgame2007
0
74
Member Avatar for msrikanth

Hi Friends, I need to some help in connecting to webserver using c shell or tcl scripting in linux ie in my office in linux system we have some intranet which is run by tomcat server so i need to connect to that server and read some data existing in …

Member Avatar for JeoSaurus
0
265
Member Avatar for Andy90

How to create and dispose the same object? I have created a form with button, on button click even I create a object and by clicking on same button I dispose the object! I m able to create a object but not able to dispose the same object. How to …

Member Avatar for Andy90
0
187
Member Avatar for zachattack05

I'm sure I know the answer to this, but I just want to double check because I'm doing some debugging and I want to rule this out. If I set the value of a variable with something like [ICODE]bool MyValue = MyMethod();[/ICODE] and initially the return value of MyMethod is …

Member Avatar for zachattack05
0
143
Member Avatar for skp03

Hello everybody i have created a application in application i have added a form1 and i have used two buttons, when i click(Triggered) button1 it will load form2 and when i click(triggered) button2 it will load form3 but my problem is this form2 and form3 should load when button1 and …

Member Avatar for thines01
0
199
Member Avatar for saleem.mukhtiar

Hello friends. that's gr88 that you people help out alot. My senerio is .. i made data grid form ..where i want ... when i double click on a Invoice no ... or Row in datagrid .. invoice open in new form where i can edit delete, or other opraitons …

Member Avatar for saleem.mukhtiar
0
205
Member Avatar for Farhan_B

Hi i was just wondering how i would do this task. It seems fairly simple but i dont no how to to do it. In my system i have a table where i have a total figure of the stock. what i am trying to do is when my saler …

Member Avatar for Reverend Jim
0
149
Member Avatar for BryantFury

Hi im currently doing some work with arrays and ive been working on this program. The goal is a user can add up to three products. Each product will have a name, model number and price. Once all is entered a list will pop out showing all the products with …

Member Avatar for BryantFury
0
129
Member Avatar for cleggy1987

hi im trying to use my login class file with my database class file using class extends and i cant seem to figure out how to connect the two [CODE]<?php class access extends MySQL{ var $user_column = 'username'; var $email_column = 'email'; var $pass_column = 'password'; var $user_level = 'user_level'; …

Member Avatar for cleggy1987
0
206
Member Avatar for snehil_khanor

I have an xml like [CODE] <?xml version='1.0' encoding='UTF-8'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:docs='http://schemas.google.com/docs/2007' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;C0EARXY8eit7ImA9WhVREE0.&quot;'> <id>https://docs.google.com/feeds/default/private/full</id> <updated>2012-03-17T16:27:24.872Z</updated> <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/docs/2007#item' label='item'/> <title>Available Documents - </title> <link rel='alternate' type='text/html' href='https://docs.google.com'/> <link rel='http://schemas.google.com/g/2005#resumable-create-media' type='application/atom+xml' href='https://docs.google.com/feeds/upload/create-session/default/private/full'/> <link rel='http://schemas.google.com/docs/2007#alt-post' type='application/atom+xml' href='https://docs.google.com/feeds/upload/file/default/private/full'/> <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full'/> <link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full'/> <link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full/batch'/> …

Member Avatar for thines01
0
510
Member Avatar for london-G

Hello, I have created a game in java and I would like to insert enemies. For now I placed them on plaftforms that I made invisible. How can I have the enemy on its own?

Member Avatar for london-G
0
87
Member Avatar for skyline2425

Hi, I'm a beginner in C++ and working on my lab assignment. I get the following error, please help. Thanks, Skyline error C2676: binary '+=' : 'Time' does not define this operator or a conversion to a type acceptable to the predefined operator // Function - CalculateTotalCollectionPlayingTime() Time MediaCollection::CalculateTotalCollectionPlayingTime() { …

Member Avatar for thines01
0
4K
Member Avatar for poojavb

Hello Friends, I want to calculate the instance of * in the text file.... but I am not able to do it.... can anyone tell me which file funtion to use for it... I first tried to read the file --- its just one line file then see if the …

Member Avatar for Mitja Bonca
0
198
Member Avatar for huskarit
Member Avatar for Reverend Jim
0
4K
Member Avatar for triumphost

Why does my delete function crash? I've used the same algorithm for other 2D vectors and it works perfectly fine.. I'm trying to remove an array of vectors from a 2D vector all of the std::string type. [CODE] //Ripped out of a massive class I wrote. vector<vector<string>>& Delete(vector<string> StringArrayToDelete, bool …

Member Avatar for histrungalot
0
699
Member Avatar for twoclicks

Hi guys, i'm a php beginner I was trying to create a function to merge two images into one. I have been successfully merging a frame(png) on top of an image uploaded (jpeg) on low res. Then i move on to increase the image file size so that i have …

Member Avatar for jbennet
0
386
Member Avatar for jet101

guys, I need help in swing framework... what method is being used when you have to pressed exit button first before opening other frames? It's like an equivalent of showDialog() from C#.net.

Member Avatar for jet101
0
218
Member Avatar for aianne

Hello. :) So I am creating a grading system where users can compute student's grades on selected ID Number. The problem is after clicking the COMPUTE button, an "Error!" message display. So far I can save the grades in database but I can't compute it. I'm sorry I'm new to …

Member Avatar for urtrivedi
0
500
Member Avatar for thepanther

hi all im trying to make a quiz on this..here is my code but cant seem to get it to work Grrrrrrrrr ---------------------------------------------------------- it gives the user a mark on how he/she performed. This should be time limited and when finished should also display whether the given answers were wrong …

Member Avatar for thepanther
0
94
Member Avatar for ilovephil

guys im using reverse polish notation in link list my problem is every time i enter the OPERATOR (+) it will add and that operator display as '0' im having trouble in that operator i need to display it as blank >_< help me guys #include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> #define …

Member Avatar for ilovephil
0
184
Member Avatar for sugir1987

here i have code it work well here i have assigned size of the row and column. how can i get the row and column value from text file.[CODE]import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.StringTokenizer; public class csvimport5 { public static void main(String[] args) throws IOException { …

Member Avatar for NormR1
0
172
Member Avatar for djescobar

Hi Sorry i was doing a little program and i need helps i would like to something similar to that [url]http://i42.tinypic.com/2mys23d.png[/url] this is my code so far [code] private void makeFrame() { frame = new JFrame("Jubilee Estate Agency Property"); makeMenuBar(frame); Container contentPane = frame.getContentPane(); JLabel label = new JLabel(); contentPane.add(label); …

Member Avatar for djescobar
0
233
Member Avatar for declancarey

I have a live update system for a football team, which I input the following: Date, Score, Event (Goal, Red card, Yellow Card, none), Details So 4 columns. At the top of the page, I want to display the latest score, so bascially I want to grab whatever the current …

Member Avatar for smantscheff
0
108
Member Avatar for M.Waqas Aslam

hello ! how are you all , hope all of you are in great state of health and peace , well i have some questions , 1- WHAT IS MSSQL TRANSACTIONS . 2- where we use it. 3- Advantages /Disadvantages 4- Any imp information or point which you think it …

Member Avatar for M.Waqas Aslam
0
343
Member Avatar for jacob21

I want a Jquery Popup Form which will appear on Page Load but only one time (for newsletter purpose). After filling form.. I want to store values into a table.

Member Avatar for pritaeas
0
100
Member Avatar for mnewsome

I write as one just starting to learn to use Visual Studio 2008. Is there a version of SQL server built into Visual Studio 2008 Team Suite? I have heard of SQL Lite but do not know if a database app already exists within Visual Studio. Seeking guidance on how …

Member Avatar for Mitja Bonca
0
110
Member Avatar for obwills

hello vb elites please i need help!! i want to use the values inside my datagridview colume. what i want to do is this, i have a date column, and i time column. so i want to check if the date is today and if the time is now, then …

Member Avatar for anuj6928
0
483
Member Avatar for kevinyu

I've encountered this error while adding an image to the database. (column's data type is not binary, but image) error message is attached on this post. this is my code for adding images to DB. [code] byte[] ins = GetBinaryFile(txtDIR.Text); int x = 1; string comm = "INSERT INTO pictable …

Member Avatar for Mitja Bonca
0
280
Member Avatar for mehdimughal

I need help with this code Constructer is abnormally called again n again.... add these file 2 a project n run ...i've given given constant messages in da code to explain the problem! Hit (1) two tyms i.e GetInput function in da menu.... u'll get 2 knw wat da problem …

Member Avatar for jbennet
0
207
Member Avatar for ilovephil

Hi this is RPN i would like to ask why the free(after) does not remove the after..im still confuse but whenever i print the value of after it is the last node but when im trying to remove it doesn't. #include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> #define p printf #define s scanf …

Member Avatar for savoie
0
130
Member Avatar for FDRSOURCE

I receive error at camera.Camera.<init>(Camera.java:19) at camera.Camera.init(Camera.java:32) at camera.Camera.<init>(Camera.java:21) at camera.Camera.init(Camera.java:32) at camera.Camera.<init>(Camera.java:21) at camera.Camera.init(Camera.java:32) at camera.Camera.<init>(Camera.java:21) at camera.Camera.init(Camera.jav and continues. Please help, last day [CODE]package camera; import javax.swing.*; import java.awt.event.*; import java.awt.event.ActionListener; /** * * @author FDR */ public final class Camera extends JFrame{ private JTextArea txt; private Camera …

Member Avatar for JamesCherrill
0
182
Member Avatar for mehnihma

Can you help me with this code, I need to find a word, but it only finds first word, how to find multiple words? [CODE]lass managerClass implements ActionListener { @Override public void actionPerformed(ActionEvent e) { String myWord = txt.getText(); Highlighter h = textArea.getHighlighter(); String searchArea = textArea.getText(); if (e.getSource() == …

Member Avatar for mehnihma
0
163
Member Avatar for saswati_mishra

Hi, We are developing a software in j2ee/jboss appserver. I have designed a login page the source code of which is given below, loginpage.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>index of third eye</title> <link rel="stylesheet" href="stylepage.css"> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for stultuske
0
259
Member Avatar for silvercats
Member Avatar for zephiechan

I tried searching around, but I don't understand exactly what I'm looking for so it could very well exist already and I just don't know how to ask the search engines about it. I apologize in advance. Thus the question mark on the thread title. My current background of programming: …

Member Avatar for Gribouillis
0
141
Member Avatar for fire eaters

I have developed a web application and it works very well in the localhost. but when i put it to the web server the relationships in the table doesn't work. for example when a parent row is deleted all the child rows associated with it should be deleted. but it …

Member Avatar for smantscheff
0
141
Member Avatar for krejar

Given a UML diagram of: Oval ------- ------- +draw (g:Graphics, x:int, y:int) +toString(): String I have currently [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Oval extends Shape { public Oval (Color color, boolean isFilled, int width) { super (color, isFilled, width); } public void draw (Graphics g, int x, …

Member Avatar for JamesCherrill
0
122
Member Avatar for dilse4sk

hi i am having problem in deleting a single row from a gridview. i am using binding navigaator to delete the row. i have customer table and booking table. Cust_id is used as foreign key in booking table. when i try to delete a single row from booking table it …

Member Avatar for M.Waqas Aslam
0
194
Member Avatar for backblack

hello, i need some help with my source code. can anyone explain how to create a button to view next record from my database in php? sorry for my bad english <?php session_start(); if(isset($_SESSION['id'])) echo "Selamat Datang,".$_SESSION['id']."!"; else die('Tiada maklumat yang dicapai. Sila <a href="../index.php">login</a></h1> semula!'); $con = mysql_connect("localhost","root",""); if …

Member Avatar for diafol
0
2K
Member Avatar for P.manidas

I am trying to run an asp page with an external JavaScript file but it is showing error like this.... Error Type: Active Server Pages, ASP 0124 (0x80004005) The required Language attribute of the Script tag is missing. /ew-ii-as-8/testserverwithEJSF.asp, line 3 My both files are... TestServerWithEJSF.asp [CODE] <html> <head> <script …

Member Avatar for P.manidas
0
593
Member Avatar for kubaikev
Member Avatar for realoneomer

Hello Perl Guru's I am playing with two text files using perl but i have been end up after a one day effort and got nothing there fore i have decided to post some thing here for help well here are some details that what actually i want to do …

Member Avatar for naieev
0
467

The End.