199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for something else

Right I must first say, this is not homework, if it was, I might have a clue what I am doing. I am currently doing some research and as part of the understanding of the data we have produced I am trying to convolute it. For this I want a …

Member Avatar for msiddi13
0
399
Member Avatar for dmmajorstudent

i'm trying to create a code where every content image in my html that is click must display a <div id="credits"> whenever the image is clicked. so the <div id="credits"> must display information in a format where it shows: File Name - image_file_name.jpg File Size - image_file_size (with units of …

Member Avatar for dmmajorstudent
0
181
Member Avatar for iammfa

Hi, This is small c++ guess game, I almost finished it, but when i tried compile it gave me an error: "Cannot open include file: 'stdlib': No such file or directory" is this file part of c++ standard library..? why compiler can't find it? here is my .cpp source:

Member Avatar for RayvenHawk
0
189
Member Avatar for sfurlow

For the final part of our project, we're supposed to: Add the following constant (the file name must match exactly): const string MASTER_FILE_NAME = "master.txt"; 2. Create the file master.txt and add it to your project. The master file must contain account records (one record per line). Each account record …

Member Avatar for Fbody
0
103
Member Avatar for alexa868

A criticism of the break and continue statements is that each is unstructured. Actually they statements can always be replaced by structured statements, although doing so can be awkward. Describe in general how you would remove any break statement from a loop in a program and replace it with some …

Member Avatar for BeyondTheEye
0
99
Member Avatar for Potty391

Hi all, I've been working on a Java guessing game, similar to hangman which rewards you with a picture using the Gogga class (developed by the people who wrote my IT textbook for Grade 10, also I removed gogga for this website, since I doubt you'd be able to find …

0
210
Member Avatar for rukshilag

what is the script to customise a login. for example if "abc" logs in to the website, how do i get it to display "Welcome abc", if "pqr" logs in "Welcome pqr" and so on... please help!

Member Avatar for phouse512
0
157
Member Avatar for laxter17

I am totally new to programming and could use some help. I am trying to write a while loop in python that could execute this equation but in a while loop type function. the equation is n * (n + 1) / 2 any ideas?

Member Avatar for ShadyTyrant
0
168
Member Avatar for smd5049

I have a datagrid bound to a sql proc. I have made the last column in the datagrid into text boxes so the items are editable. how do i return the values from these cells? Basically I want to be able to sum the entire column, as well as set …

0
100
Member Avatar for DdoubleD

A few days ago I decided to install MySql v1.2.17 and I downloaded a client class library: MySql.Data.dll v5.0.9.0 (by MySQL AB). I included the client classes inside my wrapper class and had it creating, dropping, inserting, and deleting tables..., or so I thought. I guess I never actually looked …

Member Avatar for sknake
0
237
Member Avatar for john_prince

Hi, We are taking backups for ldap instances, and with the new requirement would like to keep 1 day's of backup to local disk (/export1) and rest 14 days backup to SAN (/export2). Now we are in kind of fix on how to move the backups ( includes files & …

Member Avatar for sknake
0
183
Member Avatar for tdeck

Ideally I'd like to do it with a list comprehension. Something like this [CODE]result = [(key, value)for key in dict.keys(), value in dict.values()][/CODE] but clearly that isn't the right format. Any suggestions? EDIT: This seems like what I want to do, but it doesn't work: [CODE]result = [(dict.keys[i], dict.values[i]) for …

Member Avatar for jlm699
0
328
Member Avatar for skelator

Hi, I'm new here. I have been looking around for the last few months. Very new to java and I need help with this assignment. I am to program hangman, I know that this has been asked multiple times. I just cannot seem to find the answers that I need. …

Member Avatar for skelator
0
144
Member Avatar for jerrytouille

Let's start with 1 pipe such as ex: "ls | grep hello" What I'm trying to do is to split the *args[] into 2 that one contains "ls" (left-of-the-pipe command) and the other contains "grep hello" (right command) -> so I can execute the child pipe as producer and parent …

Member Avatar for jerrytouille
0
213
Member Avatar for skiplatte

I'm getting StringIndexOutOfBoundsException when I try to reasign the value of a variable. [icode]protString = protString.substring(newRPos+1, input.length());[/icode] I understand that this is something I would rather not do... but as I don't know the index of newRPos I can't think of another way to iterate. Thanks

Member Avatar for masijade
0
96
Member Avatar for chavanak

Hi, I am comparing 2000 files with one other file. I want the program to go through each line in both files and compare. If the line is present, then it has to write to another file. What I tried was to open both the files and use readlines() to …

Member Avatar for chavanak
0
433
Member Avatar for newportking

I am interested in learning python and picked up a friends textbook to try and work through it. I have no cs experience so am pretty clueless. I am having difficulty with one of the problems in the first chapter lol. i am trying to make the program spit out …

