199,114 Archived Topics
Remove Filter ![]() | |
This time I am making an orderedLinkedList program, which will not compile for me. The code is all way too long to put on here, so I will show you the errors I am getting. Please give me any input on what you think the errors could be caused by. … | |
[INLINECODE]I am trying to develop a program that reads a list of integers from a file and outputs whether or not each integer in the file is perfect. Its suppose to give practice using endfile-controlled and for loops. The input file of numbers i have created are : 456 18 … | |
I'm supposed to design a method that takes in a double value and translates the value into the closest letter grade. 4,3,2,1,0 denote A, B,C,D,F, respectively. + increases a grade's numerical value by 0.3 and - decreases a grade's numerical value by 0.3. There is no F+ or F-. A+ … ![]() | |
when we use <ul> <li></li> <ul> we get disc in IE and why do firefox display diamond can you just suggest me how to change this in firefox | |
Hey all, I've tried not to ask questions for like a week or two but, I've got the Introduction to Java Programming (sixth edition) and I'm doing the Exercise 7.2 'The Fan Class' where I am to; Design a class named Fan to represent a fan. They have the UML … | |
This code is meant to be a simple quiz, but I am getting 4 errors that I cannot figure out. Thanks in advance. import java.io.*; public class Quiz { public static void main(String args[]) { int correctCounter; InputStreamReader reader; BufferedReader buffer; keyboard = new BufferedReader (new InputStreamReader (System.in)); } String … | |
[code] _ _ _ _ function2(_ _ _ _ _ _ _ _ _ _ _ ); main{ int n[]= {4, 5, 6}; int *kptr ; kptr = function2( n ) ; } [/code] Fill in the blanks and you get: [code]int *function2( int array[ ]); or int *function2( int … | |
Hi, Can someone tell me how to identify a carriage return character in string | |
Hi, im at the end of my tether after spending hours trying to find a solution to this so hopefully somebody here can help me out. I have a structure, customer, which contains just a few details such as name address phone number etc. I need to store this info … | |
Hello all master coders, I have been doing my site exclusivley in html. What is the big differences bewteen php and html? What are the advantages/disadvantages? What, if any would be the penalty from going from an html site to a php site? Would this hurt the PR I have … ![]() | |
The rewrite I'm using maps /products/string to products.php?product=string and the products.php is basically: [code] <header> <?php if(!isset($_REQUEST['products'])) {?> <a href="products/consumer-hardware>Consumer Hardware</a> <?php }?> <?php if (isset($_REQUEST['products']) && $_REQUEST['products'] == 'consumer-hardware') {?> <consumer-hardware details> <?php }?> <footer> [/code] Now the rewrite works, because I'm not getting a 404, but of course … | |
Hello experts, I'm having some difficults with the code that i have used from one of the PHP, MySQL books. As the error that appears is in bold on line 17, and the error that shows is listed below: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource … | |
can anyone give an idea like how to develop an online quiz how can i enter questions how to match entered answers with the ight answer and get the result just give me an idea plz help me on this regard Regards shruthi | |
Hi, I am tryiing to open a file from my python project. The path to the file is given as .\Templates\html\temlate1.html. I used the file Alerter.py to open the above said file. Actually this source file and the Templates directory are existing in the same folder and on execution of … | |
Hi , Is there any one help me to write the java code for displaying all [B]compatible system time zones[/B] and setting the required time zone among those list. Thanks and regards | |
please any one send a program to "[B]addition and subtraction of two SIGNED BINARY NUMBERS by using 2'S COMPLEMENT[/B]" it is urgent | |
I already made the calculator, but I'm trying to also put the function used in the textbox results. Example: 2 * 2 = The function used was multiplication. Your answer is 4 I used labels to identify -, +, *, / Two textboxes to put in input. 1 textbox for … | |
Hi can we create an exe file in java and used it anywhere we want without using any jdk/jre deepti | |
Hi all, Thanks for giving reply of my previous problems.Now again i have issues in using paypal.I have successfully implemented paypal in my application but got stuck in 'Istant payment notification'.Please, could anyone help me to implement 'IPN' in my application. Thanks & Regards, Vineet Kumar | |
The company that I'm updating a website for just moved the site to their server within the store. It's an ecommerce site that uses ASP. Now, when someone tries to access a product (through the site) it gives this error message: Number : -2147467259 Page : /cart/scripts/prodList.asp Desc : 'f:\wwwroot\debonaireyes\_private\deinv02192004compsol.mdb' … ![]() | |
Dear all .Netters, In my report, I have 3 parametes(Par1,Par2,Par3) In this case, I only want to give parameter only for Par1,Par2. I set Par3 as interal and hidden parameter. In my webform, I write these code : [COLOR="Green"]ReportViewer1.ProcessingMode = ProcessingMode.Local Dim rep As LocalReport = ReportViewer1.LocalReport rep.ReportPath = "RptProductPhoto.rdlc" … | |
I tried to Sends email but somehow email not getting out, please help me how I can write shell script in right manner. Thanks and regards This is the one I tried my end. Script: #!/bin/sh set wma = `grep -i "java" sampletest` echo $wma mail -v -s "ALERT" [email]tamilmercy@yahoo.com[/email] … | |
Hi I’m trying to use the function os.execv to execute a batch script within my Python script. Second argument for os.execv shall be a tuple or a list and I test to send tuple or a list as second argument, but nothing works, I get different type of error message. … | |
I am trying to convert some data that I read in file as string data to a float array The data that is read are in two dimensional string array like [CODE]char tmatrix[10][100]; for(j=0;j<k3;j++){printf("\n %s",tmatrix[j]);} //k3=max data read 0.5 0.2 0.3 0.6[/CODE] Now I need to convert the content of … | |
Hi everyone Can sum1 tell how to export data on an excel file from the click of the button which is there on the jsp page.The Data first should appaear on the jsp page and only when the user/client clicked on button then the data get exported to the excel. … | |
how can we do "make" and "makefile" in VC++ should I download the GCC compiler to windows | |
Hello! I was wondering if anyone has a forum backend, in python? I know a bit of python myself, but I want the backend (working backend for a forum) I am going to make the frontend myself (in html, not php, has to be html) Please provide it! Thanks in … | |
Hie, i am writing my 1st programme form to automate a frequent task. Attached is my current form. 1) open a file & sort necessary details which will be saved in a designated folder in C drive. 2) show sorted files from C drive. 3) further select & segregate files … | |
My assignment asked me to write a function that would print out a "*" when a number was prime. My output also has print out the odd numbers between 5 and 49. Anyway My function prints out only the prime number, while I want it to print out all the … | |
Hi All I am trying to connect to my database from the front end in VB.NET 2003, the connection strings that i have tried are not working at present. I have VB.NET 2003 program from last year but that was using access as the back end and VB.NET 2003 as … | |
i am using vb.net as my front end and excel and access as my backend for databases i have the connectivity code of both ends data retrieving has been done but now i need to encrypt the data in my database and then retrieve it and decrypt it in vb.net … | |
i have a problem with my code... i use this code to open an excel and manipulate the data [code] Dim xl3 As Excel.Application Dim xl3sheet As Excel.Worksheet Dim xl3wbook As Excel.Workbook Dim FilNam As String Me.CommonDialog1.ShowOpen FilNam = Me.CommonDialog1.Filename If Me.CommonDialog1.Filename <> "" Or Me.CommonDialog1.Filename <> ".xls" Then Set … | |
Hey guys, we were given an opportunity for extra credit in my OOP class. We're going over recursion and my prof said if we could do a project using recursion and do another useing iterative statments, and time them, we would be given extra cred. Is there a way to … | |
Hello anyone if you see this please reply fast: i need some major help with some programming and logic code through liberty basic, My project consist of making an ATM Program allowing the user to only enter the security code 3 times and it also prompts you to enter a … | |
[INLINECODE] I am having a problem trying to write a program that gets numbers from a selected file and returns each numbers sum of its perfect divisors. Could anyone give me a few pointers??[/INLINECODE] [CODE]#include <stdio.h> /* define fopen,fclose,fscanf,fprintf, EOF */ int sum_of_divisors(int num); /* pre: Accepts the integer */ … | |
I have a table on an offline database having let say 2000 rows and same table on an online database with let say 3000 rows. Now I want to copy just those records (1000) from online database that are not in the offline database table. Also, both tables have same … | |
My Question is regarding the code written below. If you look at the function called "function" when 'a' is passed to the function and the function "function" is evaluated. I was wondering what the return value would be for the first pass when (a =2), my questin specifcaly is that … | |
Hi everyone! At the moment I am working on an OOP bank account program as an assignment in VB.Net. FYI:It has a credit account class with properties of AccountName, AccountNumber and Balance. The credit account class has two methods - deposit and withdraw. You can overdraw on the credit account, … | |
I tried to write a basic calculator program, Visual basic finds 1 error. I cant find it. Please help. I am kind off new to programming. [code=c++] #include <iostream> using namespace std; int main(void) { system("TITLE calculator"); system("COLOR 9"); char cChar; double dfirstnumber; double dsecondnumber; char cDoagain; do { system("CLS"); … | |
Hi everyone, I was browsing through the forum to find some code for a palindrome program. I get some parts of it, but I'm confused what a certain while loop does. Can anyone help clarify? [code] char s[256],t[256]; /*char array of length 256*/ char *p,*q,*r; /*define char array*/ int i=0,j=0; … | |
I`m trying to compile a small program for authentication on a torrent site but when it reaches the [B]setRequestProperty()[/B] line throws an exception: [COLOR=Red]Exception in thread "main" java.lang.IllegalStateException: Already connected at sun.net.[URL="http://www.protocol.http.HttpURLConnection.setRequestProperty%28Unknown"]www.protocol.http.HttpURLConnection.setRequestProperty(Unknown[/URL] Source) at MovieCrawler.main(MovieCrawler.java:22) [/COLOR]I understand that [I]something[/I] is [I]already connected[/I]! How can I disconnect before using this method; … | |
Im trying to create a datagrid that will display an image instead of what is actually stored in the database. For instance if the result of a zodiac is leo, then show the leo image, or if it is cancer, show the cancer symbol, etc.. I am using a datagrid … | |
Hello, I need to access the database when a session unexpectedly ends or session times out. This is just for telling the database to update a field for when the user last logged in. The reason I need this is that it saves me tons of coding for other stuff … | |
I am trying to relearn C by going through the K&R exercises (I have the first, non-ANSI, edition...that's how long it's been since I last programmed in C under Unix as a software engineer). I have Visual C++.net version 2003 on a Windos XP computer. I would prefer to continue … | |
Hi all... My first post in this forum... The problem is that of the String.Split method... I cant seem to get the String.Split method to work as I wanted... My objective is to try to read the data which are three columns of numbers and try to array them so … | |
I don't know if I am the only one having trouble with StretchBlt or if my symtom is a normal situation. StrechBlt works fine as I zoom the picture larger. I expect the pic to loose quality if I zoom out too far. My problem is: As I zoom smaller, … | |
ok the goal of the project is to define a class called DateCS212 and use an array of DateCS212 objects to store a sequence of dates. The main program, Project2.java, will read the dates from a file and will instantiate a DateCS212 object for each date read from a line … ![]() | |
Hello there, Im writing a small VB application that has a lot of IO with Excel. I search through xl sheets and read cells etc. reading and writing individual cells from/to excel is very slow from VB. In order to WRITE an array to EXCEL I use a syntax that … | |
im having a problem with this one, any help out there?? In this assignment you will use a sentinel controlled while loop to determine gross pay for any number of employees. The company pays "straight time" for the first 40 hours worked by each employee and pays "time and a … | |
Howdy, I need to pull database information into an XML defined form. One of the db fields has to be contained in a CDATA node. This line of code returns data, no errors [code] <HTMLCONTENT type="html" width="400"><![CDATA[<body><p>]]><%=aContent%><![CDATA[</p></body>]]></HTMLCONTENT>[/code] It works until I try to use it within an application which uses … |
The End.