199,124 Archived Topics
Remove Filter ![]() | |
Can someone help me to get this code to run. What am I missing. Any help is greatly appreciated. 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 seekResponse; System.out.println("Welcome to Hoffman … | |
I am new to programming and would like some help getting up and running. I am using the Microsoft Visual C++.NET 2003, Iam up to Object-Oriented Programming [Animals], and I have 4 errors I can't fathom out..... #1 C2143:syntax error? #2 C2501:'_cg' missing storage class? #3 C3265: cannot declare a … | |
I am new to ASP. I have populated a DataGrid with rows but cannot find any property setting (like Readonly=False or True) that let's me update rows directly in the grid. Is such a function not supported in ASP ? If this is the case how would I design a … | |
used following in MS-DOSS command window public class Welcome1 { /*method*/ public static void main( String args []) { System.out.println( "Welcome to Java Programming!" ); }/*end main*/ }/*end class Welcome1*/ It was taken as an elementry example of a Jova pgm. I saved it as Welcome1.java and used the MS-DOS … | |
write and test a class that can be used to create and object whose instance string variable can be initialised to a string constant such as: "I fined that the harder I work the more luck I seem to have" the class need to provide the following methods A method … | |
[b]O[/b][b]rganize Your Data[/b] Arrays allow programmers to store a series of data of the same type. For example, suppose a program is to keep track of twenty numbers. Such a set of numbers would be stored in an array of integers (whole numbers) or doubles or floats (decimals). Arrays work … | |
Hey there, First off I'm really new to Java so please bear with me. I need to translate a line of text from one form to another. An example line segment has the following format: " step(sent(1,A,B,vars(Na,Rv,ped(pk(B),cat(N a,A)))))" This means that at step 1, A sends to B that which … | |
Can any one teach me how to initialise the mouse and create small games. I know basic things like drawing a rectangle etc. | |
LOOK THE FOLLOWING CODE: void main() { char a[]={'a','b','c',d'}; int b[]={1,2,3,4,5}; printf("%d %d",&a[3]-a,&b[3]-b}; } OUTPUT: 3 3 CAN SOMEBODY EXPLAIN ME WHY THE OUTPUT IS SAME. ACCORDING TO ME OUTPUT IS (3 6). | |
I'm using PHPNuke and i get the following error: Parse error: parse error, unexpected '\"', expecting ',' or ';' in /home/jadedf/public_html/portal/themes/3D-Fantasy/theme.php on line 58 line 58 is below and it is the only line i've played around with in the theme.php file..i'm trying to get an image for my background. … | |
Can anyone tell me how I would code links to other pages on my site (using php) whereby the full URL in the address bar looks like this: http://www.mysite.com/index.php?id=3 (which points to blah.php) I've done the usual searches on google and such with no luck on how to do it. … | |
I have read about the asp.net worker process but I am not very clear about the same. I have read only one worker process is created for every processor. But, they have also specified that looking into the performance of the worker process, a new worker process is created if … | |
This is from nyphp-talk: [nyphp-talk] Zend PHP Certification Daniel Kushner kushner at gmail.com Thu Jun 17 20:08:33 EDT 2004 Previous message: [nyphp-talk] PHP and Flash Next message: [nyphp-talk] DB Differences Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] -------------------------------------------------------------------------------- NYPHP List: This email … | |
Hope someone can help with this.... I recently incorporated these two classes into my code which dynamically adds a checkbox column to my datagrid. public class CheckBoxItem: ITemplate { /// <summary> /// The CheckBoxItem constructor /// </summary> /// <param name="editable">true if the item is to be in its editable state, … | |
i am a mod on a friends php forum and i need to know how to do some of the basic things, like delete posts, ban ppl, etc... | |
Hello Everyone can anyone please explain me about the concept of namespaces? Regards | |
that s what i learned since i saw in many examles programmers using a function main whithout any class asking for any explication please :confused: | |
Hello I have just bought a book on php, MySQL and Apache server which came with an installation disk. I have installed all three on my laptop computer running MS XP Professional. All three seem to work ok independantly but when I try to run any code examples through IT … | |
I have used the following code on one of my pages to place the variables in the URL for the next page: [php] <?php $db = mysql_connect("HOST","USERNAME","PASSWORD"); mysql_select_db("DBNAME",$db); $result = mysql_query("SELECT * FROM TABLE_NAME WHERE FIELD_NAME=??",$db); while ($myrow = mysql_fetch_row($result)) ( printf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>\n", $myrow[0], $myrow[1], $myrow[2], $myrow[3], $myrow[4], $myrow[5], $myrow[7], $mysql[8], … | |
We are making a form for our intranet site but we want the email adress from the logged on user who send us the request form. Because we have over 2000 users and about 70% don't know their email adress we want to make a field where the users email … | |
Can sombody advise me or show me a semple code how I can obtain 10 bit data information from device connected to my com1 port? Thank you very much in advance. | |
I am trying to get the Microsoft Mappoint OCX working in C++ Builder 6.0 Pro. So far I can place pushpins and delete them but I cannot attach a name or note. When the compiler is in Debug mode the code will compile without any error but crashes when running … | |
I need to finish my assignment but i seem to have several problem and i stuck. Below is the assignment question and also the source code that i wrote Question Write an interactive C++ program that will encode or decode a line of text. To encode a line of text, … | |
Does anyone know or has seen a good example for a Master/Detail INPUT WEBFORM, using Datagrids? I've seen a lot of examples of Master/Detail Display, but none of Master/Detail INPUT. Thanks! | |
i have created 3 matrices: 1) Connection Mtrx 2) Metric Mtrx 3) Ans Mtrx. here from connection mtrx, seeing starting node,i update the ans mtrx which will hold the sequence of node traversal. how do i code to achieve this? the code problem is coming in function bf(). #include<iostream.h> #include<conio.h> … | |
i need to pass up an operating systems project on the 19th of july. can anyone please help me do this project. i cant manage it by myself :rolleyes: . this is the question: Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice … | |
Hi All, I am using a DropDownList in my page and I am binding the property of this server control like follows. <%#DropDownList1.SelectedItem.Text%> What I am finding is that it returns the text for the item I have selected. If I use the value property of the ListItem, then also … | |
hello everyone, can anyone please help me to solv the following problem. Write a menu-based program with the following opetions : 1 Addition 2 Subtraction 3 Multiplication 4 Division 5 Exit take two numbers from the user and run the chosen operations on them. thank you, regards, shantuli | |
i'm trying to create a chained hash table using a linked list header file, but there's a problem with my insert function. here's the relevant portion. the error comes in the part that is in red. compiler says "parse error before '.' " i've used the linked list header before, … | |
Dear Friends, Here I have tried to connect to Sybase Adaptive Server Anywhere 7.0 with the following code in C# as console application, I am getting the ERROR: System.NullReference Exception occured in system.data.dll , this code executed after running the asademo. Can you help me out where exactly I am … | |
If I retrieve memory from freeMemory() method .... which memory is returned ... the free ram or the memory available to jvm. same is the question for totalMemory(). Thanks. | |
Hi! I need help with the find function! I do not know how to use it in finding numbers. For instance: 1 1 1 1 2 3 4 4 5 5 6 6 6 7 7 7 7 Using the find function, it will count the number of times a … | |
Hello all, I have been working out of an older ASP/Visual Basic/SQL Server Developers Guide. My code is exactly as written in the book but I still can't seem to get the asp to collect the information from the Stored Procedure. My asp page calls for the Procedure: [CODE] 'check … | |
Greetings. I have a form loaded and in this form, I have a listbox plus a button. When the button is clicked, a dialog box will appear alongside with the form. In the dialog box, there is a combo box, in which the user must select something from. Once the … | |
Hello, I was wondering, Do I really need to download MySQL and Apache to run PHP-Nuke? | |
What do you think ai's are be like e.g. the computer of gene rodenbery's andromeda or somthing else | |
Hello! I am in need of help with some coding here: [url]http://www.potterprophet.com/html/index.php[/url] I am trying to include links in where my echo is, but I come up with a error everytime I use URL tags, such as: [CODE]<a href="index.php">Blah</a>[/CODE] Here is the PHP coding: [PHP]@openside("The Movies"); echo "content"; @closeside();[/PHP] I … | |
Hi!!! I would like to know the meaning or purpose of these case '\t' and case '\n'? Thank you. | |
Does anyone know where I could find a tutorial on how to make advanced BB Codes and Smilies, including JavaScript? | |
Hi. Im having difficulty finding work in south africa in the IT field so I was hoping their was maybe another way to start making money from doing freelance coding and projects in both Visual Basic and C/C++. Can anyone tell me where there are such places or opportunities where … | |
[b]Software [/b] Computers contain hard drives, storage mediums for one's own documents as well as software programs. Software for computers are manufactured by numerous companies and individuals and made to work with a given operating system. Currently, Microsoft has a nearly complete monopoly on operating systems, bringing us all versions … | |
Can anyone help im trying to write a program that you can pick a number between 1-100 and another line which you can pick numbers from 2-100 then mutiply the end numbers you pick and get a answer... I dont have much to go on. I really need help... more … | |
I am new to coding and I am trying to display a league table of football teams in a memo box using C++Builder. The code below prints a list of the team names from an array of 12 teams, but I cannot get the rest of the details i.e. games … | |
// This program will write the name, address, telephone number // and college major of the programmer. // Michael Hawkinberry #include <iostream> using namespace std; int main() { cout << " Michael Hawkinberry\n6393 Harlem-Grovetown Road, Harlem, Georgia, 30814\n(706) 556-3731\nComputer Science " << endl; return 0; } Is this program error … | |
Hey my name is Jon.I have been looking into learning some computer languages and want some help.I am 15 years old and i would like to learn php but i think i have to learn html first.Cause i really would like to make a online game and make money lol.If … | |
Hi, I'm trying to run this short code and when it prints out i get about 20 of these "pow: DOMAIN error" messages, and then my results. Can anyone shed any light on this. I'm not acutally a programer, but got thrust into this in a project for another class, … | |
im learning php but the books are to hard i use visi books and they have some many links to diffrent pages im hoping some1 will come and help me i need some1 to teach me the basics of php so i can get a better view and then i … | |
hello everyone, i am very new in java.this is why i need some help from you.i hope you will help me by solving the following problem: write a program that simulates rooling a pair of dice. you can simulate rooling one die by choosing one of the integers 1, 2, … | |
Hi Everyone, I am very very new at this and I am hoping to get help on a few problems. I am working on a SQL database that will keep track of Medical Gas Orders for my job. I created the form and the data is actually going into my … | |
Greetings. I'm sort of on the en-route to project completion except for some small problems here and there. One more major step is report generation. I'm totally new in this area. Nothing in the old threads are related except for one: [url=http://www.daniweb.com/techtalkforums/thread410.html]Vb report generation[/url] but this thread is still left … |
The End.