199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rat1973

I wish to filter records during an xsl transformation. I know basic filtering is quite simple, however, I wish it to be conditional based on data from the original source xml data. My source data will have several updates for the same record in it. Each update will be identified …

Member Avatar for rat1973
0
170
Member Avatar for nikolaos

This is a poor implementation of quicksort in pascal. I will use it in the classroom for a demonstration in sorting algorithms (divide and conquer). I would appreciate if someone could help me a little with some improvements. [code=pascal] program quicksort; uses wincrt; const max = 10; type table = …

Member Avatar for LizR
0
267
Member Avatar for jeffreyjs

Hi, I have this website which uses javascript to compute some mathematics... However, the script appear not to be working on firefox whereas the I.E and safari are working well, can someone help me with this, does Firefox have problems executing javascript? Thanks... the below code is where the problem …

Member Avatar for gurshan
0
244
Member Avatar for ryan311

please help me all i want is simple if what i inputted to my 2 textbox for example i input 08:30 the timer of my system could change and i want a running time can i anyone help me?

Member Avatar for abbajee
0
86
Member Avatar for peter_budo

After numerous issues with my first hosting I got new deal. Now I want to get my blog move to its new home, but I hit the wall with simple WAR deployment Here is catalina.log [code]INFO main org.apache.catalina.core.StandardService - Starting service Catalina INFO main org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache …

Member Avatar for stephen84s
0
168
Member Avatar for firoz.raj

Can anybody tell me why these statement is not working ?. I want to see supplier detail using listview.here is the code what i have written. [code] Private Sub Form_Load() Set con = New ADODB.Connection con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=\\asfserver\itp$\Product_tabletest.mdb") con.CursorLocation = adUseClient Dim listitem As listitem ListView1.View = lvwReport …

Member Avatar for firoz.raj
0
141
Member Avatar for seemant gupta
Member Avatar for verruckt24
0
81
Member Avatar for lifeworks

Hi Ive been using the nl2br function on text that users input... which has been great, but if they want to edit that text later, its riddled with <br />'s etc... is there a way of stripping these html tags out of the code before its displayed in the 'edit' …

Member Avatar for Rhyan
0
121
Member Avatar for shamila08

Hello! i got this code. However i'm really not familiar with memcpy function. Can anybody can show me the other way to write that code without using memory function? [code=cplusplus] void rightRotate (int k, int n) { char temp [2*MAX], *saveptr; saveptr = num+k; // cout << "k" << k …

Member Avatar for StuXYZ
0
164
Member Avatar for bemo55

I just learned pointers in my computer science class and i am having a hard time understanding what they are used for. Are they absolutely necessary to use them when passing arrays from functions ect. or is it just a more efficient way of doing so?

Member Avatar for ArkM
0
109
Member Avatar for ozan

Hi, I am using Windows Vista as operating system and Microsoft Visual C++ 2008 Express Edition as an compiler. I need a matrix library.Could you suggest me any library that I will easily configurate and link with my compiler. For example I need to take square root of a matrix.Because …

Member Avatar for ArkM
0
165
Member Avatar for zeiken

HI!!!I am new in java i would like to know sample program that counts the number of vowels of word

Member Avatar for stultuske
0
48
Member Avatar for barbz