Member Avatar for newportking
0
118
Member Avatar for CSG-SQU

Hello all, i want to creat a list of an object so i used ArrayList in C# after declaring a class book i declare the array list as follwing: [CODE]private ArrayList mobileStore = new ArrayList();[/CODE] then i have an object of class , say Mobile [CODE]Mobile m1;[/CODE] and finally i …

Member Avatar for RunTimeError
0
121
Member Avatar for skarocks47

I want to create a menu. The files i have are main.cpp BMI.cpp and BFP.cpp. I want the program to use the BMI.cpp when 1 is pressed and the BFP.ccp when 2 is pressed. Here is my code so far. [CODE] #include <iostream> using namespace std; int main(void) { int …

Member Avatar for skarocks47
0
129
Member Avatar for vksingh24

Hi, I want to write a small desktop application which will fetch Live stock price from NSE/BSE or Yahoo finance website. In order to create such application I need the guidance that how shoudl I proceed with? The major problem I am facing is connecting a desktop application with intenet …

Member Avatar for sknake
0
120
Member Avatar for rukshilag

how do i add an image path to a mysql table of mine which has "product image" as a field. i have saved the necessary images to images folder in root folder as well... please help!

Member Avatar for diafol
0
155
Member Avatar for Sandar Khin

Hi all. pls help me.I repair a program for my need.At that time Text are not appear.Original progarm is here. [code] import java.awt.Color; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.IOException; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.Timer; public class MarqueeFrame …

Member Avatar for Ezzaral
0
165
Member Avatar for mcrawford3911

i’m using javascript, below is the form. If you go to the(A * B / C * D); part of the form. For some reason it does not work…do not know if I have something wrong. But if I were to enter 30 as A, 100,000 as B, 6 as …

Member Avatar for futingkiller
0
159
Member Avatar for BratNZ

