Saturday, April 5, 2014

Parsing XML in Run BASIC

One of the important feature that a Web 2.0 language needs is an XML parser. Run BASIC now has one built in. The XMLPARSER statement parses an XML string and returns an XML accessor object with a bunch of handy built-in methods for making your way through an XML document.
Here is a simple example of what that sort of code looks like:

a$ = "<program name=""myprog"" author=""Carl Gundel""/>"
xmlparser #parser, a$
print #parser key$()
for x = 1 to #parser attribCount()
key$ = #parser attribKey$(x)
print key$; ", ";
print #parser attribValue$(x)
next x

This short program produces:

program
name, myprog
author, Carl Gundel

And here is a short program which will display the tag names and contents of an artibrarily nested XML document:

xmlparser #doc, s$
print #doc key$()
call displayElements #doc
end

sub displayElements #xmlDoc
count = #xmlDoc elementCount()
for x = 1 to count
#elem = #xmlDoc #element(x)
print "Key: "; #elem key$();
value$ = #elem value$()
if value$ <> "" then
print " Value: "; value$
end if
print
call displayElements #elem
next x
end sub


Read More..

Friday, April 4, 2014

PROGRAM FOR GETTING THE DISK STATUS

#include #include #include void main(void) 
{ 
 clrscr();
 union REGS regs;
 regs.h.ah = 1; 
 regs.h.dl = 0x80;



 int86(0x13,&amp;regs,&amp;regs);
 printf(&quot; If successful operation then AH &amp; AL register resets.&quot;);
 printf(&quot; AH register - %d&quot;,regs.h.ah); 
 printf(&quot; AL register - %d&quot;,regs.h.al);
 printf(&quot; Successful Operation.&quot;);
 getch();
 }


Read More..

HOW TO FIX CORRUPTED XP FILES


How to fix corrupted windows file is very easy.Following these following steps

Requirement:
1. Windows XP CD

Now, follow this steps:
1. Place the xp cd in your cd/dvd drive
2. Go to start
3. Run
4. Type sfc /scannow

 It should all load and fix all your corrupted file on win XP.Hope this method can fix your corrupted
xp system files.

 If this Does Not Work Then You Need to Format The Computer as there would be Viruses in the
PC and you can can Also Use the antivirus if the Possible otherwise format the PC .
Read More..

Reverse array

Q. Write a c program to accept n elements from user and reverse all elements.


Ans.

/*c program for reverse an array*/
#include<stdio.h>
#include<conio.h>
#define S 50
int main()
{
 int i,num,mid;
 float arr[S],tmp;
 printf("Ener total number of element in array : ");
 scanf("%d", &num);
 for(i=0; i<num; i++)
 {
   printf("Enter %d element : ",i+1);
   scanf("%f", &arr[i]);
 }
 mid = num/2;
 for(i=0; i<mid; i++)
 {
   /*swapping*/
   tmp = arr[i];
   arr[i]= arr[num-1-i];
   arr[num-1-i] = tmp;
 }
 printf("
-- Array in reverse order --

"
);

 for(i=0; i<num; i++)
    printf(" %.2f
"
,arr[i]);

 getch();
 return 0;
}

/************Output************/


Output of accept n elements from user and reverse all elements C program
Screen shot for reverse array C program

Related program:
  1. Reverse array using simple C program
Read More..

Wednesday, April 2, 2014

ASUS G73JH Review

The G73 is the latest gaming notebook in ASUS’ successful G-series product line. This 17.3-inch monster has a Core i7 processor, 8GB of RAM, and the most powerful mobile video card available, the ATI Mobility Radeon HD 5870.
ASUS G73JH-A2 has the following specifications:
  • 17.3-inch 1080p (1920x1080) display with LED backlighting
  • Windows 7 Home Premium 64-bit
  • Intel Core i7-720QM processor (1.6GHz/2.8GHz Turbo Mode, 6MB L3 cache)
  • ATI Mobility Radeon HD 5870 1GB GDDR5 graphics card
  • 8GB DDR3-1066 RAM
  • Two 500GB 7200RPM hard drives (Seagate Momentus 7200.4/ST9500420AS) (Non-RAID)
  • Atheros AR9285 802.11n Wireless LAN adapter
  • Built-in Bluetooth 2.1+EDR
  • 8X DVD Super Multi drive
  • Two-year limited warranty (one year on battery pack) with one year of accidental damage protection
  • 8-cell battery pack (14.8V, 5200mAh, 75Wh)
  • Weight: 8.5 pounds
  • Dimensions: 16.3” (W) x 12.6” (D) x 1.8” (H)
  • MSRP: $1,599