/*this program counts the number of transitions and tranversion occur between two *genes when two DNA strings from a source file are compared using threading.*/ [code] import java.io.*; import java.util.*; import java.lang.*; public class Gacer021109{ public static Vector<String> DNA = new Vector<String>(); public static int cnt=0; public static void main(String[] …

Member Avatar for barbz
0
464
Member Avatar for smtareq

Hello everyone, Can someone kindly explain me what is the basic difference between python statements and expressions? I'm too much confused about them and cannot upgrade my knowledge about Python until I get a full grasp on them because they are everywhere! Some explanation with example may help me a …

Member Avatar for Stefano Mtangoo
0
224
Member Avatar for spanker1

plzzzzz help me on this java programming question? hello people.. can u plzzzzzzzzzzzzzzzzzzz help me out with this java programm. its due tmrw....... and i havent even get started on this program. i dont want to cheat .... actually some hints of how to do this program and a brief …

Member Avatar for stultuske
0
126
Member Avatar for Rabia Iqbal

Peace be on all the readers, i want to read a dbx file from Outlook Express in C++ or even in C#. But i dont know how to do this. Can anyone help me please !!!!!!!

Member Avatar for Rabia Iqbal
0
114
Member Avatar for DJPlayer

asked to do something that is I suppose a little strange. maybe because it's out of the blue and never tried it before. Essentially take a .txt file and split it up into 4 files. (no criteria on size, readability etc.. etc. ) Just split it up.. give each a …

Member Avatar for DJPlayer
0
118
Member Avatar for premsharma

hello nice help from this site, pls help me for program problem : C program to read a list of names ending on a '$'. Each name ends on '.' and contains maximum of 30 characters. our program must convert the format as indicated in the example below and print …

Member Avatar for csurfer
0
166
Member Avatar for planetPlosion

I am trying to make a 8 x 8 grid of boxes to manipulate for a matching game. I started with wxPython since I have no experience with pygame. I have it laid out with: [code] WINDOW_WIDTH = 1200 WINDOW_HEIGHT = 1200 class MainFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, title = …

Member Avatar for planetPlosion
0
477
Member Avatar for forzadraco

target.php: xas xjahs dajdh ajdhjas da d xxxx na dh ada hd main.php: <?php // removal malicious script by forzadraco $filename="target.php"; $existfile=@fopen($filename,"w"); if($existfile){ echo "file berhasil dibaca \n\n"; }else{ echo "file gagal dibaca \n\n"; } if( false == ($str=file_get_contents( $filename ))) echo "Could not read file."; else echo "File contents: …

Member Avatar for cwarn23
0
168
Member Avatar for nandomendoza

Can anyone help me write a program in java that: Has a user enter their name then enter their last 4 weeks hours worked Then have it display the: -total hours worked -average hours per week -full time equivalent: 2 weeks 3 days 7 hours This would help me out …

Member Avatar for nandomendoza
0
94
Member Avatar for Stefano Mtangoo
Member Avatar for Stefano Mtangoo
0
94
Member Avatar for artemis_f

I am a complete beginner to python (I have only used it for a statistics class in the past). I want to develop a program that is kind of like [URL="http://en.wikipedia.org/wiki/FreeMind"]FreeMind[/URL] - it will allow the user to create Ishikawa diagrams for a particular purpose. So essentially I want the …

Member Avatar for Stefano Mtangoo
0
163
Member Avatar for dreamer14

Hi iwould like to check if there is any function that allows me to take the last 4 char or a String? Or the 1st two char of a String? I require this because i require to have a auto increase product id. Example current productid stops at WA0059. When …

Member Avatar for dreamer14
0
123
Member Avatar for apollokid

Hi all I searched forum but couldn't fine the right answer I was looking for. I found a script online to help me with uploading a record to my database and the file to directory and name to database. I cannot get it to work and I cannot pin point …

Member Avatar for apollokid
0
92
Member Avatar for naura

I send mail in asp.net using kerio .It work fine when i use string variable to get id But i use textboxes to get id it gives following err: [code]Read from Stream threw an System.Exception: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the …

0
75
Member Avatar for serdas

how does this function work? how can i adjust this to a different language then english and the time zone as well? if possible? i think this is the code [code]function formatDate($val) { list($date, $time) = explode(" ", $val); list($year, $month, $day) = explode("-", $date); list($hour, $minute, $second) = explode …

Member Avatar for almostbob
0
178
Member Avatar for queenc

hi can anybody tell what the error is Fatal error: Call to a member function insertseeks() on a non-object in php

Member Avatar for queenc
0
79
Member Avatar for mruane

I ask the user in my program to enter up to four types of income, with 0 filling the unused income slots. Then, the program is supposed to add up the incomes. It goes like this: user defines values for incomes 1, 2, 3 and 4. Program adds together the …

Member Avatar for gbrokaw
0
103
Member Avatar for rat1973

I wish to perform a sort of an XML document, and have the output be in the same structure as the existing document. The reason for doing this, is I need the resulting document to be transformed into a new document. My source XML is: [code] <?xml version="1.0" encoding="UTF-8"?> <Msg …

Member Avatar for rat1973
0
152
Member Avatar for rat1973

I really need help in copying the root node. I have been spending far too much time on this, and I can't beleive that it should be that difficult. I can't use 'copy-of', as that will copy all the children as well. I need to copy the root node, and …

Member Avatar for rat1973
0
195
Member Avatar for serdas

would you know why would a text comes back in one line, i am trying to implement this pm system where i posted for some other isue, but this one is strange. when i am composing a message and keep writing, in the message body i have the similar window …

Member Avatar for mschroeder
0
194
Member Avatar for PoZHx

Ok, what i'm wanting to do is read a variables from another process ( not modify it ....just read it and output it) so e.g. test.exe: int main(){ int test = 1; return 0; } how would i write a program to read from the process (test.exe) and check what …

Member Avatar for PoZHx
0
99
Member Avatar for javaman2

i have a question on how i could calculate the overall score of the users input using five instance variables, three for three quizzes, one for a midterm and one for a final exam. the quizzes are graded between 1 and 10 while the midterm and final are graded between …

Member Avatar for Ezzaral
0
101
Member Avatar for tmoney7566

I am writing a 2-part program, a main program and a test program that figures the area and perimeter of a rectangle from an users input. I have my main program with no compile errors, but my test program has a couple errors and they both have to do with …

Member Avatar for Ezzaral
0
125
Member Avatar for drjay1627

I want to read a file character by character and add to an array. [code] while(!feof(inputfile)){ chKey = getc(inputfile); for(int i = 0; i<=51; i++){ chKey = enc[i]; } }[/code] Since there isn't like a add() function, how do you move the position by 1 and add something to an …

Member Avatar for drjay1627
0
107
Member Avatar for transplantedNYr

So the point of the other thread (java compiler) was I could not test any solutions I came up with at home for my next question. My assignment is to create a Binary Tree (done), and write the output to a file name (out.dat). The assignment is for one of …

Member Avatar for ~s.o.s~
0
186
Member Avatar for sacarias40

im working on a site and i would like to display the newest members within 30 days. how would i do this. im using mysql database. when the person signs up, it records the current date into their row. my module should show people that have signed up within the …

Member Avatar for sacarias40
0
310
Member Avatar for whitestream6

OK, so what I'm trying to do here is create a PHP site that's driven by a database similar to this one: [url]http://library.digiguide.com/lib/programmenextshowing/Police%2C+Camera%2C+Action!-12578[/url] [url]http://library.digiguide.com/lib/programmenextshowing/House-238308[/url] That site basically uses a PHP database and the pages are generated from the database as far as I'm aware. I'm trying to do a similar …

Member Avatar for death_oclock
0
151
Member Avatar for infernojmd

so im making the project and there is two pictures one that shows a light bulb on and the other is off. ur suppose to be able to type ur name in a text box and it will display turn on the light, what u type and turn off the …

Member Avatar for Teme64
0
1K
Member Avatar for drjay1627

The following is a project description of a project that I have to complete: Write a shell-like program that illustrates how UNIX spawns processes. This program will provide its own prompt to the user, read the command from the input and execute the command. Let the shell allow arguments to …

Member Avatar for drjay1627
0
148
Member Avatar for hybrid87

I get this error message while I'm trying to use copy constructor, I understand why the error message is showing but I don't know how to resolve it. #include <iostream> #include <iomanip> #include <fstream> #include <sstream> #include <string> #include <ctime> #include <cmath> #include <vector> #include <cassert> using namespace std; class …

Member Avatar for Freaky_Chris
0
191
Member Avatar for iansane

Hi, I have read about using sprintf and tried it but can't make sense of how it works. I have a double with the value 16.525 . I want to cout only 16.53 I also tried setprecision() and it just cuts off the 5 on the end which won't display …

Member Avatar for vmanes
0
768
Member Avatar for axfv

I'm trying to get info about users in Active Directory using C++. In particular, I'd like to retrieve the EmployeeID property, but it doesn't seem to work. I know for sure one user has a value for the EmployeeID. If I look for FullName or LastLogin, I get the values, …

Member Avatar for axfv
0
180
Member Avatar for haydenal

I have a start date and an end date and I'd like to know how many months that occurrence fell in. For example if my start date was 2009, 01, 31 and the end date was 2009, 02, 01 I'd like to calculate that the occurrence fell in 2 different …

Member Avatar for oldSoftDev
0
73
Member Avatar for En-Motion

I'm trying some code with classes but get these errors: overloaded member function not found in 'Point' 'Point' : no appropriate default constructor available [CODE]#include <iostream> using namespace std; class Point { public: Point(float f_x, float f_y, float f_z); private: float x, y, z; protected: }; Point::Point() { cout << …

Member Avatar for En-Motion
0
1K
Member Avatar for vivekc++

[code=cplusplus] #include<iostream> #include<list> using namespace std; int main() { list<int> dob; for(int i=0;i<5;i++) { dob.push_back(i); } for(int i=0,list<int>::iterator itr=dob.begin();i<3;itr++,i++) cout<<*itr; return 0; } [/code] errors-- test.cpp: In function `int main ()': test.cpp:17: `iterator' specified as declarator-id test.cpp:17: extraneous `int' ignored test.cpp:17: `int list<int, allocator<int> >::iterator' is not a static member …

Member Avatar for Ancient Dragon
0
174
Member Avatar for LinkMaster03

Using curses, how can I echo and capture input at the current cursor position? I have moved the cursor using scr.move(y,x) and turned on echoing. I can type into it and have it displayed. How can I capture this data as a string after the user presses enter?

Member Avatar for LinkMaster03
0
114
Member Avatar for parkes92

hi i need to know how to delete records from a flat file without emptying the whole thing anyone no how?????? thanks will be appreciated

Member Avatar for hkdani
0
148
Member Avatar for msalman

Hey everyone, I'm very new to c++ and need some help with overloading operator= for a polynomial class. Here's my relevant code: [CODE] // i can't change the method signature as it is required this way polynomial& polynomial::operator =(const polynomial& rtSide) { this->nullify(); // a method to reset variables polynomial …

Member Avatar for StuXYZ
0
427

The End.