199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for loshan.moonsamy

Problem: The statement ++Chequebook1; should increment the member variable Balance of Chequebook1 by R100. Give three different implementations for the overloaded operator ++ to accomplish this: • using the member function Adjust() • implementing the overloaded operator ++ as a friend function • implementing the overloaded operator ++ as a …

Member Avatar for np complete
0
172
Member Avatar for garyjohnson

This is really hard to explain but I am going to try me best, I have an html page which displays a video player named brosweplayer.html, the code is this, <!DOCTYPE html> <html lang="en"> <head> <title>Untitled Document</title> <meta charset="utf-8"/> </head> <body> <video src="$name" controls="controls"> </body> </html> Now, I also have …

Member Avatar for LastMitch
0
557
Member Avatar for ChandanMandal

Hello. As a new learner to ASP.Net I was curious to make a small blog machine. A simple application, where I add a title, upload an image and put some text. I did that. To display it, I used an editbox for title, another for description and an image control …

Member Avatar for ChandanMandal
0
202
Member Avatar for xIXZeroIXx

hello everyone, im new in here and im having a headache with my program,the thing is that i need to get a input from the keyboard and then separate it using strtok but have to separate the tokens using 4 diferent cases and in each case i need to print …

Member Avatar for WaltP
0
561
Member Avatar for Rasool Ahmed

Hi guys, I am programming a page that test the speed of customer's typing in the page. So what I did is to save the current time in page loading event and in the another page it will subtract the time that came from the previous page and display it.So, …

Member Avatar for Oxiegen
0
202
Member Avatar for MDanz

I just installed wamp, so i can test my website offline. Now i get numerous Undefined index or Undefined variable errors, which i know how to fix. Now logging in works online but with wamp it doesn't work. The code isn't wrong. I imported the database online to offline. I've …

Member Avatar for ryantroop
0
93
Member Avatar for ProNewb

I need a little bit of help here with comparing data sets. file1 = open("filename1.txt", "r") file2 = open("filename2.txt", "r") fileone = file1.readlines() filetwo = file2.readlines() file1 = close() file2 = close() exfile = open("results.txt", "w") for line1 in fileone: s1, v1, p1 = line[:-1].split(":") for line2 in filetwo: s2, …

Member Avatar for TrustyTony
0
159
Member Avatar for anitg

I have no issues with the query in the below code. But the second code is throwing the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Working code …

Member Avatar for broj1
0
202
Member Avatar for MrCbrl95

hey guys, i just registered here because i need a forums where i can come back to in case i need help developing my game. this site seems pretty good. well i get right to it now. i plan to make a mmorpg browser text based game with some 2d …

Member Avatar for ObSys
0
342
Member Avatar for opspl_programme

Hi, I have a dynamically generated sql query that is generated in VB6 and then passed on to SQL Server 2005. The query joins(inner join, left join, etc.) multiple tables. If I were to execute that query in Sql Server Management Studio, I would get something like this: TrayID| TrayID …

Member Avatar for opspl_programme
0
465
Member Avatar for ObSys

Ok so basically I want to know how I can paint multiple items to the screen without using all of my laptop CPU power. I was thinking that it may be possible to arrange the items as a bitmap and then paint that bitmap to the screen but im not …

Member Avatar for ObSys
0
204
Member Avatar for Hypalink

Hi guys, I´m attempting to write a simple "get quote" script, but need some advice about best practice. I want to structure it as follows, lets say a customer wants 1,2,3,4 or 5 apples - I want the quote to be $1. If the customer wants 6,7,8,9 or 10 apples …

Member Avatar for Hypalink
0
188
Member Avatar for BilalAKhan

I have a simple loop which is matching the letters and giving the equivalent into binary. Forexample I have a sequence of letters as *abc*, then according to the code given below the binary generated will be 000010001000011 and saved in the variable at the end. What I want to …

Member Avatar for TnTinMN
0
880
Member Avatar for superchica08

