132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for watery87

hello, i want to parse a file that has the following log entries [code] 1183245991.961 0.079 137.157.56.34 200 1277 GET http://linux.pacific.net.au/linux/packman/suse/10.2/repodata/repomd.xml "text/xml" 1183327698.250 2.568 137.157.56.212 200 57891 GET http://csc3-2004-crl.verisign.com/CSC3-2004.crl "application/pkix-crl" 1183328737.107 0.570 137.157.56.223 301 777 GET http://www.starnet.com/expiredialog/demo.php?product_name=xwin32&time_remain=1800&version=8.0.2216&locale=en_AU&w32iso639ulang=en&uuid={dfe167ce-f51c-4fd4-af80-25f31246f6bc} "text/html" 1183328737.908 0.781 137.157.56.139 200 5696 GET http://www.starnet.com/expiredialog/demo.php/xwin32/1800?version=8.0.2216&locale=en_AU&w32iso639ulang=en&uuid=%7bdfe167ce-f51c-4fd4-af80-25f31246f6bc%7d "text/html" 1183328738.777 0.759 137.157.56.91 200 …

Software Development html-css perl suse
Member Avatar for JeoSaurus
0
104
Member Avatar for djjavo

For my user system, I require each user to have a unique id. The reading in and saving of the user data is all done, but now I'm focusing on adding new users. In my add user dialog, I have the information fields required to create a new user, one …

Software Development vb.net
Member Avatar for djjavo
0
190
Member Avatar for ksm092

I am trying to sort a vector of strings in order (one line consists of various strings e.g. 12 10 2010) and was wondering if I would be able to extract individual values from one line of a vector? The way I am doing this is by reading lines from …

Software Development c++
Member Avatar for jinhao
0
182
Member Avatar for fingerpainting

Here's what I'd like to do as an exercise to improve my Python and to play with the idea of genetic programming in basic form. From within a script, I'd like to spawn a number (1000?) of additional scripts with randomly generated but grammatically sane Python related to a very …

Software Development python
Member Avatar for TrustyTony
0
198
Member Avatar for Cross213

I would like to know how the isFull() function works for a Stack and a Queue, but by implementing the Stack as a dynamic array(without a predefined size) and implementing the Queue as a linked list.

Software Development c++ linked-list queue
Member Avatar for Cross213
0
1K
Member Avatar for djjavo

Hi, I'm coding my program on VB.net and I take my laptop when I am away and use my PC back at home. I know this may sound simple, but what is the easiest way to get the project on another PC. For example, in Java I know that you …

Software Development vb.net visual-studio
Member Avatar for djjavo
0
223
Member Avatar for Eagletalon

Hi there everyone, I really hope someone can help me, I am working with Visual C++ with QT libraries and using... well... something that represents MVC (long story)... now I need to pass a const QString& from my 1 controller class to the model of another class... When doing so …

Software Development c++ qt software-architecture
0
78
Member Avatar for Hendo

*sigh* Okay, I'm building a small console app to launch batch files. I have user inputs for selecting the drive letter, and the folder path. The batch files have the same name as the drive letter (i.e. d.bat, e.bat, etc.). [CODE]drvPath = (drive + ":\\" + fpath + "\\" + …

Software Development c++
Member Avatar for Hendo
0
188
Member Avatar for masocha

l am writing XML to a file. Everything works fine, however if l view the XML source the first line is always indented. Cant seem to figure out the cause. Thankx in advance for the help

Software Development xml
Member Avatar for iceandrews
0
130
Member Avatar for dandagopi

Hi i need to convert the xml to xml inut xml is [CODE]<associds> <associd> <associdentifierValue>12345</associdentifierValue> <associdtype>AAA</associdtype> </associd> <associd> <associdentifierValue>24688</associdentifierValue> <associdtype>BBB</associdtype> </associd> </associds>[/CODE] expected out is if child element value is BBB - i need to remove the whole element in associd. [CODE]<associds> <associd> <associdentifierValue>12345</associdentifierValue> <associdtype>AAA</associdtype> </associd> </associds>[/CODE] XSLT is given …

Software Development xml
Member Avatar for iceandrews
0
187
Member Avatar for dotancohen

Many functions in C have been "improved" with versions that have n, l, or other characters in their names. For instance, strncat and strlcat which improves strcat. What is the significance of the letter n or l in these names? Thanks.

