88 Topics

Member Avatar for
Member Avatar for kannan mangalar

in this table how to extract table data and mainly get value after the <b> tag like email id, tel, address <table width="100%" cellspacing="0" cellpadding="10" border="0" class="text"> <tbody> <tr valign="top" onmouseout="this.className = 'pa-nor'" onmouseover="this.className = 'pa-row-highlight'" class="pa-nor"> <td width="50%"> <span class="text1"> School name</span><br> <font color="#cococo"><i>Secondary School</i></font><br> <b>Principal Name:</b> kannan<br> <b>Name …

Member Avatar for diafol
0
335
Member Avatar for TrustyTony

If I want to search for some tag, and I have not any so tagged post in front of me, how I open posts with that tag? I know that if I have one similarly tagged I can only click the tag.

Member Avatar for pritaeas
0
240
Member Avatar for haxxar_vb_net

Hey everyone. I'm new here just looking for some guidance / pointers. I'm working on a program to figure out what kinda data is contained with in unknown file types which belong to a game I'm modding. There are a few programs that all ready extract data from the main …

Member Avatar for haxxar_vb_net
0
381
Member Avatar for saja.omarii.7

heyy all ,, i'm trying to get the middle word of sentence contains 3 words using find and substr.. this is the code : #include <iostream> #include <string> using namespace std; void main() { string sentence; cout << "enter a three-words sentence :"; getline(cin, sentence); string middle = sentence.substr(sentence.find(" ") …

Member Avatar for saja.omarii.7
0
4K
Member Avatar for Sudhanshu_1
Member Avatar for jayturner

