- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 60
- Posts with Upvotes
- 50
- Upvoting Members
- 39
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
A Perl Hacker, a C language Raconteur, a Teacher and Ultimately a Dreamer....
- Interests
- Perl, Linux, Unix, C, Objective-C, C++, Java
Re:
classification of a text in a corpus with five themes and each theme contains 10 items in perl for exemple: i have: 1 theme food 10 articles about food 2 theme politic 10 articles about politic ...etc and i give him a new text and he classify this text on … |
|
Re:
I am trying to process the data in a single file . i have to read the file and create a hash structure,get the value of fruitname append it to fruitCount and fruitValue and delete the line fruitName and write the entire output after the change is done.Given below is … |
|
Re:
Hi, Please help in the below task using perl script compare file1 and file2 and print the updated line in file2, should print new line added in file2 and print missing line from file2 |
|
Re:
hi I am trying to build a triangle calculator that can tell you if you can form a valid triangle, I have reach the calculation part as yet just the part of the gui and that is the part with the error. something is wrong and i cant seem to … |
|
Re:
Hi PerlGurus, I am really new to perl and liitle handson with the concepts here. I am trying to learn the hash & Array concepts and come up a self exercise to do practice. *Got two files * # inFile01 as below: # CLAYCOUNTY;Wood;statecode=FL CLAYCOUNTY;Wood;statecode=FL SUWANNEECOUNTY;Wood;statecode=FL SUWANNEECOUNTY;Wood;statecode=TX SUWANNEECOUNTY;Wood;statecode=TX SUWANNEECOUNTY;Wood;statecode=TX NASSAUCOUNTY;Wood;statecode=UT … |
|
Re:
Hello everyone, I am new to Regular expression, and would like some hints, please if someone can direct me to right place. I have a bunch of files in a directory, and i need to rename them based on certain pattern. I think I need to use regular expression to … |
|
Re:
Hi , I am looking for some directions with this and posted the same question in one more forum. am trying to get the word type as an output from an input file (input.txt) which looks like this, Input file John N N loved V Mary N N . S … |
|
Re:
Hello, Can you please help me with the following scenario in Perl scripting? I want to compare two text files and save output of this comparision in third file with flag PP. So basically, the word common in both the text files should be printed with a flag |PP on … |
|
Re:
I am working with a code which stores the information of customers in a file called customer_details.txt then asks the user to enter a name and then searches for the name in customer_details.txt, if the name is found, the entire details of the user is displayed on the output screen. … |
|
Re:
I think I've got something wrong. My program runs but when I enter the column and row number the X and O dont appear. Was wondering if someone can help here. #include<iostream> #include<iomanip> using namespace std; void drawBoard(char board[][3]); char checkWinner3by3(char board[][3]); int main() { char board[3][3] = {{' ',' … |
|
Re:
Hi everyone i need help in getting value from 3 depenedable dropdown menu and after selecting option from 3 dropdown menu the data showed be shown in textbox eg. First value **package1** Second Value **car1** Third value **Type** and textbox value **Rate1** **Rate2** **Rate3** Please help me in this Thanks … |
|
Re:
In my javascript code, I want to clear the text fields after done with the operations using onclick command. Question: Is there a predefined fuction to serve this purpose? |
|
Re:
how would I add text that the viewer could see and not just to the console as well as it not getting rid of the other text on the page? <!DOCTYPE html> <html> <head> <title>help me</title> </head> <body> <p>this is a line of text</p> <p>this is another line of text</p> … |
|
Re:
So I'm trying to make a script that prompts for two strings, then searches the second string to see if it contains the first using a function triggered by a button. Something is off with my comparison. Let me know what I am doing wrong. <!doctype html> <html> <head> <meta … |
|
Re:
Hello, Is there any limitation for the length of array variables in C++? Can I specify the length as wanted or is there any limitation for the array length? What should be the array length, if the length is not known. wchar_t commandString[10000]; Cheers |
|
Re:
i want to count the checkboxes i putted in my project when they get selected and they cant available again when they get stored in mysql plz rply me on shreyasmnt@gmail.com |
|
Re:
Hello, I'm new to perl and I'm trying to compile a perl code that I downloaded from web. I'm getting the below error. -------------------------------------------------------------------------------------------------------------------------- Can't locate docs/perlmod/DoxyDocs.pm in @INC (you may need to install the docs::perlmod::DoxyDocs module) --------------------------------------------------------------------------------------------------------------------------- Where do I download DoxyDocs module from for linux? Please help me … |
|
Re:
<!doctype html> <!-- Name:Thomas Smith Email:tsmith27@my.athens.edu Student No.00048668 --> <!-- ============================================================== --> <html> <head> <meta charset="utf-8"> <title>Time Remaining</title> <body> <h1 style="text-align:left">How Much Time Until?</h1> <br> <p>Enter the date: <input type="text" id="endBox" size=16 value=''></p> <br> <br> <hr> <input type="button" value="Find Out" style="width:130px;" onclick="javascript:TimeUntil();"/> <div id="outputDiv"></div> <script type="text/javascript" src="time.js"></script> <script type="text/javascript"> function … |
|
Re:
I'm trying to do some mouseover things with images. I thought that I had everything exactly as it should be but the page can't seem to access the images I'm asking it to. The idea is that the page has three pictures. One of a happy baby, a dog, and … |
|
Re:
HI I have a master spreadsheet with 60 columns, which is updated with new data from an updates file. The new data can be whole new lines or just cells. luckily i came across your site and found an excellent script which does exactly what i want, the only problem … |
|
Re:
Hy Guys,I Need Your Help Regarding This Question.. I run this Program on Dev c++ and Compiler did not Show Error but During INput I can not input Name and Address in both student class and School Class.. Sorry For bad English.. :) #include<iostream> #include<string.h> #include<fstream> using namespace std; class … |
|
Re:
Hello guys, our teacher gave us this code to transform it into a code that includes classes. It is about students registration into courses. It has also logical problems. Since Im new in C++ I really need your help, this is important. thank you |
|
Re:
I have two files large files: 1) file1.txt as below: ( more than 20,000 records ) 5020120475 |13ZJ38000813 |20141204|R 5020127431 |13ZJ38001569 |20141201|R 5020127689 |12ZJ44000606 |20141203|R 5020127728 |13ZJ38001356 |20141203|R 5020127956 |13ZJ62002544 |20141205|R 5020127972 |13ZJ49000082 |20141205|R 5020128325 |13ZJ57000785 |20141210|R 5020128706 |13ZJ38002805 |20141211|R 5020129084 |10XJ70107764 |20141217|R 5020129102 |12ZJ54000041 |20141217|R and 2) other file … |
|
Re:
I am having a hard time comparing my if else statements and getting it right. I want to ask for male or female, and if male then I can respond "Hello, Mr...." and if it is female then I can respond "Hello, Mrs...." #include <stdio.h> int main (void){ int firstNum; … |
|
Re:
I'm not sure what I'm doing wrong so if you could take a look and give me some ideals it would be great. Thanks so much Specifications: Write a program that uses a two-dimensional array to store the highest and lowest temperature for each month of the year. The program … |
|
Re:
How can i return an array from function in c++.. I have this code: #include <iostream> #include <string> using namespace std; int ordincreasente(int num[], int len){ int curMax,curMin,ordinato[len]; for(int i=0; i<(len-1); i++){ for(int j=i+1; j<len; j++){ if(num[i]<num[j]){ swap(num[i], num[j]); } }//end second loop }//end first loop for(int i = 0; … |
|
Re:
Hello Programmers! I am working on a C++ phone number class. The class has overloaded stream manipulators, cin and cout for output. It has three private members: areaCode, exchange, and line, strings that represent the numbers that are used in a telephone call. It is supposed to default to (000) … |
|
Re:
My program is supposed to decide whether a number is an integer or not. I've tried: if ($variable % 1 = 0) and: if ($variable % 1.0 = 0) I know that it can be done with regular expressions, but I'm only on day three of Sams Perl in 21 … |
|
Re:
I am using XML:twig to extract some attributes from an XML file using Perl; Here is my code: use XML::Twig; my $file = $ARGV[0]; $file =~ /(.+)\.xml/; my $outfile = $1.".snp" ; open my $out,'>',$outfile or die "Could not open file '$outfile' $!"; my $twig = XML::Twig->new ( twig_handlers => … |