Software Development c
Member Avatar for dotancohen
0
131
Member Avatar for janice91

Greetings to all experts, I am a newbie here in Java OOP and is struggling in practicing how to code a OO program, using Java. I hope anyone can give me a head start please. Here is the requirement which i am suppose to complete: [B]Input[/B] The first line of …

Software Development java oop
Member Avatar for JeffGrigg
0
2K
Member Avatar for CeeGee

Hi all, I am a newbie to C# and need help bad. I am to use looping (do,for, while or any combination).The program will accept a letter 'A' example and then end. What am i doing wrong. Three salespeople work at Sunshine Hot Tubs-Andrea, Brittany, and Eric. Write a program …

Software Development c c# c++
Member Avatar for ddanbe
0
1K
Member Avatar for janice91

Greetings to all experts, I am a newbie here in Java OOP and is struggling in practicing how to code a OO program, using Java. I hope anyone can give me a head start to enable me to write the main method to test the 2 methods. Here's the question: …

Software Development java oop
Member Avatar for JeffGrigg
0
198
Member Avatar for Nathan_11

i am new in java programming, can someone help me create the code for it.thanks.

Software Development java
Member Avatar for JeffGrigg
0
291
Member Avatar for judithSampathwa

hi, i have a question in data tables. i am coding in C#. my scenario is employees have many benefits in a company such as life, health, dental, 401k and such... i have a tabel in MSSQL database to represent the employee data and a emp benefit table to hold …

Software Development asp.net mssql sql
Member Avatar for judithSampathwa
0
303
Member Avatar for Srcee

I'm working on an add-in for Visual Studio which works well on framework 3.5 but not on 4. Do you have any idea why would the add-in do this? The add-in is written in C#.

Software Development visual-studio
Member Avatar for Srcee
0
152
Member Avatar for pinkannu

I have a very big string "-dAwin Main_Window -dwin Widget_Window -dh 500 -dw 300 -da 100 -dv 10 -dint 2............" This string gives me input parameter for running my application.Example -dAwin Main_Window gives me application window name. -dAwin is identifier b'coz this sequence may change or number of parameters may …

Software Development c
Member Avatar for pinkannu
0
193
Member Avatar for ineedsomehelp:3

