Posts
 
Reputation
Joined
Last Seen
Ranked #543
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
98% Quality Score
Upvotes Received
60
Posts with Upvotes
50
Upvoting Members
39
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
10 Commented Posts
~69.5K People Reached
About Me

A Perl Hacker, a C language Raconteur, a Teacher and Ultimately a Dreamer....

Interests
Perl, Linux, Unix, C, Objective-C, C++, Java
Favorite Tags
perl x 272
c x 26
c++ x 14
print x 12
table x 12
Member Avatar for chahinez.abdelo.9

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 …

Member Avatar for Sarah_41
1
701
Member Avatar for Jag_1

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 …

Member Avatar for 2teez
0
1K
Member Avatar for Dev_9

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

Member Avatar for pty
0
3K
Member Avatar for divinity02

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 …

Member Avatar for divinity02
0
614
Member Avatar for Shirin_2

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 …

Member Avatar for Shirin_2
0
995
Member Avatar for Estermont
Member Avatar for Dani
0
211
Member Avatar for newbee_jv

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 …

Member Avatar for newbee_jv
0
262
Member Avatar for debayanenator

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 …

Member Avatar for 2teez
0
226
Member Avatar for debayanenator

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 …

Member Avatar for debayanenator
0
949
Member Avatar for nivedita5

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. …

Member Avatar for 2teez
0
3K
Member Avatar for thekid772

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] = {{' ',' …

Member Avatar for 2teez
0
232
Member Avatar for Praveen_15

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 …

Member Avatar for Praveen_15
0
420
Member Avatar for hastings.george.5

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?

Member Avatar for hastings.george.5
0
173
Member Avatar for du_ebrithil

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> …

Member Avatar for mblan180131
0
295
Member Avatar for TObannion

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 …

Member Avatar for mblan180131
0
181
Member Avatar for JosesMelo

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

Member Avatar for rubberman
0
286
Member Avatar for Shreyas_2
Re: help

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

Member Avatar for 2teez
0
120
Member Avatar for nikhil_7

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 …

Member Avatar for 2teez
0
488
Member Avatar for Thomas_31

<!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 …

Member Avatar for 2teez
0
203
Member Avatar for TObannion

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 …

Member Avatar for TObannion
0
356
Member Avatar for johntm

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 …

Member Avatar for 2teez
0
480
Member Avatar for Muhammad_102

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 …

Member Avatar for 2teez
0
232
Member Avatar for Kunora

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

Member Avatar for 2teez
0
108
Member Avatar for rantnna

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 …

Member Avatar for 2teez
0
378
Member Avatar for Michael_48

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; …

Member Avatar for David W
0
290
Member Avatar for Callie C.

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 …

Member Avatar for David W
0
364
Member Avatar for phoenix254

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; …

Member Avatar for 2teez
0
658
Member Avatar for nathan.pavlovsky

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) …

Member Avatar for 2teez
0
576
Member Avatar for killingmonk

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 …

Member Avatar for 2teez
0
304
Member Avatar for Ahmed_65

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 => …

Member Avatar for 2teez
0
288