hello everyone I was wondering if anyone could explain big-oh estimate to me for c++ data structures. I do not understand it that much and does anyone know of any good websites that have good information on c++ data structures i would greatly appreciate it. Also could anyone explain to …

Member Avatar for superchica08
0
270
Member Avatar for michelle1

Hello, Can anyone recommend an [U]light weight[/U] IDE for C development? Preferably open source, but definitely free. (for Windows) It doesn't need to have its own version control - I'm using subversion - a plugin to subversion would be nice but it okay if it doesn't. Currently my colleague is …

Member Avatar for Abdelghafour
0
716
Member Avatar for sidhartha93

after writing the codes and saving it..while i compile it in comand prompt it shows an error as 'javac file not found '

Member Avatar for NormR1
0
49
Member Avatar for aabbccbryanmark

import java.io.*; public class QuizBee { public static void main(String[] args)throws IOException { BufferedReader a = new BufferedReader(new InputStreamReader(System.in)); int cor=0; System.out.println("\t \t \t \t \t \t \tWelcome to 10th Annual Quiz Bee of the Year"); System.out.println(); System.out.println("General Direction: In this question you are obligue to answer them honestly."); System.out.println("\t …

Member Avatar for aabbccbryanmark
0
206
Member Avatar for Stardemos

<?php $conn = mysql_connect("localhost", "sermail_demos", "demos")or die("sem conecчуo ao servidor"); $db = mysql_select_db("sermail_sermail")or die("Base de dados nуo foi encontrada"); $b=1; $c=2000; $sql2a = 'INSERT INTO content_type_image ( vid, nid, field_stock_value) VALUES'; for ($i=197; $i<2000; $i++) { $sql2a .= '('.$i.','.$i.','.$b.')'; } mysql_query($sql2a) or die(mysql_error()); echo $sql2a; ?> i cant finf out …

Member Avatar for blocblue
0
88
Member Avatar for gelmi

**Enter row number: 4 Sum of numbers in row 5 is 31. Sum of all numbers above 4 is 15. this should be the output look like.. can someone help me? thanks.

Member Avatar for Nutster
0
427
Member Avatar for green_ning

Hello guys. I am a starter in Java Programming. And I wanted to understand and manipulate it effectively from now on. I also want to start developing applications in iPad or iPhone but I am a Windows user, and I guess I need a Mac in able to do that. …

Member Avatar for green_ning
0
272
Member Avatar for Secone

Here's the entirety of my code. The problem I'm having trouble with is in the sortArray function. The first part of that function is used to sort the words gathered in a text file from A to Z, the second part is meant to find any duplicate words, ie 'a' …

Member Avatar for Secone
0
227
Member Avatar for khocmedemmua

Hi all! I have a question : I want to prevent the ' keyboard to textbox, please help me! (Sorry, I don't know how to call ' keyboard, it is below " ) Thanks

Member Avatar for //Gonz
0
114
Member Avatar for aabbccbryanmark

System.out.println("\t \t \tYou got " + (cor/10*50+50) + "%"); help me with this code.. i didn't get what's supposed to be the percentage.. what's wrong with it?.. i got 3 for cor and i should have 65% but i just get 50%..

Member Avatar for JamesCherrill
0
112
Member Avatar for joshl_1995

Hello Community, I was wondering, would it be mean to make my programs only available to members only?

Member Avatar for pritaeas
0
201
Member Avatar for lehe

Hi, I am reading a command in shell script using sed: echo $1 | sed -e "s/^[^=]*=\(.*\)$/\1/" what I don't understand is the sed command. I only know it tries to substitute "^[^=]*=\(.*\)$/" with "\1" and 1 is one of the positional parameters got from invoking the shell script, but …

Member Avatar for Pooja#
0
166
Member Avatar for HunainHafeez

i am done with my forms , sign up and login forms etc. now i want to know that how to apply mechanism like "facebook" or any other site which has login facility. i mean like a user fills in his EMail id and password and then he browse through …

Member Avatar for JorgeM
0
114
Member Avatar for sundog1

Hi guys, I hope someone can help. I have a list view being populated by a Table (cashCustomers) in an Access DB which has customers Information. * CashAccRef * CashName * CashAddress1 * CashAddress2 * CashTown * CashAddress3 * CashAddress4 * CashAddress5 and the following Orders table (cashOrders) * ID …

Member Avatar for Mike Askew
0
518
Member Avatar for Dani

Even though it's incredibly bad practice, most advertising servers still use document.write. It's terrible because placing `<script type="text/javascript" src="http://www.ad-server.com/foo.js" />` where you want the ads to appear is page blocking. I'm trying to move the script tag to the very bottom of the page (so at least everything above it …

Member Avatar for Troy3
0
2K
Member Avatar for Troy III

With this *Spartan*, we can destructively disable all the links on the page. (Or whatever link collection we feed the Fn.arg.)

Member Avatar for Troy3
0
185
Member Avatar for opawix

if (@$_GET['action'] == "Edit Record") { print "<font color=black size=14><center>Edit Student Records</center></font><br>"; $result = mysql_query ("SELECT * FROM students"); $rows = mysql_num_rows($result); if ($rows != 0) { print "<form>"; print "<font color=black><center><b>Select Student:</b><center></font><br>"; print "<select name=idnum>"; for ($i=0; $i< $rows; $i++) { $row = mysql_fetch_row($result); print "<option value=$row[0]>$row[1] $row[3] $row[2]"; …

Member Avatar for pritaeas
0
119
Member Avatar for opman234

Please help me. I want to set the identity specification to yes, but all the option is gray out. I could not change it to yes from no. Ĩ̷̊ñ sql server 2008. Thanks

Member Avatar for opman234
0
92
Member Avatar for daniel36

i am having a string in a variable similar to $school="bal bharti vidhya mandir"; i want to change this string into 'bal-bharti-vidhya-mandir'.Is it possible?I also need its reverse in my project.

Member Avatar for lps
0
95
Member Avatar for rvijaya

Hi, so I have to write a program for my Java assignment and I am just starting out so I might be doing this wrong but I can't figure out why it won't invoke the method I have created. import java.util.Scanner; public class EvalMarks1 { public static void main(String[] args) …

Member Avatar for rvijaya
0
154
Member Avatar for javaprog200

Hello, Are any of the older exams for the Sun Certified Java Programmer certification available online? I was able to find mock exams and other test prep material. Just wondering if earlier exams are available. Thank you!

Member Avatar for rotten69
0
177
Member Avatar for Raghu88

package com.zyom.struts.ats.action; import java.io.File; import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import jxl.Workbook; import jxl.write.Colour; import jxl.write.Label; import jxl.write.WritableCellFormat; import jxl.write.WritableFont; import jxl.write.WritableSheet; import jxl.write.WritableWorkbook; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.actions.DownloadAction; import org.apache.struts.actions.DownloadAction.ResourceStreamInfo; …

Member Avatar for Raghu88
0
267
Member Avatar for narendharg

Hi , I would thank you for replying for my thread, I would like to know about [B]static functions [/B]C language,what is the use of static functions. Narendhar Gomathirajan

Member Avatar for nitin1
0
639
Member Avatar for garyjohnson

I am trying to join two database tables, the tables are set up like this, This is table fgusers3, which stores my users login information. id_user name email phone_number username password confirmcode 1 Bob bob@email 000000 bob1 bobby 12345 This is table videos, which stores my users video upload information. …

Member Avatar for garyjohnson
0
239
Member Avatar for banana.apple001

Okay, I'm very new to Java as a whole, and I'm just trying to get to grips with it. I'm experimenting with classes, and I'm struggling to get this one thing to work. Basically, I've made a short program which one can make matrices, and all it has at the …

Member Avatar for banana.apple001
0
274
Member Avatar for brandon66

![WidgetRunning2](/attachments/large/3/WidgetRunning2.jpg "WidgetRunning2") hey everyone, need some help here im trying to create this(in the picture shown) but the problem im having is when i select the item from the combobox i want to show the price in the text field as shown but im not sure how i would go …

Member Avatar for NormR1
0
201
Member Avatar for jallalovski

import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.Scanner; public class Concat { public boolean accept(File file) { //if the file extension is .txt or .java return true, else false if (file.getName().endsWith(".txt")||file.getName().endsWith(".java")) { return true; } return false; } public void copy(PrintWriter pw, String inputFile) { File …

Member Avatar for NormR1
0
133
Member Avatar for cming21

I know I am new here but I need help with this assigenment that I am working on. [Tax Table] From To Tax due $0 $50,000 $0 + 5% of amount over $0 $50,000 $100,000 $2,500 + 7% of amount over $50,000 $100,000 ... $6,000 + 9% of amount over …

Member Avatar for TnTinMN
0
1K
Member Avatar for CloudZELL91

hi,, i know i will be criticised by this but am not a programmer though but its ok,,,, i like to know if someone is willing to help... ==>> Student Attendance system.......that uses VB and access that includes SEARCH,ADD,DELETE,EDIT.... info: database/access only includes student,id# course and a specific date on …

Member Avatar for TnTinMN
0
101
Member Avatar for Secone

I'm trying to have my program find duplicates in an array of strings, and if it finds one, it swaps the duplicate to itemamount - 1, adds +1 to the WordAmt for that word, and moves the loop one spot down. I just am not sure how to properly do …

Member Avatar for VernonDozier
0
236
Member Avatar for Start4me

I’m making a program that will be like a search engine, similar to a map program. There will be a text box for the user to search for a location. The thing I don’t know is that the user has 4 different combinations that they may enter. For example: **N229** …

Member Avatar for TnTinMN
0
300
Member Avatar for hughesadam_87

Hi, I'm having some difficulty reading in boolean values from a file, particularly false values. Python can understand false values as empty strings, as well as a few other ways. For example: In [43]: bool(0) Out[43]: False In [44]: bool(False) Out[44]: False In [45]: bool('') Out[45]: False The problem is, …

Member Avatar for woooee
0
929
Member Avatar for bulbul.sust.9

what is built in function in php ? and whts the difference of it with user defined functions? i think isset, unset, gettype,settype, strlen, strpos etc are built in function and when we write a function like this > function name{} that is user defined ? im little bit confused …

Member Avatar for diafol
0
112
Member Avatar for padton

Hello all, this is my first post here. I seem to have a problem dealing with data, csvs and dictionaries. Here is a snippet of contents of file 1 (Node,x,y,z): 1,19.0,18.2,22.4 2,8.4,9.4,10.2 4,22.2,2.5,3.1 7,3.2,6.1,4.3 10,3.1,4.2,33.7 11,3.7,23.8,23.4 Here is a snippet contents of file 2 (Node,x,y,z): 1,4.2,7.3,9.5 2,4.1,8.4,9.2 4,2.3,4.6,3.2 11,2.5,2.7,32.6 File …

Member Avatar for woooee
0
165
Member Avatar for ritaphuti
Member Avatar for sanket044

{Prescriptions.GlsType} Like "SV" and ( ((IsNull({Prescriptions.R_DV_CY}) and {Prescriptions.R_DV_SP}="+2.00") or (IsNull({Prescriptions.R_NV_CY}) and {Prescriptions.R_NV_SP}="+2.00") or (IsNull({Prescriptions.L_DV_CY}) and {Prescriptions.L_DV_SP}="+2.00") or (IsNull({Prescriptions.L_NV_CY}) and {Prescriptions.L_NV_SP}="+2.00")) ) i am having this type of recordselection formula but when i execute this if the First condition ***[((IsNull({Prescriptions.R_DV_CY}) and {Prescriptions.R_DV_SP}="+2.00") or ]*** becomes true then it is giving output, …

Member Avatar for AndreRet
0
176
Member Avatar for showman13

Good Morning, I am working on a script that requires multiple embedded function calls that could go up to 5 levels deep My Question is this... I need to be able to use the accumulating variables from function D outside of all the functions to display data. if I have …

Member Avatar for DarkMonarch
0
147

The End.