The ASUS G73JH is available as a pre-configured notebook only, though some dealers including XoticPC offer limited customization. Those looking for Blu-ray should check out the G73JH-A1 model, which has the same specifications as our test unit plus a Blu-ray drive for $1,699.

The ASUS G73 is has a “stealth” look, with non-traditional shape with angled surfaces and sharp lines  that is clearly influenced by modern stealth aircraft. . The protruding rear end is especially aggressive with its angled exhaust vents.
The physical size of the G73 is intimidating, even compared to other 17-inch notebooks. The chassis is actually angled upward 5 degrees, which gives the notebook a more assertive feel and helps with ergonomics. The notebook has a rubberized shell, which has a pleasant touch and adds a measure of durability.


The G73 has strong build quality; it feels very solid (and heavy) when being held. The notebook is constructed entirely of thick and good quality plastic. The chassis is very resistant to twisting and surfaces like the palm rests barely flex under pressure. The lid has excellent support from two large and strong display hinges. The panel itself has ample support and twists less than most 17-inch notebooks. Furthermore, no ripples appear on the display when pressure is applied from behind the screen. Overall, the G73 is impressive in both the build quality and design departments.
Screen and Speakers
The G73JH comes with a 17.3-inch LED-backlit screen with a full HD (1920x1080) resolution. The display has a glossy surface that helps make colors more vibrant, but suffers from reflections as a result. The display is, in a word, beautiful. It is very enjoyable to use for gaming and multimedia. Viewing angles are about average; there is little color shift from side to side. However, colors quickly wash out and darken from above and below.
The display has a high-resolution as well, which is appreciated. With a full HD resolution, it’s  easy to view two windows side-by-side without shrinking them too much. The higher resolution also helps bring out the finer details in games and reduces the amount of scrolling necessary while surfing the Web.

The G73 has two stereo speakers located below the display and a small subwoofer. The speakers get reasonably loud and there is measurable bass. For notebook speakers, these are more than acceptable.

Keyboard and Touchpad
The G73 has a full-size keyboard with a separate numeric keypad. The keyboard has a “Chiclet” or island-style keyboard, where the keys are raised above the keyboard surface and have more than usual spacing. The keyboard has a soft, rubbery feel (not a bad thing) and makes typing easy. While some flex is evident when you type and the keyboard could have slightly better support, these two factors do not affect its usability. The tactile feedback is adequate, though could be improved if the keys had a longer throw.


The G73’s keyboard is backlit and looks good in the dark. We like that the keys have a rubberized non-slip finish, which adds durability and makes them more comfortable to use over extended periods of time. The keyboard’s layout around the number pad is somewhat squashed though all keys are more or less in their expected positions. Overall, we like the keyboard and do not have any major qualms with it. 

The extra-large touchpad sits slightly off-center to the left of the chassis to line up with the keyboard. It has a much-appreciated matte surface, which is easy to track on regardless of whether fingers are moist or dry. The right side of the touchpad is a dedicated scroll zone however it required an unusual amount of pressure to use. Unfortunately, the touchpad buttons are subpar. While quiet, they are harder to push down than expected, and we don’t like that they are contained under a single piece of plastic.
Ports and Features

Given its size, the G73 has a relatively limited amount of input and output ports. All descriptions are left to right.
Left Side: Gigabit Ethernet, USB 2.0, optical drive, USB 2.0, microphone and headphone jacks
Right Side: Media card reader, 2x USB 2.0, HDMI, VGA, and AC power
Back: Vent, battery, Kensington Lock slot, and vent
Front: Status lights   

Performance and Benchmarks
The G73 is a top-notch performer thanks to its arsenal of high-powered components. The Mobility Radeon HD 5870 is the fastest single mobile graphics card available  right now, and coupled with 8GB of RAM and a Core i7 processor, the notebook can handle almost any game on the market at the highest visual quality settings.


Heat and Noise
The G73’s cooling system is perhaps the best we have seen on a gaming notebook. Not only does this notebook handle heat well, but it also makes little noise. The notebook is almost silent at idle and can barely be heard under full load. Surfaces remain cool to the touch on the top and bottom, even while gaming. All external temperatures shown in the images below are listed in degrees Fahrenheit.