The reason is that : 1. I wish to run multiple databases on a single server. To do this securely each login must be granted db_owner on the database so we can use "deny view any database" to hide the other databases from view. (login can see all databases they …

Member Avatar for forjo
0
250
Member Avatar for P00dle

Hi, I have stumbled on an interesting problem. I have thought 'n' thought, but haven't come up with any good ideas of how to handle this. I have a text file that contains many records, but without the records being seperated. I need to figure out how to seperate these …

Member Avatar for jlm699
0
321
Member Avatar for SuntechWebsites

Is there a way I can display an image, pdf or word doc that is stored in a my sql database? I tried to pull up a word doc with this: [CODE]$sql = " SELECT * FROM user WHERE username = '$_SESSION[MM_Username]' "; $result = mysql_query($sql); while($row=mysql_fetch_array($result)) { $inv=$row['invoice'];} ?> …

Member Avatar for SuntechWebsites
0
90
Member Avatar for iamsmooth

Just wondering what the difference is. I don't think I need to post my code, but basically for my assignment, I have stubs for a binary search tree. There are nodes created in the constructor, and among them are: Node parent Node predecessor Node sucessor Node right Node left Is …

Member Avatar for quuba
0
130
Member Avatar for Phil++

Right, you're going to think I'm crazy but is Association like "Has is" For example: I have 2 classes, Teacher and Classroom, to create association would be: Teacher has a Classroom? Thanks

Member Avatar for boblied
0
153
Member Avatar for Gem74

Please help, I don't know why it is not reading the file. I am working in VS C++ 2008, I saved "input_data.txt" in the header files, see below. What is wrong? #include <iostream> #include <fstream> #include <ctime> #include <cstdlib> #include "input_data.txt.h" using namespace std; class Node { public: int x; …

Member Avatar for Fbody
0
245
Member Avatar for ez123

When I run my fie and open this one folder, I get this error message Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/ezbiz/public_html/ar/templates/a_settings.html on line 61 Any help will be greatly appreciated.

Member Avatar for ez123
0
141
Member Avatar for honos1

Hello all.. Very new to php and am working on an online strategy game as a precursor to my business websites. I am having a problem coming up with something I thought would be simple. My intention was to have a list of units display on the screen using checkboxes …

Member Avatar for honos1
0
848
Member Avatar for Grn Xtrm

Hello friends, I am having a problem writing a function to search for a string in an input file. I have successfully output the file with line numbers, which was the first step in the program, but now I am stuck on searching for a given string. After searching for …

Member Avatar for Tajon Wong
0
3K
Member Avatar for A___F

Hi, I'm a newbie and trying to use javascript to hide or display different divs within a single IFRAME. I can't seem to get the syntax right... the Iframe, ID "frame", has 5 div's which I want to show depending on what link someone clicks. here's the js : [CODE]<script …

Member Avatar for wonderland
0
203
Member Avatar for P00dle

Hi, I have stumbled on an interesting problem. I have thought 'n' thought, but haven't come up with any good ideas of how to handle this. I have a text file that contains many records, but without the records being seperated. I need to figure out how to seperate these …

Member Avatar for P00dle
0
144
Member Avatar for Alxandr

I get an error trying to parse som XML. The error is [icode]System.Xml.XmlException: Root element is missing..[/icode], and I can't understand why. Here is the code I run: [code=C#] MemoryStream xmlStream = new MemoryStream(); StreamWriter xmlStreamWriter = new StreamWriter(xmlStream); String xml = "<html>\n<body>\n\n<h1>My First Heading</h1>\n\n<p>My first paragraph.</p>\n\n</body>\n</html>"; xmlStreamWriter.Write(xml); xmlStreamWriter.Flush(); XmlReader …

Member Avatar for Alxandr
0
3K
Member Avatar for lifeworks

hi i have two tables, one is products, the other is for 'discounts' on those products... when adding a new 'discount' i want to avoid adding two discounts to a single product... so i was looking for some sort of Right Join which would exclude all products which have a …

Member Avatar for lifeworks
0
110
Member Avatar for glennpatton

Hi, I am having problems with a device bulit by a colleague that needs to be working for Tuesday. If you talk to this device in HyperTerminal it errors all the time as it get the data from the UART too quickly it , he has found a thing call …

Member Avatar for glennpatton
0
191
Member Avatar for mike.bauer

The code is evaluating a expression tree. My issue is on line 57 when I try to dynamically allocate an array to be used as the nodes in the expression tree, the compiler gives the following error: tree.cpp(58): error: no suitable constructor exists to convert from "ExprNode *" to "ExprNode" …

Member Avatar for mike.bauer
0
234
Member Avatar for python.noob

Hello friends, I've tried to install wxwidgets in my mandriva 2009 spring for GUI interaction with python. In the installation instruction it said that i need gtk+ library. So i downloaded GTK+. When i configured GTK+ i got the message checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.21.3 …

Member Avatar for Gribouillis
0
193
Member Avatar for Alba Ra

Hello, I am a training developer in .NET and web 2.0 technologies and this one is an exercise from one of our first lessons in PHP: accessing a MySQL database from a PHP script. The problem I've encountered is that while database is thought to be in Unicode (i.e. the …

Member Avatar for Alba Ra
0
1K
Member Avatar for mrshailesh

Hi everbody, can anybody give me the code for payment integration for hsbc,paypro. also i need code for xml aparing in php5 thanks shailesh

Member Avatar for manojdonga
0
77
Member Avatar for rookanga

The program runs but has a logic error how can I fix it? and I need to finish the header block on the function, but I don't know how to, can anyone help [CODE] #include <iostream> using namespace std; // Function prototype bool searchList(long [], int, long); // Constant for …

Member Avatar for Fbody
0
130
Member Avatar for Rishi_Hamza

Hi, I have an assignment to read mails from Outlook and store them in DB in C# plateform. When I read the attachment File and store its contents in BYTE[] when I run the query to store contents in Database it is throwing EXCEPTION [quote]"An object or column name is …

Member Avatar for sknake
0
231
Member Avatar for jrosh

I want to knw whether I can access WAMP 's function (of course mysql) such as export & import programatically. (I am using java) or as mysql commands??? Thanks

Member Avatar for peter_budo
0
95
Member Avatar for hangman1060

The programming assignment is to read a text file, extract the words from it, and save them in a 2D array that contains the word and the number of occurrences of that word. For example, if a text file contains the words "first" "second" "third" "second", the array should contain …

Member Avatar for imolorhe
0
126
Member Avatar for akvlko

Hi, This is Ashok from India as I am a student but currently having a training for web development so I made a Job Consultancy Project and face the following problems.... 1. i designed a form on which user can input the information about the candidates and a search will …

Member Avatar for akvlko
0
196
Member Avatar for tulipputih

Hi, Is it possible to upload a file that contains some data and directly save the data in specific fields as in database using php?. this is important as the data retrieved according to their field name. Thank you.

Member Avatar for Atli
0
131
Member Avatar for ninatech9

Hi, this is one of my hw problems for the week and having trouble writing this code.-- QUESTION: 1. Create a program that will generate a 10 question math quiz for single digit addition. Your program should create 2 random numbers in the range of 0 – 9 and then …

Member Avatar for Skeen
0
2K
Member Avatar for elanorejoseph

[CODE]hi can any one tell me how validation can be done in PHP WITH OUT USINGjavascript[/CODE]

Member Avatar for venkat0904
0
346
Member Avatar for Mohamad89

Hello, I am currently doing a research at my university about the ways in which we can use multicore CPU to enhance graphics performance instead of putting all the load on the GPU, I am trying to work with both OpenGL and OpenMP and I am planning on using gDebugger …

Member Avatar for jbennet
0
289

The End.