224 Topics
|
|
Hey guys, I need a little help. I'm writing a palindrome checker for fun, and I need to ignore/delete spaces and punctuation. I compare my two strings using strcmp and I use pointers to go through the first part of the program. I'm now stuck trying to factor out the … |
|
Hi all, I have an issue with a PHP and MySQL deletion script where I am basically trying to delete all records for meetings which have expired. For this, on input, I have a date input calendar which inputs the date in the format 2010-01-18 to the database with the … |
|
I'm having trouble getting ant to delete files. I'm working through a basic spring tutorial and it has included an ant target to clean the build: [CODE] <target name="clean" description="Clean Output Directories"> <delete> <fileset dir="${build.dir}"> <include name="**/*.class"/> </fileset> </delete> </target> [/CODE] It seems pretty basic to me, but it's not … |
|
Hi there, I am trying to delete XML nodes using PHP. Here is a sample of my xml file. [CODE] <users> <user> <fullname>PC1</fullname> <floor>4</floor> </user> <user> <fullname>PC2</fullname> <floor>3</floor> </user> </users> [/CODE] Here is my code so far: [CODE] <?php $users = new DOMDocument(); $users->load("officedata.xml"); $suser = simplexml_load_file("officedata.xml"); $count = 0; … |
|
Hello everyone, I'm new to C / C++, and just wanted to make a file which can delete an item. The code worked, but when I want to give a path, it doesn't work anymore. Any help? [CODE] #include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\users\asus\new.docx"); … |
|
Hey I have been having this problem, that my little program here, won't delete the file that i am asking it to. Can anyone help me? I am using Live Messenger as an example ;) [CODE] #include <iostream.h> #include <windows.h> int start = 1; int main() { while(start == 1) … |
|
Hello I am very, very new to this C++, and i have been working on something that could help us with something, but thats a long story... Anyways, i want the program to first delete a file then wait some time, and then delete another file. I got it to … |
|
:?: hai...i need ur help...i need sumbody here can send me a complete student profile system coding and interface..i really really need it pls.........it urgent.. |
|
Can't figure out what's wrong with my delete function. If I remove the delete for the name and address it works as expected, but am I not leaking memory that way? [B]Structs:[/B] [CODE] struct Person { char* name; char* address; int zipcode; }; struct Node { Person* per; // Person … |
|
I have a com component that logs error details. I wan't to delete the log files that were created one month back. Where this code has to be written ? I mean it should be run only once when the COM compponent is loaded for the first time. |
|
Hi: I posted yesterday about setting my loop to get random number between the values I desire. Now I got a bit of misunderstanding with my arrays. In the program now I am trying to calculate the average sum of the amount of numbers I get each series. My problem … |
|
Hello. This problem occured in a program that used dynamic memory, and the arrays were deleted and reallocated several times with varying length. It seemed to me that after deleting the arrays, the pointer is still pointing to some data with the same length. (And of course i didn't want … |
|
Hi there, I am trying to delete XML nodes using PHP. Here is a sample of my xml file. [code] <users> <user> <fullname>PC1</fullname> <flooor>4</floor </user> <user> <fullname>PC2</fullname> <flooor>3</floor </user> </users> [/code] Here is my code so far: [CODE] <?php $users = new DOMDocument(); $users->load("officedata.xml"); $suser = simplexml_load_file("officedata.xml"); $count = 0; … |
The End.