The internal components of the notebook stayed well under manufacturer-recommended temperatures. We saw the graphics card top out at 75 degrees Celsius and the CPU at 68 degrees Celsius.
Battery Life
While surfing the Web with minimum screen brightness, we squeezed one hour and 48 minutes out of the G73’s 8-cell battery pack. This is respectable for a large gaming notebook.
Included Accessories
The G73JH-A1 comes with a carrying backpack and Razer Abyssus gaming mouse. The backpack has a quality feel and thick padding for back support. It has ample room for the G73 and a textbook or two. The Razer Abyssus mouse is extremely responsive and is a perfect match for the G73. Its sensitivity is adjustable via a switch on the bottom.
Conclusion
The ASUS G73JH is a phenomenal gaming notebook and a fantastic value. It has more than enough power to handle any modern game while remaining quiet and cool to the touch. The keyboard is pleasant to type on and the screen is beautiful. The G73JH has strong build quality and the stealth-like design is unique. Other than a few minor quibbles with the touchpad, we found very little to dislike and highly recommend the G73 to gamers and multimedia enthusiasts alike.
Pros:
  • Excellent performance
  • Beautiful screen
  • Strong build quality
  • Runs cool and quiet
  • Good keyboard
  • Unique design
  • Decent speakers
  • Includes backpack and mouse
Cons:
  • Touchpad buttons too hard to press
  • Could use a few more input/output ports
   
   
Read More..

Tuesday, April 1, 2014

Sony VAIO SZ6

Back in 2006, the SZ1 set the standard for power in a small package in the 13" notebook segment. Recently (in October 2007), the Sony VAIO SZ61 was introduced in Europe – two months after it became available as the VAIO SZ6xx in the United States. As the new high end of the SZ line, the SZ6 series is packed with power features. The laptop sports an Intel Core 2 Duo processor, an upgrade to the Intel Santa Rosa platform, a 13.3" glossy X-black widescreen display, and in Germany starts at about EUR 1,650 (incl. VAT) for the standard edition VGN-SZ61MN/B or at about EUR 2,050 (incl. VAT) for the premium models VGN-SZ61WN/C, VGN-SZ61AWN/C or VGN-SZ61VN/X. Though the competition is stronger than ever, its hard to find a better 13", 4 lb./1.7 kg or under notebook of its kind.

The latest European Model Sony VAIO VGN-SZ61WN/C has just replaced my VGN-SZ1VP, the very first SZ model which accompanied me from day one since it became available in March 2006. Additionally, I can look back to the long-term (6 years!) use of a VAIO VGN-Z600TEK (one of the first better built laptops in VAIO history and ‘real’ predecessor of the current SZ design and form factor).The Sony VAIO SZ6 is available in a number of configurations. In the United States you can configure a VAIO online at SonyStyle.com or buy a stock configuration from various retailers. In Europe only pre-built stock configurations can be purchased. (Choose between country specific/localized or English versions at Sony Style Europe. Unfortunately, the ordered keyboard layout is linked to the system’s software language. Thus, be prepared to install your own retail version of the operating system and dump the OEM license as I did, if your desired language of operating system and software vary from that of your keyboard. That’s the only way to end up with e.g. a German keyboard layout in coherence with an English version of Windows.)The feature set of the reviewedSZ61WN/C premium model is comparable to the U.S. version VGN-SZ650N/C. Built-in Wireless LAN a/b/g, but no support for draft n here. All European Premium models offer integrated 3G WWAN.What’s in the box: Besides the notebook, the package contains a lithium-ion rechargeable battery, AC adapter and power cord, T-Mobile SIM card (+ 30 days HSDPA flat rate trial voucher), express card adapter and printed quick start/troubleshoot guides. Its backed by a 2-year limited warranty (battery warranty limited to 6 months). The notebook comes preinstalled with Microsoft Windows Vista Business.SZ61WN/C

