199,114 Archived Topics
Remove Filter ![]() | |
i was given an assignment to read from a file and find out the statistics of all the letters in that file. considering it is part of an arrays lesson, i am assuming we need to use those. if someone could help me out, it would be greatly appreciated. thanks, … | |
Hello everybody, I am in my final year of BS(Computer Science) and I have to do a final year project, I have read the threads in the forum related to this topic but these are mostly on web development or in networking side. My personal interest is in Arificial Intelligence. … | |
Hi I have a variable like this : [CODE]$fulltext = '<h1>Welcome</h1> <h2>Welcome to this website</h2> <p>Some text here. </p>';[/CODE] Now I want to get only [B]Welcome to this website[/B] in another variable. I want to copy text between [B]<h2>[/B] and [B]</h2>[/B] I don't know how to do this? Please help … | |
Hi Everybody, I need some hlep for my website. Whenever i will open my website one pop is required. Can anyone tell me how to do.... please. Thanks in Advance. KavithaKesav | |
I want to apply heat on a tube surface (3D). The heat is to be applied on a straight line on the tube. The equation of line is x= 87.5 y = 126.1620 + (-1*1004.0820) z= 166.1620 + (-1*-1004.0880) Since x is constant is given asposition holder, real x[ND_ND]; For … | |
hi guys im trying to write a makefile which contains :two cpp files and two header files. now i've put cppfiles in a folder called source whose path is: /root/workspace/source and header files in a folder called header whose path is: /root/workspace/makedemo/header my makefile is in the path:/root/workspace/makedemo my makefile … | |
I've an application running on my local system with local sql server database. I've an other application running on internet (like on [url]www.abc.com[/url]) and it has Microsoft Access database. I just want to insert some records from local sql server to online MS Access databas. Problem is this I can't … | |
hi..i need some ideas...I want to calculate student fees payment on my php page, but my coding here its not working. One more thing is when selected item click and its can display value of the item in other textbox(ex: if course Diploma Multimedia is selected, then the course fee … | |
I created a button for table cell using innerHTML. it is working perfectly in mozilla. But it is now working inn IE. Button is now displaying in IE. Please help me | |
The program psexec runs any command remotely on another computer. the syntax is "psexec \\RemoteComputer cmd.exe" I want to run "start "www.website.com" on computers a19-(01-29) any help would be appreciated [CODE] #include <cstdlib> #include <iostream> #include <string> #include <sstream> using namespace std; int main(int argc, char *argv[]) { int compNum; … | |
Hello.. I want to compare my database date with current system date and i can do some oprations by that.. Wating ... Shanti | |
Hi, I would like to add a new column in a text file which contains values based on the value of another column. Eg: suppose the text file contains: 1 abc 67 2 def 40 3 uty 57 ....... .... Now i would like to add a new column which … | |
How to display error message when string entered together with the characters outside the A-Z a-z 0-9? | |
Hi, I have a couple of classes and I am trying to do the following: I have a main class that contains a boolean value called "display" that displays various messages throughout the class depending on true/false values. Main class example: [CODE]public static void main (String[] args) { boolean display; … | |
Why would I get a Segmentation Fault error? It compiles fine with g++, but gives an error when it runs. [code] void blowUp(char *board, int *boardSkin, int row, int column) { //set the board's 'skin' to 1, (meaning it will be displayed) *(boardSkin +(row * columns) + column) = 1; … | |
Here is the [url=http://dl.getdropbox.com/u/297962/Lab7.zip]whole project[/url], in a zip file. I'm having trouble getting the delete function to work. I can delete head just fine, but when I try to delete either something at the end, or something in the middle, it does not work out. I'm sure it has something … | |
I need some help creating a query that will pull a series of record that falls with a date range with specific interval. for example: I would like pass in a date like getdate() - 10 for start date and getdate() for the end date. However, the dates in between … | |
I am trying to make an application that sorts a database with user input and returns a form. This form then accepts some user input, and then needs to be sorted in another event. I am using ado.net, and am attempting to complete this task by cloning a dataset and … | |
HELP ME!!! /* Read from a file called “data.txt”. <ID> <Product> <Number ordered> <Manufacture Price> <Selling Price> Example Input: 1111 Dish Washer 20 250.50 550.50 2222 Micro Wave 75 150.00 400.00 3333 Cooking Range 50 450.00 850.00 4444 Circular Saw 150 45.00 125.00 */ #include <iostream> #include <fstream> #include <string> … | |
Hello friends i need help with onclick and onsubmit events At the bottom of my page I have two button 1)save 2)submit. When the user click on save button it will go to save_button.php page When the user click on submit button it will go to submit_button.php but It will … | |
Hi,Will anyone plz suggest me on how to build a html file from rss feed and store it in a webserver or is it possible to make and store html file from the contents of mysql database using php and then store the html file in the webserver. Thanks in … | |
I am having trouble with this program which was solved before, but I am still having an issue with the final code. Here is the assignment prompt: Write a program that asks the user to order an ice cream treat. The user selects the type of ice cream, the type … | |
So I made all the functions for a project where I was supposed to take input from the user through a menu and make an array and do various things with it. Two things I couldnt figure out were how to Lock and unlock the array, and then I also … | |
Hi to all I want to get the number of users logged in and display it in the header. initially I want to put a key field for the user accounts and if they logged in then calculate that key. but my question is how can I access my database … | |
Hello Everybody! I've the following issue, and just cannot figure it out myself: I've a button, which's width and height can be set by numericupdowns. To prevent the button's text truncating, I've also set the minimumvalues, like this: [CODE]NumericUpDownWidth.Minimum = Convert.ToInt32(Button1.Width); NumericUpDownWidth.Value= Convert.ToInt32(Button1.Width); NumericUpDownHeight.Minimum = Convert.ToInt32(Button1.Height); NumericUpDownHeight.Value= Convert.ToInt32(Button1.Height);[/CODE] The one … | |
Hi i need ti delete a file from the server using php. I wrote the code and working fine in my localhost . But when i uploaded in to my ftp server then the following error came. code: [ICODE]if($phototo<>'defaultv.jpg'){ unlink('../share/'.$phototo); } header('Location: '.'manage_auto.php');[/ICODE] -------------------------------------------------------------------- Directory permission is 777 ------------------------------------------- Error: … | |
I am working on a project with `asp.net` and `vb.net` language system. Now I made a table on the asp file, and before clicking on a button "update", by JavaScript, I would like to get all the string data written in the text boxes each placed inside a cell of … | |
I need to make a program that will extract numbers from a file sorted like bowling cones, like this: 1 2 5 2 2 7 1 6 4 8 2 9 4 7 3 and than calculate the maximum a bowler can score if the ball can go down on … | |
Hi, I've just started to learn vectors and wonder if there is a way to copy a vector that i use in main to a vector in a class?? | |
| |
Hi, I've written two programs.One is for sending data from outside,another is for receiving the message.Both work well.But I also want to get the message value for next program.The problem is I have no idea how to get the value from the receiver. PLZ help me out!Many Thanks! This is … | |
Hey. Thanks for all of the help with my other questions. This forum has been very helpful. In this program, there is a note: "chocolate" may refer to either the ice cream or the sauce; assume it refers to the ice cream if an ice cream flavor has not yet … | |
hi all, Donn't know much php........... i want that when user register,his registration date store in db.i want to use server date not his system date in db. thankx in adva... | |
i used following command to overcome edit-compile-run cycle while working with vim editor. :set makeprg=g++\ % then i ran the :make command every thing worked fine except that instead of jumping to the first error line in my file the vim editor shows that "[COLOR="Red"]type command or press enter to … | |
I have been trying to compile my program but i get these error messages that i can't understand. Please help. these are the error messages I am getting error: could not convert 'MARITALSTATUS' to 'double&' error: in passing argument 2 of 'double FEDTAX(double, double&, int, int&)' err: In function 'double … | |
Hello, I am quite new in ASP.NET, I am currently studying C# (still am at the beginning), and I got this task to separate the "code for the presentation part", so I would get two separate files - Test.aspx and Test.aspx.cs. i know that the .cs is actually the C# … | |
Hi i had a database table which stores images in columns. ie [ICODE]idno + image name + name 1 | lal.jpg | raj 2 | lal2.jpg | raj2 3 | lal3.jpg | raj3 .....[/ICODE] Now I need to show this images and these names in a page as 3 columns.... … | |
Hey there. I'm using a JTable for the first time, and I've read through the Sun and other tutorials, but this simple concept is still confusing me. So I seek help! Basically; I'm creating a multiplayer (AI-controlled) mining game, which will display maps loaded from XML. I've parsed the XML … | |
![]() | Has anyone moved their SQL Server's into a virtual environment using VMware? If so, what has your experience been like? thanks, GM |
I made a small program for a Doctor's office, but I had to manually install SQL Server on the PC and manually create the Database and Tables. How do professionals make a program dynamically create a database? Do they even [B]use[/B] databases? Thank you for the info dudes. | |
I'm busy working on a simple XML formatter. Now I've got the app doing everything I want, except that I have to give it the absolute path of the XML file I'm using. Is there any way to get te relative path of such a file if it is known … | |
hi, i want aregular expression which allows numbers and one period eg 325.50, 25.20 and allow only two didgits after the period | |
SQL QUERY if ($_SERVER ['REQUEST_METHOD'] == 'POST') { if ($_POST['mylist1'] == 'm2') { $sql="SELECT Products, TABLE 1"; $rs=odbc_exec($conn,$sql); } elseif ($_POST['mylist'] == 'm3') { $sql="SELECT Products, Table2"; $rs=odbc_exec($conn,$sql); FORM 1 echo ' <form name="input" action="kkl.php" method="GET"> <div align= "left"> <b>City:</b> <select NAME="list1"> <OPTION VALUE="m1"></option> <OPTION VALUE="m2">London</option> <OPTION VALUE="m3">Paris</option> <OPTION VALUE="m4">Tokoyo</option> … | |
im making a hangman project in vb6 and i need some serious help with it! my prob is with my loop which is having issues - this is my code: Dim guess As String, x As Integer, word As String word = wordBank(stage) guess = Text1.Text For x = 1 … | |
Hi, I have to display the details inside an array as a bar chart, the user has input the temperatures for the twelve months, here is the declaration and the user input: [CODE] int temp[12]; int menuChoice; char month[12][5]={"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};[/CODE] … | |
hey guys, im new to the forum, but i read the rules already so i wanted to start getting help on this homework problem i have for the weekend. i have to determine output of a recursive array code as follows: [CODE]import java.io.File; import java.util.Scanner; import java.io.IOException; class RecArray{ private … | |
Hi guys, hoping someone can shed some light. I have a script that I've been using for a while to submit a date to Mysql. Its been working fine but now I'm trying it on a site I'm building and when I hit submit NO date is entered into Mysql. … | |
am having trouble changing some data fields within this form, and am wondering if anyone can help me. this is the coding. this is in asp.net c# the last paragraph (child care type onwards) needs to be set to have a dropdown list containg the following information crèches toddler groups … | |
Here's the deal. I have two arrays. One defining a character set(could be any length), and another defining a string. I want to switch every letter in the string with its placement on the character set. For example: chrset[256] = "abcdefg" string[256] = "gfdc" will turn into: chrset[256] = "abcdefg" … | |
I am new to C++ and would like to know what style I should use to write my codes. For example, should I use: [CODE=c++] for (int i=0; i < 10; ++i) { cout << i << endl; } [/CODE] or [CODE=c++] for (int i=0; i < 10; i++) { … |
The End.