import java.util.*; public class Node { int costs[][]=new int [4][4]; int mincosts[]=new int [4]; int dest[]=null; ArrayList packets=new ArrayList(); Simulator sim=null; /** *@param args */ public RoutingPacket creatertpkt(int srcid, int destid,int mincosts[]) { RoutingPacket oRPacket =new RoutingPacket(); oRPacket.setSourceid(srcid); oRPacket.setDestid(destid); oRPacket.setMincost(mincosts); return oRPacket; } void rtinit(int srcid,int dest[], int initcosts[][],int initMinCosts[],Simulator …

Member Avatar for JamesCherrill
0
265
Member Avatar for parth2911

**i am tring to this way but answer is not write....thx...** #include<stdio.h> #include<conio.h> void main() { float a[10],m; int i,j,n,t; clrscr(); printf("how many number in array\n"); scanf("%d",&n); printf("enter %d number\n",n); for(i=1;i<=n;i++) { scanf("%f",&a[i]); } for(i=1;i<=n;i++) { for(j=i+1;j<=n;j++) { if(a[i]>a[j]) { t=a[i]; a[i]=a[j]; a[j]=t; } } } if(n%2==0) { m=a[(n/2)+((n/2)+1)]/2; } …

Member Avatar for parth2911
0
199
Member Avatar for CreatorZeus

so, im trying to make a simple funtion to see if there is a file in a folder. been looking everywhere but havent found one that worked out. annnnnnnnnnnnnd code snippet: ` WIN32_FIND_DATA FindFileData; HANDLE hFind; hFind = FindFirstFile(_T"C:\\Dev-Cpp\\notes", &FindFileData); if (hFind == INVALID_HANDLE_VALUE) { cout << "No File found\n"; …

Member Avatar for duskoKoscica
0
479
Member Avatar for angelina_1

hello, i just want to find difference between two dates interms of days by getting dates as a user input. i tried getting user input using raw_input but it shows some erroe message. can anyone tell me the right coding for this one.urgent please...

Member Avatar for Gribouillis
0
379
Member Avatar for RLS0812

I am attempting to use preg_replace to purge everything except letters and numbers in the $_POST, however is seems to be failing to work. Sample code below demonstrating the problem. <html> <?php if( isset($_POST["name"]) || isset($_POST["age"]) ) { $x1 = preg_replace('[^A-Za-z0-9]', "", $_POST['name'] ); $x2 = preg_replace('[^A-Za-z0-9]', "", $_POST['age'] ); …

Member Avatar for RLS0812
0
227
Member Avatar for razamughal67

I have a 2 textbox 1 text box is empty . text2 is multine true second text box have some words. text2 text Example : "12345 is my number and 03451234567ddddsfsa somethingis wrong034512345find 03451234567" .............. i want to find 03451234567 11digit number in text box with first 3 or 4 …

Member Avatar for Reverend Jim
0
314
Member Avatar for teppuus

Hello, I am trying to write a macro for Excel 2003 that will allow me to search for two words in Sheet1, copy all the data below those words, and then paste that data in Sheet2. That part I can get to work. My problem is that I have multiple …

Member Avatar for PerplexedB
0
402
Member Avatar for ovidiu_b13

Hello I have this code to detect the user browser, using if and else: [CODE]<?php if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE) echo 'Internet explorer'; elseif(strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') !== FALSE) echo 'Mozilla Firefox'; elseif(strpos($_SERVER['HTTP_USER_AGENT'], 'Chrome') !== FALSE) echo 'Google Chrome'; else echo 'Something else'; ?>[/CODE] Is there a way to do this using the …

Member Avatar for diafol
0
5K
Member Avatar for Israel_1

Hi I need help with finding the area underneath a curve. Here is what I have so far; #include "stdafx.h" #include <iostream> #include <string> #include <cmath> using namespace std; struct term { float coeF; float exP; char name; }; struct function { int size; term terms[10]; }; struct Integral { …

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

I wanted a graphical representation of the listing of my files and folders from the command line interface, just like what the CLI **tree** would give on linux system, I really don't like how the same command is displayed on windows. So, I called on ma 'Cherie' Perl do it …

0
287
Member Avatar for while(!success)

Hey guys, I've been tearing my hair out for some time trying to figure out why my jquery has suddenly stopped working. The jquery script that I have written is fairly simple: $(document).ready(function () { $("#pTab").addClass("active"); $("#pBtn").click(function () { $("#pTab").addClass("active"); $("#gTab").removeClass("active"); }); $("#gBtn").click(function () { $("#gTab").addClass("active"); $("#pTab").removeClass("active"); }); }); I …

Member Avatar for while(!success)
0
365
Member Avatar for 2teez

I really got bored and tired of trying to find or remember some codes usage in so many files saved on my system, when it was needed. So, I called 'Monsieur' perl for help, hacking together some codes which works great for me and solve my problem of boredom. You …

Member Avatar for rsprice
0
241
Member Avatar for fashxfreak

Hi ! I have a column of 'City', now I want to compare the value of each cell of 'City' against the column 'City_Check'; the cell where the value matches, pick the value of 'City_ID' column & replace the city name with that ID in the 'City column'. * The …

Member Avatar for urtrivedi
0
257
Member Avatar for ppstyle

I have a replace button which has to replace a word that is searched inside the richtextbox(rtb).But the code is not working, help me identify my mistake. Thank you If HTMLopt.rtb.SelectedText.Length <> 0 Then HTMLopt.rtb.SelectedText = txtReplacementText.Text End If Dim StartPosition As Integer = HTMLopt.rtb.SelectionStart + 2 Dim SearchType As …

Member Avatar for G_Waddell
0
192
Member Avatar for Echo89
Member Avatar for Echo89
-1
2K
Member Avatar for vinay7868

this is the below code in which when user press enter then the details of textbox go into gridview then again when user press enter then if that record is already available then not allow to insert in gridview.i a unable to do this please help any one... If Asc(e.KeyChar) …

Member Avatar for Begginnerdev
0
274
Member Avatar for magicmarkuk

Hi I have a site built on Wordpress which has a over 4,000 posts all with the suffix -2 at the end of the post name (due to me forgetting to clear the trash) before running an import). I would like to remove the -2 from the post names with …

Member Avatar for magicmarkuk
0
278
Member Avatar for anisha.silva

HI, I have a class Customer and Vehicle. Fist a customer needs to be added to the application. when a vehicle is being added the customer id needs to be added also so i wrote the code as below @Override public void addVehicle( String make, String model, String year, String …

Member Avatar for anisha.silva
0
255
Member Avatar for designershiv

Hello Friends, I need your help again sample code `<div id="generic_photo125_addinputs"><ul><li><input type="button"/></li></ul></div>` The above code generated automatically, i like to hide the button inside the li, Now the problem is all the ids, class everything is generated dynamically,so i cant able to target the button based on the selector,Is it …

Member Avatar for gon1387
0
144
Member Avatar for inneedofhelp123
Member Avatar for ceyhun
Member Avatar for biscayne

I have a flat file (template) where I want to replace variables based upon value in another file (csv). Variables in them template are named %VAR_Xz% The values are in the csv file and X is field 0 of each line and y field 1 and up. Example: Badidas, 13.00, …

0
107
Member Avatar for TF401

Is it possible to find where a user **clicked** on the site, not just where it is his mouse ? -(doesn't matter in what website programming language) Thanks alot!!

Member Avatar for AleMonteiro
0
171
Member Avatar for gtsiga
Member Avatar for caKus
0
217
Member Avatar for asiawilliams

I'm taking a beginning java class and I'm trying to create a helper method to get a input from a user and combine all four methods into a package I can use in my programs after. I keep running into trouble with the last method, getMenuStringFromUser, the error it gives …

Member Avatar for Taywin
0
459

The End.