Ok, I have a program that gets the factors of a LCD of a number (recursion). I need help converting it to loop statement :( . Any help will be appreciated. and please add an explanation I would really appreciate it. [CODE]#include<stdio.h> #include<stdlib.h> void whatIs (int nNum) { int nF …

Software Development c
Member Avatar for Adak
0
126
Member Avatar for djjavo

Basically I use text files to hold the program data, which is loaded in to variables when the program starts. I use StreamWriter to write to the text files when they update within the program. This is fine although the writer adds a extra line when I do not want …

Software Development vb.net
Member Avatar for djjavo
0
171
Member Avatar for Teamo1234

write a piece of code that ask the user to set a password - queries the user for his/her user name - queries the user for his/her password twice, making sure the user enters the same password twice - Allow Only 3 attempts to get a correct password the rules …

Software Development python
Member Avatar for Enalicho
0
253
Member Avatar for termin8tor

Hey all! I'm new to the forum and a little wet around the programming ears so to speak. Anyway I have a question regarding Linked Lists. I know that typically a linked list looks like this: [CODE] struct Node { dataType varName; //data type and variable name Node *next; //points …

Software Development c++ data-structure linked-list
Member Avatar for jinhao
0
174
Member Avatar for lastbencher

Hi I installed Visual C++ 2010 express today. There is no option to create a .C file. I tried googling but found nothing. Please help me with this

Software Development c c++
Member Avatar for mitrmkar
0
309
Member Avatar for 0096

Hello, I am learning VB and got stuck..I found nothing in books and tutorials. I want to make simple quiz (100 questions), structure: 1 lbl = question, 3 radio buttons (answers) and 1 button(next question). I added access database to DataSource, binded data to lbl and radio buttons, it automaticaly …

Software Development data-structure vb.net
Member Avatar for 0096
0
254
Member Avatar for Ash11th

Hi Guys !! I'm new to this forum so please excuse me if i'm not posting my problem correctly. I have been given a project to make a program in C++ that solves a given sudoku problem. Here is what i did : [CODE]#include<iostream.h> #include<conio.h> int board[9][9]; int checkrow(int t, …

Software Development c++ puzzle
Member Avatar for Ash11th
0
289
Member Avatar for PratikM

Hey guys, I got the icon thing to work(it was pretty easy actually, you just have to download [URL="http://icofx.ro/"]icofx[/URL] and the [URL="http://www.softpedia.com/progDownload/Resource-Hacker-Download-1520.html"]resource editor[/URL] then load icofx, go to tools, resource editor, click on folder icon, open your .exe file in the Dubug part of your folder, and then click on …

Software Development c++
Member Avatar for termin8tor
0
225
Member Avatar for mikejs

Continuing on from my adding data to the db I am using the following to try and update the db [CODE] End If 'Refresh_Form() conn.Close() 'update property table Dim connUpString As String = My.Settings.strConn Dim connUp As New SqlConnection(connUpString) Dim cmdUp As New SqlCommand Try connUp.Open() cmdUp.Connection = connUp cmdUp.CommandText …

Software Development open-source sql vb.net
Member Avatar for Netcode
0
142
Member Avatar for aragonnette

hi , i want to sort my two merged iterable with heapq. everything is good but in result which starts with Turkish character locate end of all result. exm: Ö,Ş,İ ... locate end of result how can i solve this problem?

Software Development programming-construct python
Member Avatar for TrustyTony
0
347
Member Avatar for caut_baia

Hi.Someone asked a day or two ago for a way to extract the square root of a number without using the std::sqrt function so i thought about writing my own.Here it is and please feel free to criticize.

Software Development c++
Member Avatar for maninaction
0
415
Member Avatar for fez1234

Im currently making a type of gym membership software using vb.net as the front end and access database to store the records. Ive been working on this for the past few weeks, ive been battling errors and complications all the time, and im getting to the point where the deadline …

Software Development vb.net
Member Avatar for merylleanne13
0
511
Member Avatar for g_amanu

my excel files have more than a 1000 numbers under the columns that are labeled x, y, z for each excel file. i was trying to print the x, y, and z values for all of the excel files in to a single excel file(Trying_excel.xls)that would have all of the …

Software Development file-system os-x python
Member Avatar for g_amanu
0
2K
Member Avatar for nuclear

Just recently started learning SDL and have this problem, this program should properly display my background and message on the screen, but instead its just a black screen. Did the Blit, did the Flip, maybe im missing something? Heres the code: P.S i know i might forgot to add some …

Software Development c++
Member Avatar for nuclear
0
178
Member Avatar for Shanti C

Hello, i have used ireport tool for creating jrxml template for creating chart(XYLine chart). and i used this jrxml file in java code to create chart. Here i passed csv file as data source. Now i can freely change color,title,subtitle,font ect from java code . what i want is how …

Software Development java
Member Avatar for vimukthirandika
0
901
Member Avatar for bhagawatshinde

Hi Guys, Can Anybody tell me where i am wrong. The event can't be fired on clicking button6[CODE] private void button6_Click(object sender, EventArgs e) { this .button7.Click +=new EventHandler(button7_Click); } private void button7_Click(object sender,EventArgs e) { MessageBox.Show("Button7 Clicked when ur pressing button6"); }[/CODE]

Software Development c#
Member Avatar for bhagawatshinde
0
9K
Member Avatar for g_amanu

im trying to calculate the average and std for x, y, and z column for about 50 excel files that i saved in a folder. each excel files has x values in the first column, y in the second, and z in the third column. im using this script, but …

Software Development file-system os-x python
Member Avatar for Gribouillis
0
1K
Member Avatar for delbari

this method return "[B]StackOverflowException[/B]" error for some inputs;like "12" where is Infinite loop point? [CODE] public void cycle(int f){ int i, j; if (f == 0) return; else { for (i = f; i >= 0; i--) { for (j = 0; j <= 10; j++) { if (i == …

Software Development programming-construct
Member Avatar for delbari
0
208
Member Avatar for thecoolman5

hi, i am making a program that kills a process [CODE]system("taskkill /im explorer.exe");[/CODE] and i need to restart the process using CreateProcess. [CODE]CreateProcess(NULL,("C:\\WINDOWS\\explorer.exe"), NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &siStartupInfo, &piProcessInfo);[/CODE] but i keep getting these errors: 27 `siStartupInfo' undeclared (first use this function) and 27 `piProcessInfo' undeclared (first use …

Software Development c c# c++
Member Avatar for thecoolman5
0
917
Member Avatar for seamus400

I've found some similar posts on opening different files with the same file stream but they are difficult to understand. I'm trying to figure out for a larger project why I can't use the same file stream as in this example and what an alternative solution may be. And yes …

Member Avatar for seamus400
0
4K
Member Avatar for casper1

I'm new to python ,please tell me the way to write a program using python , to convert any decimal number into octal number(base 8) (using python 2.7)

Software Development python
Member Avatar for casper1
0
234
Member Avatar for lukename

hello. Can you recomend me any good OpenGL models type? I would like a type wich would have good editors for that model type and it would be possible to use "skeletal animation" with it.

Software Development c++ opengl
Member Avatar for mike_2000_17
0
101
Member Avatar for uselessninja

hi ... can someone help me on connecting MSsql 2000 to vb6 ...i've been searching google but they always point me to this site .. [url]http://www.connectionstrings.com/[/url] i dunno how to set up this strings in vb since im new to vb... :( please help

Software Development mssql sql visual-basic
Member Avatar for uselessninja
0
166
Member Avatar for vijiraghs

I am using netbeans to do "Library book search system"in EJB. I have a html page in which I want to display the list of books that match with the entered keyword. I get the keyword from the user and send it to a servlet through an ajax funtion which …

Software Development java mysql session
Member Avatar for vijiraghs
0
142
Member Avatar for iampord

Good day everyone! I just like to ask is there a way to run my application automatically, right after the installation. A Ton of Thank you in advance.

Software Development vb.net
Member Avatar for iampord
0
106
Member Avatar for SoftwareGuy

Hello, I'm using .NET C# there. I have a textbox. I assigned it a MouseClick event. Normally the event is fired when I click the control. But if I set the textbox's [[B]Enabled=false[/B]] or [[B]ReadOnly=true[/B]] properties, the MouseClick event is not fired. How can I fix it? Thanks.

Software Development asp.net
Member Avatar for hericles
0
2K
Member Avatar for clyo cleopas

[code] //A c++ program that calculate and print parking charges #include <iostream> using namespace std; #include <iomanip> const double minimumFee = 7.00; const double hourlyFee = 1.75; const int numOfCustomers = 2; const int numOfMinsPerHour = 60; void inputAndValidate(int,int,int,int); void convertToMinutes(int&,int&,int&,int&); void convertBackToTime(int&); double calcCharge(int&,int&,double); int entranceMinutes,exitMinutes,entranceTimeInMins,exitTimeInMins ; int minutesParked,parkedMinutes,entranceHour,exitHour,parkedTime …

Software Development c++
Member Avatar for sfuo
0
115
Member Avatar for sha11e

Hi there, I am new to Java and have a question about user input. In my book they use Keyboard.readInt() etc A tutorial I watch does Scanner input = new Scanner(system.in) I also saw a few videos doing, well I don't remember exactly but something like... I remember they imported …

Software Development java
Member Avatar for OblibSystems
0
179
Member Avatar for clyo cleopas

//A c++ program that calculate and print parking charges #include <iostream> using namespace std; #include <iomanip> const double minimumFee = 7.00; const double hourlyFee = 1.75; const int numOfCustomers = 2; const int numOfMinsPerHour = 60; void inputAndValidate(int,int,int,int); void convertToMinutes(int&,int&,int&,int&); void convertBackToTime(int&); double calcCharge(int&,int&,double); int entranceMinutes,exitMinutes,entranceTimeInMins,exitTimeInMins ; int minutesParked,parkedMinutes,entranceHour,exitHour,parkedTime ; …

Software Development c++
Member Avatar for VernonDozier
0
189
Member Avatar for mikejs

Hi I want to use an id reference that had just been created in a different table I have an insert query that adds a new user to the users table the t_id is auto generated I want to use the t_id value in a new query that runs after …

Software Development vb.net
Member Avatar for adam_k
0
114
Member Avatar for Majestics

I want to create a tool tip which has fix rectangular size and show custom font's... Any tips or link or any material to start with?

Software Development java
Member Avatar for mKorbel
0
158
Member Avatar for Kuroshi

I learned that a boolean does not need all the memory space it is provided in order to display true or false (1 or 0), but since the lowest space computers can work with is byte it was expressed as that. I also read that there are ways to store …

Software Development c++
Member Avatar for Fbody
0
191

The End.