132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for leo002000

Hi all, Basically I am attempting to determine whether the first 2 columns (tab delimited file) from file1.txt match the first 2 columns of file2.txt. If they do I want to output the entire row of file1.txt to outputfile.txt... I can do this using vbs but due to the amount …

Software Development perl
Member Avatar for mitchems
0
242
Member Avatar for neil.abbott1

Hi, I am trying to open a url by clicking over the link of JLabel in Windows 7 (32 -bit) but unable to do so. After clicking on the link, it doesn't do anything. Although, it is opening the file successfully.It used to work in XP. The code is as …

Software Development java
Member Avatar for neil.abbott1
0
124
Member Avatar for koveras vehcna

Hello everyone, I am currently teaching myself language processing by using the book of NLTK -found at http://www.nltk.org/book - and I have a problem. The following code retrieves every sentence in Shakespeare's Macbeth respectively as a list of list of list -or something like that- format: from nltk.corpus import gutenberg …

Software Development python
Member Avatar for koveras vehcna
0
253
Member Avatar for tedtdu

From following string (without white space) as; String s= "<a><b>e</b></a>"; How can I get the following tokens; <a>,<b>,e,</b>,</a> Thanks for attention!

Software Development java
Member Avatar for JamesCherrill
0
126
Member Avatar for ftl25

