199,112 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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, … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
after writing the codes and saving it..while i compile it in comand prompt it shows an error as 'javac file not found ' | |
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 … | |
<?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 … | |
**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. | |
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. … | |
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' … | |
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 | |
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%.. | |
Hello Community, I was wondering, would it be mean to make my programs only available to members only? | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
With this *Spartan*, we can destructively disable all the links on the page. (Or whatever link collection we feed the Fn.arg.) ![]() | |
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]"; … | |
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 | |
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. | |
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) … | |
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! | |
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; … | |
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 | |
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. … | |
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 … | |
 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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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** … | |
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, … | |
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 … ![]() | |
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 … | |
{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, … | |
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 … |
The End.