199,114 Archived Topics
Remove Filter ![]() | |
l have got a table populated with data. l need to export and append the contents of the table to an existing table. l have got an auto_increment column which l need to change so it starts at 100 not one | |
Are you a certified function point specialist or play one on TV? Then the Counting Practices Manual version 4.3 might be for you. Unveiled today by the [url=http://www.ifpug.org/]International Function Point Users Group[/url] (better known as IFPUG), the $100 CD contains the latest "body of knowledge used by function point analysts … | |
I am trying to create a rational numbers program from scratch (I'm a brand new student basically), and I have all my inputs working right now. My problem lies within my showFraction() function, but I can't figure out how to fix it. It should output the inputs from the user … | |
Hi , I'm a new learner of Java I start study Java since 2 weeks one of my friends challenge me to type program that show the number which I enter , It's even or odd . could you help me about the main things ,,, | |
Hello All! How can I automatically change permissions just for files in current directory and not for other directories. I suppose that 'chmod -R 664 .' will change permission to all current directory content.. | |
Hello, I have been stuck with a C program, which I have to write for my foundation degree. I know it's simple, but can't seem to wrap my head around it. Write a program that uses a For loop to: Input three float numbers less than 20 Cube each one … | |
Hi Guys/Gals, I am writing a program that needs the user to scan in documents using either adobe or the software provided by the scanner makers (such as travelscan pro, etc). My program needs to have have button that says "SCAN DOCUMENT", and when it is pressed I need the … | |
Hi, I created a combobox and binded it with MS access table using following code: [code] this->oleDbDataAdapter1->SelectCommand->CommandText="SELECT DISTINCT Profile_Name FROM Profiles"; this->oleDbDataAdapter1->Fill(dataSet1,"Profiles"); DataTable^dt= dataSet1->Tables["Profiles"]; comboBox1->DataSource= dt; comboBox1->DisplayMember = "Profile_Name"; [/code] I got the correct profile name I needed in the combobox. I tried it using textbox, textBox1=comboBox1->SelectedItem->ToString(); However,it always return … | |
Hi I wanted to get some data from a file on the web that is updated every 12 hours or so and store it as variables so I can then display the information elsewhere. Is this something I can do with PHP? Here is an example of the file: [URL="ftp://polar.ncep.noaa.gov/pub/waves/latest_run/akw.46001.bull"]ftp://polar.ncep.noaa.gov/pub/waves/latest_run/akw.46001.bull[/URL] … | |
I found this code somewhere on the net... But i dunno how to stop this...Its keeps animating and i dont know when will this stop... [CODE]#include <stdio.h> #include <time.h> void sleep ( long milli ) { clock_t end, current = clock(); for( end = current + milli; current < end; … | |
Hi, I'm trying to end a project that should do next points: -generating a random vector ( for that I have the function generareVector); -reading the vector from the file where it was generated ( citireVector); -sorting the vector using different methods of sort; -checking if the resulted vector was … | |
hai i am new to php. i am getting this as error ---You have an error in your SQL syntax; check the manual that corresponds to your MySQL--- can anyone tel wher is the error. Thank u..!! <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> … | |
hi im currently working on a grade book tool for teachers im a beginner im trying to just simply have the user click the button on the current page there on to open an existing window that ive already created this is the code i use [code] private void PROFILE_Click(object … | |
Hi guys, I have one form contains img title and img name, also in database named as gallary. my prob is i cant store the name of img with extension using file field. plz, guide me. //admin.php <?php $con = mysql_connect("localhost","root",""); $db = mysql_select_db('admin'); $title = $_POST['title']; $file = $_POST['file2']; … | |
I started a comments page on my website and the comments work fine and go through. But after you submit the comment the out put displays like this on my webpage: comments: "heartbeaker" by: jamika @ 12:30:00 am on March 11, 2010. Fear<br /> There are two flip sides, to … | |
[CODE]x = self.spinbox37.value() * 40 y = self.spinbox38.value() * 40 printer = str(self.comboBox4.currentText()) print_cmd = 'echo "IN;PU" x "," y | lpr -P %s %s' self.LCDNumber18.display(x) self.LCDNumber19.display(y) #print_cmd = 'echo "IN;PU2100,11300;" | lpr -P %s %s' os.system(print_cmd % (printer, ""))[/CODE] In the above line I'm trying to use the x … | |
hi I'm new to outlook add ins. i developed an outlook 2007 add in project and added a setup project so i will be able to install the add in to other computers. when i install the add in (using the installer from the setup project) it works fine on … | |
Hi everyone. So here's the case, I am a newcomer in C++ and I have been working on a small begginers program ; it adds 2 numbers after adding 1 to each of those 2 numbers . Let's say if we put 4,5 then it will add 1 to both … | |
All, Basically what you have here is a PART of my program. Here I am supposed to get the LENGTH of a rectangle from a user and return that length to the main method for further use. My program works fine if I take out the input validation but I … | |
Dear Sir/Madam, I have developed a software on game using VB 6.0 and Access, and I want to make that software as a Register Version. The software may ask the user for registration key at the time of installation or after specified period of time being installed. I can make … | |
Hi all, How to install these services to our web site ? - SVN , Git, and Mercurial Repositories - Mantis, Redmine Projects I think it should be easy to install Open Source application on Web Hosting. Thanks. | |
The following code fragment from Programming Pearls: [CODE]for i = [0, n) if comlen(a[i], a[i+1]) > maxlen maxlen = comlen(a[i], a[i+1]) maxi = i[/CODE] I am not sure why he called the comlen function twice? Instead he could save the computed value in a temporary and use it to assign … | |
how to create a new excel file on click of a button in java? | |
i m trying to make login page ... while runing that i got one Fatal error i m not able to understand even i tried .......... guide me plz here is :---- Fatal error: Call to undefined function: mysql_real_escape_string() in c:\apache\htdocs\newhr\checklogin.php on line 14 plz help me to solve it...... … | |
How to get color inverse like black(00 00 00) be white (FF FF FF) red(FF 00 00) be (00 FF FF) | |
Hi DaniWeb Team, I want to read the value of the below array, but i do no how to get the values. Array ( [0] => Zero [1] => One [2] => 9884127128 [3] => 98841254554 [4] => Four [5] => Array ( [[0]] => Delimiter ) [6] => 9554565545 … | |
I have a login page on the site I am building, it works fine but what I am trying to accomplish is: I have a number (10) of football clubs who require login access to their page by their members only. For instance, Club A has its own page, only … | |
ok so what i have going right now is a little system that takes a value of %address% and turns it into what is stored on the database. and i am using a str_replace example (note there are more in the array) [CODE] $searchArray = array("%address%"); $replaceArray = array($address); $content … | |
In C++ using gc++ compiler (netbeans, ubuntu), I am trying to pass a struct into a function (working fine), operate on an array in the struct (fine). But when I leave the function (which is void return value), the struct values snap back to their initialized values. the struct in … | |
Oje me again... :$ Hello everyone... I have a superclass Human and a subclass Warrior. Problem is, human got this method: [code] public void Reveal() { System.out.println("I am " + name + ". "); System.out.println("My Strength is " + strength + " my Health is " + health); System.out.println("My Intelligence … | |
I have to now make a simple single line text editor where the letters i type i can use commands to edit them this is what I started with my knowledge and so far ive got typing happening, if its possible to just input commands that can change the lines … | |
I've tried google and this site but cant seem to find anywhere to start? I'm trying to make a character limit one then automaticaly go to the next open text box. | |
I have been assigned to implement a string class and I am having a hard time with the >> operator overload. Header File: [CODE]std::istream& operator >>(std::istream& ins, obstring& target);[/CODE] Implementation: [CODE] std::istream& operator >>(std::istream& ins, obstring& target) // Postcondition: A string has been read from the istream ins, and the … | |
Hello everyone... For now i have build a Human class and i want to test it now but on 2 lines there is an error and both errors states "void expected". I have a main function in my class but later i gonna remove it because i want this Human … | |
Hi, My self Suhas H G, I need to merge the data from one xml file into the another xml file(At the end of this xml file). Please share the working code if any one has. Thanks in advance!!! Suhas | |
Hello, I'm working on my project "The Vending Machine Software" Here I need to use Graphics and mouse handling.. I'm totally new into Mouse programming in C++, still doing the coding with help of some online tutorials.. What I've to do is, Show a welcome page first when I run … | |
Hi, I am a complete newbie and these are the first lines of code that I write, so please be patient :( I need to create a C# exe file that calls a c++ function What I wrote always throws an error at runtime: [code]Unhandled Exception: System.AccessViolationException: Attempted to read … | |
Hi, I have jest started learning Python. I would like to get some help on writing a script that would delete a data of lines only key from array which looks like this : [CODE]['192.168.255.1 00:01:02','[COLOR="Red"]172.14.0.1 00:0f:01','172.14.0.1 01:ff:dd:34'[/COLOR] ,192.168.255.3 00:dd:01:ff[/CODE] [B] I want delet red data only [/B] | |
struct Employee { /* Employee details */ char name[MAX_NAME_LENGTH+1]; /* name string */ char sex; /* sex identifier, either 'M' or 'F' */ int age; /* age */ char job[MAX_JOB_LENGTH+1]; /* job string */ struct Employee *prev, *next; }; static void menu_add_employee(void) { static struct Employee *employee_list = NULL; { … | |
I'm reading casting functions(I wonder if this is proper name). I get difficult grasping dynamic_cast, static_cast, constant_cast and reinterpret_cast. Can anyone help me in "layman" terms differences and where we may use them? [URL="http://www.cppreference.com/wiki/start"]reference[/URL] and [URL="http://google.com"]google[/URL] | |
Hi people... ran some asp code thru a php translator and the php page displays nothing but this error message. I take out the php code and it displays. I've checked and rechecked and read tons of possible scenarios... but I don't see anything. Sometimes another set of eyes and … | |
I'm programming using Visual Studio 2005 with Intel's Cilk SDK installed and learned there were some bad writing/reading happening at some specific memory locations, such as 0x00254c0( I can't remember the exact location, this is only an example). I have no idea what is going on at those locations and … | |
#include <iostream> using namespace std; bool isPrime (int num) { int counter=0; { for(int i=1; i<=num ; i++) if (num%i==0) counter++; if (counter==2) return true; } return false; } //prints primes void printPrimes (int num) { for(int i=2;i<=num;i++) if (isPrime(i)) cout<<i<<","; } // if there is no prime number between … | |
Hello there. I don't know if this should actually be posted in any of the C/C++ forums, but it is mainly an Assembly question so I take my chances here. In C/C++ it is possible to declare local variables as: [CODE=C]if(statement){ int var; // Use of the variables }else{ // … | |
I need help, I am getting an error on line 2. It says ; is expected but one is already there. Can someone tell me what I am doing wrong? [CODE]//Input String input; //Process while (input != ("!")) { if (input == "A" || input == "a") { Console.WriteLine("OK"); } … | |
Assignment: One way to calculate ex is to use the infinite series expansion ex = 1 + x + x2/2! + x3/3! + x4/4! + ... If the loop variable is named i, then the ith term is equal to xi/i!. a. Write a method called myexp that adds up … | |
I've been trying to do this problem for awhile now, but im not getting any luck. im just not completely understanding how single dimensional arrays work. any help would be great here's what i have so far, and then the problem is below. include <iostream> include <iomanip> using namespace std; … | |
hi please help actually i want to develop a software of image processing using either c++ or .net . please give more detail by using c++ langauge | |
I am writing a program that loads a web page then get data from the page for calculations. I can navigate to the web page but the code does not wait for the page to completely load before proceeding. I need a way to have the program wait for the … | |
Hi all, After some time pulling my hair my brain has turned to mush on this senerio. I'd appreciate any help offered as my PHP skills are still limited. Here is the senerio: I am creatings a voting website. I am currently creating an admin page that creates local election. … |
The End.