Specs as Reviewed
  • Operating System: Windows Vista Business OEM
  • Processor: 2.2 GHz Intel Core 2 Duo T7500 (4 MB L2 cache, 800 MHz front side bus)
  • Chipset: GM965
  • Memory: 2 GB RAM (667 MHz, PC5300 DDR2 SDRAM, 2x 1024 MB), 2 SODIMM slots, 4 GB max. (64-bit)
  • Optical Drive: multi-format/dual-layer DVD/CD burner (DVD+-RW/+-R DL/RAM) Write: CD-R x24, CD-RW x16, DVD-R x8, DVD-RW x6, DVD+R DL x4, DVD+R x8, DVD+RW x8, DVD-RAM x5, Read: CD x24, CD-R x24, CD-RW x24, DVD x8, DVD-R DL x6, DVD-R x8, DVD-RW x8, DVD+R DL x6, DVD+R x8, DVD+RW x8, DVD-RAM x5
  • Hard Drive: 160 GB hybrid hard drive (SATA, 5400RPM),Windows ReadyDrive: 256 MB flash memory
  • Display: 13.3"widescreen X-black LC-Display with LED-Technology, 1280 x 800 WXGA
  • Graphics: Intel Graphics Media Accelerator X3100 (max. 358 MB of shared memory) (stamina), Dedicated: NVIDIA GeForce 8400M GS GPU, 64 MB DDR2 dedicated(max. 831 MB of allocated RAM)
  • Connectivity and Expansion Slots: i.LINK (IEEE 1394) 4-Pin 400 Mbit/s, docking station port, integrated Memory Stick reader (Memory Stick Duo, Memory Stick PRO Duo, MagicGate), microphone-in, RJ-11 (Modem), RJ-45, 2 USB-Version 2.0 High/Full/Low Type A USB ports, VGA, PCMCIA-Card-Type I or II, Multi-Card-reader (Express Card Adapter VGP-MCA20: MultiMedia Card (MMC), SD Card, xD Card, Memory Stick, Memory Stick PRO, Magic Gate), headphone/line-out, Express Card 34 slot
  • Networking: WWAN (HSDPA 3,6 Mbit/s, Rx Diversity), Wireless LAN 802.11a/b/g (54 Mbit/s, 100 m), Ethernet adapter 10Base-T/100Base-TX/1000Base-T, Modem V92/V.90, Bluetooth 2.0 + EDR (10 m)
  • Multimedia: compatible with Intel High Definition Audio, 3D-Surround, Stereo speakers (integrated), compatible with Windows Sound System, Sound Reality
  • Camera with microphone: Motion Eye Digital Camera, 25/30 fps, 0.3M motion/ 1.3M still, 640x480
  • Buttons: 2 customizable Special Buttons, On/Off button, Wireless On/Off, Stamina/Speed Mode Switch
  • Security: Infineon Trusted Platform Module (TPM), TCG 1.2 compatible Trusted Platform Module (TPM), biometric fingerprint scanner, Kensington lock slot, G-Sensor HDD Shock Protection
  • Software: SonicStage CP 4.2, SonicStage Mastering Studio 2.3, VAIO Photo & Video Suite, WinDVD 8.0 for VAIO, Adobe Photoshop Elements 5.0, Easy Media Creator 9, Click to DVD 2.6, Adobe Acrobat Standard 8.0, Adobe Reader 8.0, Microsoft Works 8.5, Microsoft Office Ready 2007 (free 60-days trial), Norton Internet Security 2007 (free virus definition updates for 90 days), VAIO Recovery Utility, Protector Suite QL 5, Infineon TPM Professional Package
  • Dimensions: 234.3 x 21.8 - 33.0 x 315 mm/12.5 x 0.9 - 1.3 x 9.3 inches
  • Weight: 1.79 kg / 3.7 lb
  • Battery: Lithium Ion rechargeable, 10.8v, 5800 mAh (VGP-BPS10), claimed runtime 3 to 6 hours, charge time: 270 min, extended 9 cell battery available for purchase (VGP-BPL9).
  • Power Adapter: AC100-240 V (VGP-AC19V26): Dimensions 3 cm x 12.2 cm x 5 cm, Weight 320 g, Output 19.5 V, power cable 1.8 m
See full review>>
Read More..

Armor X10gx Rugged Tablet Review

Meet the toughest tablet on the block, the Armor X10gx from DRS Tactical Systems. While other tablets impress with flashy UIs and cute applications, the X10gx takes any abuse the user or environment can dish out. See how well it handled our abuse -- I mean tests and evaluation -- in this rugged tablet review.



Armor X10gx Rugged Tablet Review
Read More..
 
Blog Information - Powered By Blogger