Hi, I have a structure defined in my header file as follows: [CODE] struct TestInformation { int TestPointer; // pointer to the selected test long TestPointerValue; // the value contained within the pointer long TestSize; // the size of a test char *TestText; // the text contained within a test …

Software Development c++
Member Avatar for ftl25
0
286
Member Avatar for Prashant20

I have created an Exams form which has all its control(1 txtbox, 2 combobox) binded to exams table (SQL Database). The form has a Datagridview which shows two column, Subject and OutofMarks(dats total mark assigned to a subject e.g. Subject [B]English[/B] is of [B]100 [/B]mark. The subject column of datagrid …

Software Development
Member Avatar for dhananjaygupta
0
114
Member Avatar for jasleen12345

hi i am new to c++...i have a learnt a lot about the basics. i now want to procede to the graphics part. i dont know even a little bit of the graphics part....pls help me.. i am using dev C++

Software Development c++
Member Avatar for jasleen12345
0
215
Member Avatar for enkidu75

So I have a program I need to make which involves an array. It builds fine and runs. Right now I just need to get the array to read in from file then print it on screen. But only a little over half the array prints (the last half). format …

Software Development c++
Member Avatar for daviddoria
0
110
Member Avatar for yosi_s85

i get non accuracy result for using simple(* + -) and complex(sin cos pow) math function in std. someone know very accuracy for math actions?

Software Development c++
Member Avatar for mike_2000_17
0
204
Member Avatar for helpme87

i want to be able to read input from a file and find like entries and then add the corresponding data. i dont know if i explained that well so ill give an example... the file would be like this (just example numbers)... [CODE] 111111 15 222222 6 111111 4 …

Software Development c++
Member Avatar for helpme87
0
133
Member Avatar for DragonMasterJay

Hi I was looking for some ideas and techniques on developing an antivirus engine. Not really sure how the code should go, or how the program will scan the system. Please state any ideas, or ways to approach the engine development. Thanks.

Software Development c++ virus-malware
Member Avatar for dannyfiker
0
340
Member Avatar for buster2209

I have successfully managed to get my data the way I want it in ListView and have two questions; 1 - How can I select an item on a single (or double) click of a mouse button that executes some code using that as the variable passed to it from …

Software Development listview
Member Avatar for buster2209
0
295
Member Avatar for fire_

Hello. I'm writing program wich reads from file line by line and then rewrites everything to other file. This is simplifyied part of code: [CODE]for (int i=0; i<=5;) { getline (file1, str1); /* file1 is file from wich i read and str1 is string*/ file << str1; }[/CODE] No i'm …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
275
Member Avatar for starlight849

Hi, I am looking for advice on the best way to achieve my current goal. I am reading a textfile and extracting information from each line. For example string1 and string2. I am then writing these string to a datatable. However, sometimes there will be repeats in string1 and string2. …

Software Development vb.net
Member Avatar for starlight849
0
163
Member Avatar for kckrns

Hello all, I am currently working on a project that requires an update within an Access Database. There are photo folders, and the user defines the path name via a dialog box. That path name is stored to a string value, and through OleDBReader, the actual name of the photo …

Member Avatar for Niranjan003
0
109
Member Avatar for jeevsmyd

I have been advised by many people that it is better to use integer return type for main function instead of void ! I actually dont understand what return 0 means .. main returns 0 value to program ! What does that mean ?! Could you please help me understand …

Software Development c++
Member Avatar for Ancient Dragon
0
164
Member Avatar for Rez11

I'm getting weird letters and numbers when the array is being shown. What is the problem? I've initialized array1 with 10,20,...etc. So shouldn't it cout those numbers? [CODE] #include <iostream> using namespace std; void reverseArray(int[], int); int main() {//start main const int size = 5; //constant size of array is …

Software Development c++
Member Avatar for Fbody
0
128
Member Avatar for kazkikay12

Why doesn't the if else statement work? Please help... [ATTACH]16773[/ATTACH]

Software Development c++
Member Avatar for Topi Ojala
0
77
Member Avatar for Bigbrain99

[CODE]#include <iostream> #include <string> #include <ctype.h> using namespace std; void isphone(int number) { bool isphone = false; int size2= number.size(); for (int i=0; i<size2; i++) { if(isdigit(number[i])&& size2>=4) { isphone=true; } else isphone = false; if(isphone=true) { cout<<"yes this is a phone number"<<endl; } else cout<<"Invalid number!"<<endl; } } //for …

Software Development c++
Member Avatar for Bigbrain99
0
156
Member Avatar for Pinchanzee

My internet browsing skills have failed me and I can't seem to find any solution to this. I image it'll be easy for you guys though and I'd be incredibly grateful if you could help me. I'm new to Python so a relatively simple explanation would do me very well, …

Software Development python
Member Avatar for Pinchanzee
0
2K
Member Avatar for buster2209

I want to be able to double left click my mouse on an entry in a populated listview window and pass that variable (as a string) to a textbox. Can anyone give me some sample code?

Software Development listview pc-peripheral
Member Avatar for Geekitygeek
0
139
Member Avatar for shena

Hi all, I have form to populate list view items which allows the user to view, add, update, and delete model records. But when i start the project, the [B]Run-time error '380': Invalid Property Value[/B] comes. i click to debug, it highlighted a line as i have indicated below in …

Software Development visual-basic
Member Avatar for shena
0
3K
Member Avatar for shena

Hi all, I have string like this: JK-501-[COLOR="Red"]3556-25[/COLOR]-A-03#C I would to extract the middle part without dash which suppose to look like this:355625 I wrote the code this way, but the string extracted looks like this: 3556-25355625 [CODE] For i = 1 To Len(cbPN.Text) If Mid(cbPN.Text, i, 1) = "-" …

Software Development visual-basic
Member Avatar for shena
0
131
Member Avatar for NH1

i get this error Syntax error (missing operator) in query expression [code=c] "FROM (Employee LEFT JOIN DaySchedule ON Employee.[Employee Number] = DaySchedule.[Employee Number] " + "RIGHT JOIN Rules ON Employee.[Default Shift Code] = Rules.[Rule Name]) " + [/code]

Software Development
Member Avatar for Geekitygeek
0
122
Member Avatar for NH1

How would i change this so it will work. I need to link two tables. but i get an error that says "Join expression not supported". [code=c] case 'N'://Get Jobs //long n = Int64.Parse(Del); SEL = "SELECT Employee.[Employee Number], Employee.[Last Name], " + "[DaySchedule]![Shift Code Monday] AS Monday, " + …

Software Development
Member Avatar for Geekitygeek
0
274
Member Avatar for shena

Respedted Seniors, I have a form to input a product model detail. When i run the project and choose to click the menu 'Model Master', an error as below occurred. [B]Run-time error '3709': The connection cannot be used to perform this operation. it is either closed or invalid in this …

Software Development open-source visual-basic
Member Avatar for shena
0
7K
Member Avatar for Usmaan

Hi people, I'm fairly new to this forum so errrm, Hi! To the point, I'm a Computer Science Student at University. As the second academic year has now finished, I've set a few objectives for the next year: i.e. LEARN C SHARP! I therefore ask if anyone here can aid …

Software Development gui
Member Avatar for Geekitygeek
0
131
Member Avatar for flowin

Hello, I am trying to override the toString() method and then output an ArrayList to a JTextArea swing component. I will output the list to a gui using an action, but for the method itself, what should the return statement be? I am using return type String on the method, …

Software Development gui java java-swing
Member Avatar for javaAddict
0
88
Member Avatar for jheichimiste

I am currently assigned to teach programming subjects for college students... however, I am not a computer science major, I just knew some programming, can you help me in coming up with a credible, and standard series of topics to be discussed?

Software Development c++
Member Avatar for Stefano Mtangoo
0
104
Member Avatar for farsen

Hi. I am interested in converting an amount of pixels into a real cencimenter or inch value. I´ve read some articles which confused me more that they informed me, so hope you can guide me in the right direction :) Lets say I have a user input his monitor size …

Software Development
Member Avatar for farsen
0
190
Member Avatar for umesh314

Please help me....... I want to buy a book for C++... i want your suggestion for this..... i am confused... HELP.....

Software Development c++
Member Avatar for umesh314
0
157
Member Avatar for onako

My current c++ application is compiled by calling "make", and invoked by calling "./fileName.bin". Now, I want to add the functionality of cairo library into the application. Note that the the program written specifically for testing cairo (outside my application) is compiled by "g++ -o fileX $(pkg-config --cflags --libs cairo) …

Software Development c++ pdf
Member Avatar for Stefano Mtangoo
0
141
Member Avatar for Stefano Mtangoo

Hi to all, is there any place i can download MSDN Library for VB 6.0? I really need it! with regards!

Software Development visual-basic
Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for lionaneesh

This is a simple-web-server made in C.. [COLOR="Red"]Supported OS :[/COLOR] I have made it on Ubuntu 9.10 ... and i think it will run on all linux system .... [B]Windows is not supported[/B] [U][B][I][COLOR="Red"]Compiler Instructions : As this is a web server so it will host on port 80 to …

Software Development c client-server ubuntu web-server
Member Avatar for challarao
0
2K
Member Avatar for ankilosado

I have a hyerarchy of aggregation with data from a txt file. I'll try to draw it here [B]Documento[/B] has arraylist of [U]Pagina[/U] [INDENT][B]Pagina [/B]has arraylist of [U]Parrafo[/U][/INDENT] [INDENT][INDENT][B]Parrafo [/B]has arraylist of [U]Frase[/U][/INDENT][/INDENT] [INDENT][INDENT][INDENT][B]Frase [/B]has arraylist of [U]Palabra[/U][/INDENT][/INDENT][/INDENT] [INDENT][INDENT][INDENT][INDENT][B]Palabra [/B]has arraylist of [U]basicElemento[/U][/INDENT][/INDENT][/INDENT][/INDENT] To construct [U]Documento[/U], I only have to …

Software Development data-structure java
Member Avatar for ankilosado
0
165
Member Avatar for ankilosado

I have writen a code for adding (math +) two arrays. Actually, I have two arrays of a class I have also designed, that has two attributess, one of wich is an integer. I would like to sum (add element by element) one array on the other by adding the …

Software Development java mathematics
Member Avatar for ankilosado
0
180
Member Avatar for Agent Cosmic

Hi there, I'm a Java newbie, but have experience in JavaScript programming for over half a year. I would like to ask if there and any web site where people share their Java source code so that I can read and learn how they program. Blogs where they share tutorials …

Software Development java open-source web-design
Member Avatar for jon.kiparsky
0
117
Member Avatar for vbx_wx

How can i make only one instance of an object ?

Software Development c++
Member Avatar for Stefano Mtangoo
0
96
Member Avatar for sumanpk

HI, pleae can any one help me regarding the issue: I am trying to develop system where i can add run time some user control like button, textbox, checkbox . Thanks suman

Software Development user-interface vb.net
Member Avatar for codeorder
0
111
Member Avatar for smcguffee

Hi all, I'm gradually starting to make this transition from the world of C to C++, and now that I have a little progress, I have some things that are still a bit confusing to me. One of them is if I nest a class inside another class. If I'm …

Software Development c++
Member Avatar for smcguffee
0
121
Member Avatar for n.aggel

In order to traverse a tree you could use something like this: [B]For inorder traversal:[/B] [CODE=C++] inorder(TreeNode* currentNode) { if (currentNode) { inorder(currentNode->LeftChild); cout << currentNode->data; inorder(currentNode->RightChild); } } [/CODE] [B]For preorder traversal:[/B] [CODE=C++] preorder(TreeNode* currentNode) { if (currentNode) { cout << currentNode->data; preorder(currentNode->LeftChild); preorder(currentNode->RightChild); } } [/CODE] [B]For post …

Software Development c++ queue
Member Avatar for jbel
0
423
Member Avatar for nfrmn

Hi all, I'm developing a graphing application that plots several lines from a protein sequencer that outputs its values in .csv format. I've read the csv into a DataGridView just fine, which is laid out like this: Cycle | A1 | A2 | A3 (all the way up to A12, …

Software Development dataset open-source vb.net
0
142
Member Avatar for darling332001

I have an entire program wrote, but I'm having problems with the getMethod. I need a get method which will receive the position of the variable (1,2, or 3) and will then return the variable at that position. Here's an example of the call to the method: System.out.println(dog.getFido(2)); I've tried …

Software Development java
Member Avatar for mikeNIkesT
0
89
Member Avatar for Java John needs

Hey to everyone out there. I am new to this forum and seeking assistance with a java program assignment. if anyone can help let me know. The program is completed all I have left is to produce accurate output of a students grade. Here is the code: //////////////////////////////////////////////////////////////// import javax.swing.JOptionPane; …

Software Development java java-swing
Member Avatar for mikeNIkesT
0
534
Member Avatar for dsul

Hey people, I've been coding in vb.net for a while but never had to publish anything (it didn't get covered during any of my classes) so here's my confusion: Context: My application uses an existing excel spreadsheet which it then modifies per user input, and saves the modified version to …

Software Development file-system vb.net
Member Avatar for ÜnLoCo
0
387
Member Avatar for joker400

Hello, i hope all of you are fine ... i need some source about telecom billing system ....

Software Development java
Member Avatar for shinyhelmet
0
247
Member Avatar for Rez11

I am trying to write a program that takes a user submitted number of test, along with the test scores. Then I need to sort them in ascending order. (I've done all this). Now I need to get the average, but my getAvg function drops will drop the decimal and …

Software Development c++
Member Avatar for dusktreader
0
210
Member Avatar for Loadstone

/edit: I found the Windows Servers forum section and posted there as well, but if you have any input I'd appreciate any help I can get. I'll be checking both threads for replies. Hi guys, First I want to apologize for such a lengthy post. I'm attempting to give as …

Software Development c c# c++ microsoft-access web-browser
Member Avatar for Loadstone
0
251
Member Avatar for poojabi

i am given an assignment to write code on interpolation search binary search(searching an integer in an ordered list). bt i dont have a clear idea about about both of them as i missed the theory class.so can anyone suggest me from where i can get satisfying information about them?

Software Development c
Member Avatar for Adak
0
107
Member Avatar for UniqueMan

The End.