Sunday, August 2, 2009

Write a program in turbo c that implements stack?

can somone gave me a program(source code) in turbo c that implements the stack, how to use stack and its operations...

Write a program in turbo c that implements stack?
//Stack Implementation


#include%26lt;stdio.h%26gt;


#define MAX 5


struct stack


{


int arr[MAX];


int top;


};


typedef struct stack STK;


void push(STK*,int);


void pop(STK*);


void main(void)


{


STK stk;


int i,x;


stk.top=-1;


clrscr();


do{


printf("\n1: to push a no.");


printf("\n2: to pop a no.");


printf("\n0: to end");


printf("\n\n\nEnter your choice");


scanf("%d",%26amp;i);


switch(i)


{


case 1 :printf("\nGive the element");


scanf("%d",%26amp;x);


push(%26amp;stk,x);


break;


case 2 :pop(%26amp;stk);


break;


case 0 :printf("\nthe end");


break;


default:printf("\nInvalid choice");


break;


}}while(i);


getch();


}





void push(STK *p,int item)


{


if(p-%26gt;top==MAX-1)


{


printf("\nStack Overflow");


return;


}


p-%26gt;top++;


p-%26gt;arr[p-%26gt;top]=item;


}





void pop(STK *p)


{


if(p-%26gt;top==-1)


{


printf("\nStack Underflow");


return;


}


printf("\npopped element is %d",p-%26gt;arr[p-%26gt;top]);


p-%26gt;top--;


}
Reply:There are plenty of code examples in books and on the internet .... try a search engine.
Reply:You shouldn't go around asking people for code ;). I will give you some suggestions. A stack is basically an array of values of some type that has a special property: only the last (or top most if you think vertically) value can be accessed. To put it simple, imagine a stack of plates. You can't just get a plate (value) from the middle of the stack because the other plates would fall off. The only one you can access is the top most one which you can securely remove it.


There are two operations: adding a new plate (value) on top of the stack and removing one for usage. Once you add a new plate, that's the only one you can take off next. You could find these operations called pushing and popping.


Anyway, if you have an array of integers defined as stack int[100] and a count as int count = 0, then you would have the push routine do "count++; stack[count] = value;" and the pop do "count--;".

spring flowers

Problem in Visual C++ 2005 (Lite Edition)?

Whenever I try to debug a source code file in C++, I get an error saying





1%26gt;Project : error PRJ0003 : Error spawning 'C:\WINDOWS\system32\cmd.exe'.

Problem in Visual C++ 2005 (Lite Edition)?
cmd.exe is command prompt, so try this, go to run and type in cmd


black window should come.


Need help on Visual C++ (I'm using DEV C++)?

Hi everyone, I need help with Dev C++ on my school project, the instructions for the project is here : http://www.hci.sg/~yongjs/sec2term1/Type... . If you are free, send the final product/source code to J_C_Senior@hotmail.com and/or post here for me to choose best answer. Thanks so much. Please do not send viruses! :)

Need help on Visual C++ (I'm using DEV C++)?
Does not look easy, may be you can contact a C++ expert live at website like http://askexpert.info/ .
Reply:You are f-ing kidding me, right?


If anything, just for asking, I will sign you up for spam.





Get B3nt, lo0s$er!





PS: I should really report this to your school.
Reply:Don't cheat.


Does anyone know how to create an OCR for offline printed characters??..any links to source code snippets etc.

preferably done using C++ and Matlab or either of these

Does anyone know how to create an OCR for offline printed characters??..any links to source code snippets etc.
I suggest review the thread linked below:





http://ai-depot.com/neuralnetworks/Neura...


I want to need of atleast three asp.net projects with screenshots and source code?

asp.net projects with c#.net or vb.net

I want to need of atleast three asp.net projects with screenshots and source code?
if you're just looking for a few asp.net projects for sample's / starters, microsfot has starter kits at


http://msdn.microsoft.com/vstudio/expres...





just download it and when you run it, the extracted files contain vb and c#
Reply:u can find following url usefull





http://www.codeproject.com/


http://www.freevbcode.com/

trading cards

Can someone direct me to where I can find the C++ code for a game of blackjack?

I need the whole thing: header and source files

Can someone direct me to where I can find the C++ code for a game of blackjack?
I haven't looked but I would try GNU.org





not there try





http://www.bjmath.com/bjcomputer/compute...





close:


http://www.okmij.org/ftp/packages/black-...


http://www.cise.ufl.edu/~manuel/obfuscat...


http://www.codeproject.com/csharp/blackj...


How to identify ripple effect on code due to changes in code?

After you do a diff() between the original code and the modified code, you'll get the pieces of code where you have performed changes. But, I need to identify the lines of code that are affected by the modified code. The source code is in C language. It will involve pointers, function pointers, etc.. All these have to be considered. Please give suggestions on how to proceed.

How to identify ripple effect on code due to changes in code?
There's a Windows utility called Beyond Compare that does wonders, it's everything diff should have been. Check that out.


I want a program from 1 to 1000 armstrong numbers with source code?

c language

I want a program from 1 to 1000 armstrong numbers with source code?
Dear Friend,


Here is the source code use it with syntax: %26lt;program_name%26gt; %26lt;start%26gt; %26lt;end%26gt;


This will generate a list of all armstrong numbers between start and end


---------------------------- Source Code ------------------------------


#include%26lt;stdio.h%26gt;


#include%26lt;stdlib.h%26gt;


void main(int argc, char* args[]) {


long arm_beg, arm_end, t1, sum=0,t2;


if (argc!=3) {


printf("Usage: gen_arm %26lt;beg_no%26gt; %26lt;end_no%26gt;");


return;


}





arm_beg= atol(args[1]);


arm_end= atol(args[2]);





if (arm_beg%26lt;=0 || (arm_end%26lt;arm_beg)) {


printf("Invalid arguments");


return;


}


while(arm_beg%26lt;=arm_end){


t1=arm_beg;


sum=0;


while(t1%26gt;=1){


t2=t1%10;


sum+=t2*t2*t2;


t1/=10;


}


if (sum==arm_beg) {


printf("\n%ld",arm_beg);


}


arm_beg++;


}


}


---------------------------- Source Code ------------------------------





Enjoy and all the best.


Need some examples of Tic Tac Toe game in Java source code??

I need help coming up with an if statement that configures a.)no more than one combination of 3 Xs and 3 Os in a row. b.) the relative number of Xs and Os differs by no more than one and c.) with a win, the loser (X or ) doesn't have more squares than the winner (X or ). This is what I have so far.

Need some examples of Tic Tac Toe game in Java source code??
see how the geeks at sun did it!


http://rintintin.colorado.edu/~epperson/...

our song

Someone please give me a traditional file processing database program source code?

This program should be written in C/C++ or JAVA. DATABASE SQL should not be used. Only traditional file processing management system.

Someone please give me a traditional file processing database program source code?
# include %26lt;stdio.h%26gt;


# include %26lt;windows.h%26gt;


# include %26lt;stdlib.h%26gt;


# include %26lt;string.h%26gt;





struct MOVIE


{


char title [20];


char type [20];


int serial;


char actor [20];


char actress [20];


int price;


int stockQuantity;


int onRentQuantity;


};





struct ADDRESS


{


char houseNo [10];


char roadNo [10];


char area [20];


char post [20];


char city [20];


};





struct MYDATE


{


int day;


int month;


int year;


};





struct CUSTOMER


{


char name [20];


int age;


ADDRESS adr;


int rentMovieSerial;


MYDATE dateOfRent;


};





int main (void)


{


MOVIE m;


CUSTOMER c;


int choice, srl;


char actr [20], typ [20], mname [20];


FILE *mfp, *tfp, *rfp;





mfp = fopen ("record.txt", "rb+");





if (mfp == NULL)


{


mfp = fopen ("record.txt", "wb+");





if (mfp == NULL)


{


system ("cls");


printf ("RECORD FILE COULD NOT BE OPEN!\n");


}


}





rfp = fopen ("customer.txt", "rb+");





if (rfp == NULL)


{


rfp = fopen ("customer.txt", "wb+");





if (rfp == NULL)


{


system ("cls");


printf ("CUSTOMER FILE COULD NOT BE OPEN!\n");


}


}





do


{


system ("cls");


printf ("MENU : \n\n");


printf ("1. ADD NEW MOVIE\n");


printf ("2. DELETE MOVIE ONE BY ONE\n");


printf ("3. LET MOVIE BE ON RENT\n");


printf ("4. SHOW ALL MOVIE\n");


printf ("5. SEARCH MOVIE\n");


printf ("6. DELETE ALL MOVIE\n");


printf ("7. MODIFY MOVIE RECORDS\n");


printf ("8. UNRENT MOVIE\n");


printf ("9. SHOW ALL RENT ITEMS\n\n");


printf ("77. SYSTEM RESET\n");


printf ("70. EXIT\n\n");


printf ("ENTER YOUR CHOICE : ");


scanf ("%d", %26amp;choice);





switch (choice)


{


case 1:





do


{


system ("cls");


fflush (stdin);


printf ("ENTER THE TITLE OF THE MOVIE : ");


gets (m.title);


fflush (stdin);


printf ("ENTER THE TYPE OF THE MOVIE : ");


gets (m.type);


fflush (stdin);


printf ("ENTER THE SERIAL NUMBER OF THIS MOVIE : ");


scanf ("%d", %26amp;m.serial);


fflush (stdin);


printf ("ENTER THE NAME OF THE ACTOR : ");


gets (m.actor);


fflush (stdin);


printf ("ENTER THE NAME OF THE ACTRESS : ");


gets (m.actress);


fflush (stdin);


printf ("ENTER THE PRICE OF THIS MOVIE : $");


scanf ("%d", %26amp;m.price);


printf ("ENTER THE NUMBER OF COPIES AVAILABLE IN STOCK : ");


scanf ("%d", %26amp;m.stockQuantity);





m.onRentQuantity = 0;// set to zero by default koz


// initially it cannot be more than 1





fwrite (%26amp;m, sizeof (m), 1, mfp);





printf ("DO U WANNA ADD ANOTHER MOVIE? [1/0] : ");


scanf ("%d", %26amp;choice);


}


while (choice);





break;





case 2:





do


{


system ("cls");


printf ("ENTER THE SERIAL NUMBER OF THE MOVIE : ");


scanf ("%d", %26amp;srl);





rewind (mfp);





tfp = fopen ("temp.txt", "wb+");





if (tfp == NULL)


{


system ("cls");


printf ("DELETION ACCESS IS DENIED!\n");


}





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


{


if (m.serial != srl)


fwrite (%26amp;m, sizeof (m), 1, tfp);


}





fclose (mfp);


fclose (tfp);





remove ("record.txt");


rename ("temp.txt", "record.txt");





mfp = fopen ("record.txt", "rb+");





system ("cls");


printf ("DO U WANNA DELETE ANOTHER MOVIE? [1/0] : ");


scanf ("%d", %26amp;choice);


}


while (choice);





break;





case 3:





do


{


system ("cls");


printf ("ENTER THE SERIAL NUMBER OF THE MOVIE TO RENT : ");


scanf ("%d", %26amp;srl);





rewind (mfp);





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


{


if (m.serial == srl)


{


if (m.stockQuantity %26lt; 1)


{


system ("cls");


printf ("SORRY! ALL %d COPIES ARE ON RENT!\nPRESS ANY KEY...", m.onRentQuantity);


getchar ();


system ("cls");


break;


}


else


{


system ("cls");





tfp = fopen ("temp.txt", "wb+");





rewind (mfp);





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


if (m.serial != srl)


fwrite (%26amp;m, sizeof (m), 1, tfp);


else


{


m.onRentQuantity = m.onRentQuantity + 1;


m.stockQuantity = m.stockQuantity - 1;





fwrite (%26amp;m, sizeof (m), 1, tfp);


}





fclose (tfp);


fclose (mfp);





remove ("record.txt");


rename ("temp.txt", "record.txt");





mfp = fopen ("record.txt", "rb+");





fflush (stdin);


printf ("ENTER THE NAME OF THE CUSTOMER : ");


gets (c.name);


fflush (stdin);


printf ("ENTER THE AGE OF THE CUSTOMER : ");


scanf ("%d", %26amp;c.age);


fflush (stdin);


printf ("ENTER THE ADDRESS : \n");


printf ("1. HOUSE NUMBER : ");


gets (c.adr.houseNo);


fflush (stdin);


printf ("2. ROAD NUMBER : ");


gets (c.adr.roadNo);


fflush (stdin);


printf ("3. AREA : ");


gets (c.adr.area);


fflush (stdin);


printf ("4. POST : ");


gets (c.adr.post);


fflush (stdin);


printf ("5. CITY : ");


gets (c.adr.city);


fflush (stdin);


c.rentMovieSerial = srl;


printf ("ENTER THE DATE OF RENT : \n");


printf ("DAY : ");


scanf ("%d", %26amp;c.dateOfRent.day);


printf ("MONTH : ");


scanf ("%d", %26amp;c.dateOfRent.month);


printf ("YEAR : ");


scanf ("%d", %26amp;c.dateOfRent.year);





fwrite (%26amp;c, sizeof (c), 1, rfp);


break;


}


}


}





printf ("DO U WANT TO TRY RENT AGAIN? [1/0] : ");


scanf ("%d", %26amp;choice);


}


while (choice);





break;





case 4:





do


{


system ("cls");


rewind (mfp);





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


{


printf ("MOVIES ON RECORD ARE AS FOLLOWS : \n\n");


printf ("TITLE : %s\n", m.title);


printf ("TYPE : %s\n", m.type);


printf ("SERIAL # %d\n", m.serial);


printf ("ACTOR NAME : %s\n", m.actor);


printf ("ACTRESS NAME : %s\n", m.actress);


printf ("PRICE : %d\n", m.price);


printf ("ON RENT QUANTITY : %d\n", m.onRentQuantity);


printf ("STOCK QUANTITY : %d\n\n", m.stockQuantity);





fflush (stdin);


printf ("PRESS ANY KEY...");


getchar ();


system ("cls");


}





printf ("DO U WANNA SEE FROM THE TOP AGAIN? [1/0] : ");


scanf ("%d", %26amp;choice);


}


while (choice);





break;





case 5:





do


{


system ("cls");


printf ("SEARCH MENU : \n");


printf ("1. ACTOR/ACTRESS NAME\n");


printf ("2. MOVIE TYPE\n");


printf ("3. MOVIE NAME\n\n");


printf ("ENTER YOUR CHOICE : ");


scanf ("%d", %26amp;choice);





switch (choice)


{


case 1:





system ("cls");


fflush (stdin);


printf ("ENTER THE NAME OF THE ACTOR OR ACTRESS : ");


gets (actr);


fflush (stdin);





rewind (mfp);





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


{


if ((strcmp (actr, m.actor) == 0) || strcmp (actr, m.actress) == 0)


{


system ("cls");


printf ("SEARCH RESULT : \n\n");


printf ("TITLE : %s\n", m.title);


printf ("TYPE : %s\n", m.type);


printf ("SERIAL # %d\n", m.serial);


printf ("ACTOR NAME : %s\n", m.actor);


printf ("ACTRESS NAME : %s\n", m.actress);


printf ("PRICE : %d\n", m.price);


printf ("ON RENT QUANTITY : %d\n", m.onRentQuantity);


printf ("STOCK QUANTITY : %d\n\n", m.stockQuantity);





fflush (stdin);


printf ("PRESS ANY KEY...");


getchar ();


}


}


break;





case 2:





system ("cls");


fflush (stdin);


printf ("ENTER THE TYPE OF THE MOVIE : ");


gets (typ);


fflush (stdin);





rewind (mfp);





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


{


if (strcmp (typ, m.type) == 0)


{


system ("cls");


printf ("SEARCH RESULT : \n\n");


printf ("TITLE : %s\n", m.title);


printf ("TYPE : %s\n", m.type);


printf ("SERIAL # %d\n", m.serial);


printf ("ACTOR NAME : %s\n", m.actor);


printf ("ACTRESS NAME : %s\n", m.actress);


printf ("PRICE : %d\n", m.price);


printf ("ON RENT QUANTITY : %d\n", m.onRentQuantity);


printf ("STOCK QUANTITY : %d\n\n", m.stockQuantity);





fflush (stdin);


printf ("PRESS ANY KEY...");


getchar ();


}


}


break;





case 3:





system ("cls");


fflush (stdin);


printf ("ENTER THE NAME OF THE MOVIE : ");


gets (mname);


fflush (stdin);





rewind (mfp);





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


{


if (strcmp (mname, m.title) == 0)


{


system ("cls");


printf ("SEARCH RESULT : \n\n");


printf ("TITLE : %s\n", m.title);


printf ("TYPE : %s\n", m.type);


printf ("SERIAL # %d\n", m.serial);


printf ("ACTOR NAME : %s\n", m.actor);


printf ("ACTRESS NAME : %s\n", m.actress);


printf ("PRICE : %d\n", m.price);


printf ("ON RENT QUANTITY : %d\n", m.onRentQuantity);


printf ("STOCK QUANTITY : %d\n\n", m.stockQuantity);





fflush (stdin);


printf ("PRESS ANY KEY...");


getchar ();


break;


}


}


break;





default:





system ("cls");


printf ("INVALID SELECTION! PRESS ANY KEY...\n\n");


getchar ();


continue;


}





printf ("DO U WANNA USE THE SEARCH MENU AGAIN? [1/0] : ");


scanf ("%d", %26amp;choice);


}


while (choice);





break;





case 6:





system ("cls");


printf ("ARE U SURE THAT U WANNA DELETE ALL MOVIES? [1/0] : ");


scanf ("%d", %26amp;choice);





if (choice != 0)


{


fclose (mfp);


remove ("record.txt");





mfp = fopen ("record.txt", "wb+");


}





break;





case 7:





do


{


system ("cls");


printf ("ENTER THE SERIAL NUMBER OF THE MOVIE U WANNA MODIFY : ");


scanf ("%d", %26amp;srl);





rewind (mfp);





tfp = fopen ("temp.txt", "wb+");





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


{


if (m.serial == srl)


{


system ("cls");


fflush (stdin);


printf ("ENTER THE TITLE OF THE MOVIE : ");


gets (m.title);


fflush (stdin);


printf ("ENTER THE TYPE OF THE MOVIE : ");


gets (m.type);


fflush (stdin);


printf ("ENTER THE SERIAL NUMBER OF THIS MOVIE : ");


scanf ("%d", %26amp;m.serial);


fflush (stdin);


printf ("ENTER THE NAME OF THE ACTOR : ");


gets (m.actor);


fflush (stdin);


printf ("ENTER THE NAME OF THE ACTRESS : ");


gets (m.actress);


fflush (stdin);


printf ("ENTER THE PRICE OF THIS MOVIE : $");


scanf ("%d", %26amp;m.price);


printf ("ENTER THE NUMBER OF COPIES AVAILABLE IN STOCK : ");


scanf ("%d", %26amp;m.stockQuantity);


printf ("ENTER THE NUMBER OF QUANTITY ON RENT : ");


scanf ("%d", %26amp;m.onRentQuantity);





fwrite (%26amp;m, sizeof (m), 1, tfp);


}


else


fwrite (%26amp;m, sizeof (m), 1, tfp);


}





fclose (tfp);


fclose (mfp);





remove ("record.txt");


rename ("temp.txt", "record.txt");





mfp = fopen ("record.txt", "rb+");





system ("cls");


printf ("DO U WANNA MODIFY ANOTHER RECORD? [1/0] : ");


scanf ("%d", %26amp;choice);


}


while (choice);





break;





case 8:





do


{


system ("cls");


printf ("ENTER THE SERIAL NUMBER THE MOVIE TO UNRENT : ");


scanf ("%d", %26amp;srl);





rewind (mfp);


rewind (rfp);





tfp = fopen ("temp.txt", "wb+");





while (fread (%26amp;m, sizeof (m), 1, mfp) == 1)


{


if (m.serial != srl)


fwrite (%26amp;m, sizeof (m), 1, tfp);


else


{


m.onRentQuantity -= 1;


m.stockQuantity += 1;





fwrite (%26amp;m, sizeof (m), 1, tfp);


}


}





fclose (tfp);


fclose (mfp);





remove ("record.txt");


rename ("temp.txt", "record.txt");





mfp = fopen ("record.txt", "rb+");





while (fread (%26amp;c, sizeof (c), 1, rfp) == 1)


{


if (c.rentMovieSerial == srl)


{


tfp = fopen ("temp.txt", "wb+");





if (tfp == NULL)


{


system ("cls");


printf ("UNRENT ACCESS IS DENIED!\n");


}





while (fread (%26amp;c, sizeof (c), 1, rfp) == 1)


{


if (c.rentMovieSerial != srl)


fwrite (%26amp;c, sizeof (c), 1, tfp);


}





fclose (rfp);


fclose (tfp);





remove ("customer.txt");


rename ("temp.txt", "customer.txt");





rfp = fopen ("customer.txt", "rb+");





break;


}


}





system ("cls");


printf ("DO YOU WANT TO UNRENT AGAIN? [1/0] : ");


scanf ("%d", %26amp;choice);


}


while (choice);


break;





case 9:





do


{


system ("cls");





rewind (rfp);





while (fread (%26amp;c, sizeof (c), 1, rfp) == 1)


{


printf ("CUSTOMER NAME : %s\n", c.name);


printf ("AGE : %d\n", c.age);


printf ("ADDRESS : \n");


printf ("HOUSE # %s\n", c.adr.houseNo);


printf ("ROAD # %s\n", c.adr.roadNo);


printf ("AREA : %s\n", c.adr.area);


printf ("POST : %s\n", c.adr.post);


printf ("CITY : %s\n", c.adr.city);


printf ("DATE OF RENT : %d / %d / %d\n", c.dateOfRent.day, c.dateOfRent.month, c.dateOfRent.year);


printf ("SERIAL NUMBER OF THE RENT MOVIE : %d\n\n", c.rentMovieSerial);





fflush (stdin);


printf ("PRESS ANY KEY...");


getchar ();


system ("cls");


}





printf ("DO U WANNA SEE THE RENT ITEMS FROM THE TOP? [1/0] : ");


scanf ("%d", %26amp;choice);


}


while (choice);





break;





case 77:





system ("cls");


printf ("ARE U SURE THAT U WANNA RESET THE SYSTEM? [1/0] : ");


scanf ("%d", %26amp;choice);





if (choice == 1)


{


fclose (mfp);


fclose (rfp);





remove ("record.txt");


remove ("customer.txt");





mfp = fopen ("record.txt", "wb+");


rfp = fopen ("customer.txt", "wb+");


}





break;





case 70:





system ("cls");


printf ("ARE YOU SURE THAT YOU WANNA EXIT ? [1/0] : ");


scanf ("%d", %26amp;choice);





if (choice == 1)


{


fclose (mfp);


fclose (rfp);


exit (1);


}





continue;





default:





system ("cls");


fflush (stdin);


printf ("YOU HAVE ENTERED INVALID CHOICE!!! PRESS ANY KEY...\n\n");


getchar ();


continue;


}





system ("cls");


}


while (1);





return 0;


}


The publisher cannot be verified by a trusted source, code will be treated ad unsigned.?

I've tried to do option 1 but to no avail, how do I do option #2 or does someone know another solution to this? I have the latest version o Java.





Error_loader_nocache - Unable to create cache directory.


Runescape was unable to find a suitable place to store its temporary files. To solve this please either:





# Login to your computer as an 'administator' user, and then try loading RuneScape again. This should give it sufficient access to create its temporary cache.





# Or, create a new directory called c:/rscache or /rscache. If possible, set that directory to have full read+write permissions so that all users can write to it. Runescape should then detect that directory and use it for its files.





# If you are unable to do either of the above, then as a last resort you can tell RuneScape not to store any files on the harddisk. When entering the site and choosing between high-detail/low-detail also select 'Unsigned Applet Using Default Java' from the dropdown scroll at the bottom of the detail select page. You will need to do this everytime you load the game. The disadvantage of this is

The publisher cannot be verified by a trusted source, code will be treated ad unsigned.?
If you're a kid, get your parents to log in to their account and then play runescape.





If that doesn't work, the last option will work but RuneScape will lag like a *****.


The publisher cannot be verified by a trusted source, code will be treated ad unsigned.?

I've tried to do option 1 but to no avail, how do I do option #2 or does someone know another solution to this? I have the latest version o Java.





Error_loader_nocache - Unable to create cache directory.


Runescape was unable to find a suitable place to store its temporary files. To solve this please either:





# Login to your computer as an 'administator' user, and then try loading RuneScape again. This should give it sufficient access to create its temporary cache.





# Or, create a new directory called c:/rscache or /rscache. If possible, set that directory to have full read+write permissions so that all users can write to it. Runescape should then detect that directory and use it for its files.





# If you are unable to do either of the above, then as a last resort you can tell RuneScape not to store any files on the harddisk. When entering the site and choosing between high-detail/low-detail also select 'Unsigned Applet Using Default Java' from the dropdown scroll at the bottom of the detail select page. You will need to do this everytime you load the game. The disadvantage of this is

The publisher cannot be verified by a trusted source, code will be treated ad unsigned.?
Option 2 basically is telling you to create a new folder called rscache in your C: drive. After you have created the folder, right click and choose Properties. Make sure that the Read Only option is NOT checked.


I want to know whether how is a source code in notepad can be converted to be executable?

i ve to make a program to be executable which has been written in c and the coding available to me is in notepad

I want to know whether how is a source code in notepad can be converted to be executable?
You need to run it through a program called a compiler.





I recommend using Visual C++ 2008 Express Edition to open up the notepad-like documents (should have a .c extention rather than a .txt)


http://www.microsoft.com/express/vc/





Then you can run them through the compiler using F5.














Or you can use Cygwin to compile notepad documents with the GCC compiler


http://www.cygwin.com/








Or any of these if you don't like using the two biggest and most popular ones around:


http://www.bloodshed.net/devcpp.html


http://www.cs.virginia.edu/~lcc-win32/


http://www.thefreecountry.com/compilers/...
Reply:Free C/C++ Compilers





http://www.thefreecountry.com/compilers/...
Reply:you need a c compiler. There are free ones out on the internet.

flower pots

Pls tell me where can i find a source code for text editor?

i need it in c language. pls help. its urgent . which website must i refer to.

Pls tell me where can i find a source code for text editor?
the best site to get source codes.... http://www.codeprojects.com


Hi can any one here have the source code for seperation of tokens for compilers?

it can be in any language preferably c .i need it plzzzzz help me in doing this

Hi can any one here have the source code for seperation of tokens for compilers?
Lex, Yacc and Bison are all open source. Why don't you look at those?


I want to find a source code of lexical analysis/parsing. What should i do?

input file


1:) A = 4


2:) B = 7


3:) C = A + B


4:) D = 123


5:) F = 2FZ + 1


6:) M =








output file


Line 1: Col:1 Type: Id Symbol:A


Line 1: Col:3 Type: Op Symbol:=


Line 1: Col:5 Type: Num Symbol:10


Line 1: Col:6 Type: Eol Symbol:\n


Line 5: Col:5 Type: Err Symbol:2FZ

I want to find a source code of lexical analysis/parsing. What should i do?
Look for a .y or .lex file. They were probably used to generate the parser. Lex and yacc are used to create a .c file that is then compiled.


Where can I find Win32 source code for graphics filters?

using straight "c" compiler

Where can I find Win32 source code for graphics filters?
Check on microsofts site

flower beds

C# please help me!!! 10 points?

hello everybody.


I whant to create a new folder on a pc by C# programming code.


Do you now some C# sources o tutorial for do it?


Thanks!!!





I'm sorry, but I'm not american, and I don't speak English very well.


Do you understand my English???





Bye

C# please help me!!! 10 points?
Hi


Use the following C# code to create the Directory:





System.IO.Directory. CreateDirectory ( Application.StartupPath + "\\myDir" );





Or





if (!System.IO.Directory.Exists ( "C:\\myDir" ))


{


System.IO.Directory. CreateDirectory ( "C:\\myDir" );


}


else


{


MessageBox.Show( "Directory Already Exists!!!", "Directory Info", MessageBoxButtons.OKCancel , MessageBoxIcon.Information );


}





Gud Luck :-)
Reply:I'm sorry, I don't understand by what you mean by "creating a 'new folder' on a pc by C# programming code." But if im correct on what u mean, M. (The person above me) is correct.


However these are some good tutorials if you're just a beginner.





CSharp Station


http://www.csharp-station.com/Tutorial.a...





Programming Tutorials - C#


http://www.programmingtutorials.com/csha...





Functionx - CSharp Practical Learning


http://www.functionx.com/csharp/





Also, if this is your first programming language, I suggest to learn something less complicated such as Visual Basic or maybe even Delphi.





~Jack
Reply:Look at System.IO.Directory.CreateDirectory


Please give me a source code of hashing algorithms!!?

pleas its our project..sure that it can be run using turbo c++ please i reaally really need help

Please give me a source code of hashing algorithms!!?
Try


http://everything2.com/index.pl?node=has...
Reply:i could help you out. come online on yahoo messenger. ramnarayan_sg is my id.


Any simple sample source code to program sumo robot?

i am new to robot .Now my project is to program a sumo robot with four line sensors and four opponent sensors, using c programming language with pic 18f452.My problem is that line sensors and object sensors are read in by sepearate routines and cannot be read together.how can i do that?

Any simple sample source code to program sumo robot?
I am not sure exactly what you mean by your problem -- that the instructor requires you to read these inputs with seperate routines, or that the hardware is preventing you from reading them with one routine.





If the instructor wants you to read the sensors using different routines but all of the sensor output bits are on a single port, all you need to do is have two different routines which each read the port and mask some of the bits off using the logical AND function.





If the problem is that you want a single routine to read the values from different ports, I would have one routine which reads the line sensors, and have that routine called from within the routine that reads the opponent sensors. The opponent-sensor routine first checks for lines by calling the line-sensor routine, stores the results, then checks the opponent-sensors, and finally combines the line-sensor results with the opponent-sensor results before returning the function value.





Here is a page with some C routines for a PIC based sumo robot, this might help:


http://coledd.com/electronics/pic/code/





This page also has some C source code for reading object sensors (such as would be used to sense the oponent) on a PIC:


http://www.picant.com/c2c/examples.html


Near the end you will see links for "Delta Force Mini Sumo Robot" and "Line Follower Robot" by 56krf@wa4dsy.net, these may be very helpful to you.


How do i package my source code into a software using a java enviroment?

well if you could also get me answers on how to do it using c++ and c programming languages

How do i package my source code into a software using a java enviroment?
Are you asking how to compile? I wouldn't know about Java, but for C/C++ search the internet for a compiler called gcc, and search the internet for tutorials on compiling. There are plenty of sites with this information on, it seems daft repeating it here!





Rawlyn.
Reply:http://java.sun.com/docs/books/tutorial/...


please visit these link so that u can clarify ur doubt go a head ...

wedding flowers

In which language is the source code of windows written?

computer languages like c or c++

In which language is the source code of windows written?
Actually all the answer you got so far are wrong it is Html /xhtml and Javascript





%26lt;script type="text/javascript"


%26lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en"%26gt;


%26lt;head%26gt;
Reply:C language
Reply:Should be Visual C++
Reply:may be c %26amp; c++
Reply:Can't be Visual C, you need windows to run it!





C++


I need source code for "Budget Approval System" project in java, please?

Abstract of the project





This project is aimed at developing a system by which the employees in the organization submit the bills to their managers. The bills could of various types and also of various amounts. The employee after submitting the bill will automatically provide the manager’s name to which the bill will be submitted. The bill will pass through a workflow process and the owner of the bill can view the status of the bill at any time. An email will be sent to the concerned people to let them know about the status of the bill.





Specific Technology keywords:





MS ACCESS/ORACLE, Java/C++, Apache(or any webserver), jsp, HTML

I need source code for "Budget Approval System" project in java, please?
Can you be more specific with your request? Are you looking for a piece of software that can perform your enumerated tasks and that is written in Java, or are you trying to look up for pieces of advice on how to start up one project whose goal is what you described?

paid survey

Wolfenstein 3d Source code tutorials?

for just someone who knows C. plus plus

Wolfenstein 3d Source code tutorials?
http://verdammt.ionichost.com/sct.php


Simple C++ source file and function problem?

I'm trying to create a simple program that prints the word "Hello" to the console. However, I want the program to use two different functions, the first being the main and the second being a void function that prints the word to the console. When I try to compile, it tells me there is an error at second2.h on the line that tries to print to the console (the line with cout). I was wondering what I did wrong.


Here is the code from main.cpp:


--------------------------------------...


include %26lt;cstdlib%26gt;


#include %26lt;iostream%26gt;


#include "second2.h"


using namespace std;





void sayHello();


int main(int argc, char *argv[])


{


sayHello();


system("PAUSE");


return EXIT_SUCCESS;


}


--------------------------------------...


the code from second2.h:


--------------------------------------...


#include %26lt;cstdlib%26gt;


#include %26lt;iostream%26gt;


void sayHello()


{


cout %26lt;%26lt; "Hello" %26lt;%26lt; endl;


}


--------------------------------------...





Thanks.

Simple C++ source file and function problem?
Just a guess:





Try moving the using namespace std; before the #include "second2.h", which, as someone else has pointed out, shouldn't include the sayHello() function definition, just its declaration.





I'm thinking your compiler requires the namespace be already pulled in for cout, which, as your code is currently configured, it isn't when sayHello() is compiled.





Good luck.





By the way, any compiler that just says there's an error on line such-and-such without giving any details should be evicted from your machine..
Reply:It cant compile, first line should be #include... and not include...


you should not declare sayHello in the cpp file it is already included in second2.h


I hope EXIT_SUCCESS is defined I don't use this macro.
Reply:You do have a compiler issue (your exact program compiles with Borland for example with the extra # for include first line) but you should be able to compile this with more rigid code.





Function declarations should be in header files so that other .c files can see them without explicitly extern-ing them.





Function definitions should always be in .c files.





That will suit all compilers.





So second2.h should just have





extern void sayHello();





Ths means there is a single place where the function is extern-ed and made available to other files.





Your main file





void sayHello()


{


cout %26lt;%26lt; "Hello" %26lt;%26lt; endl;


}





int main(int argc, char *argv[])


{


sayHello();


system("PAUSE");


return EXIT_SUCCESS;


}





If no other file requires the sayHello function then it ought to be declared as static in the same file as the function definition.
Reply:--- main.cpp ---


#include %26lt;iostream%26gt;


#include "2nd.h"


int main()


{


hello();


system("PAUSE");


}





--- 2nd.h ---


#include %26lt;iostream%26gt;


using namespace std;


void hello()


{


cout %26lt;%26lt; "Hello World!\n";


}


I need the SOURCE CODE for CTRL+ALT+DEL?

windows or dos environment


langunage: preferably C/C++

I need the SOURCE CODE for CTRL+ALT+DEL?
What are you talking about?????????????????
Reply:The ExitWindowsEx function either logs off the current user, shuts down the system, or shuts down and restarts the system. It sends the WM_QUERYENDSESSION message to all applications to determine if they can be terminated.





BOOL ExitWindowsEx(


UINT uFlags, // shutdown operation


DWORD dwReserved // reserved


);





Parameters


uFlags


Specifies the type of shutdown. This parameter must include one of the following values: Value Meaning


EWX_LOGOFF Shuts down all processes running in the security context of the process that called the ExitWindowsEx function. Then it logs the user off.


EWX_POWEROFF Shuts down the system and turns off the power. The system must support the power-off feature.


Windows NT: The calling process must have the SE_SHUTDOWN_NAME privilege. For more information, see the following Remarks section.





EWX_REBOOT Shuts down the system and then restarts the system.


Windows NT: The calling process must have the SE_SHUTDOWN_NAME privilege. For more information, see the following Remarks section.





EWX_SHUTDOWN Shuts down the system to a point at which it is safe to turn off the power. All file buffers have been flushed to disk, and all running processes have stopped.


Windows NT: The calling process must have the SE_SHUTDOWN_NAME privilege. For more information, see the following Remarks section.











This parameter can optionally include the following values: Value Meaning


EWX_FORCE Forces processes to terminate. When this flag is set, the system does not send the WM_QUERYENDSESSION and WM_ENDSESSION messages. This can cause the applications to lose data. Therefore, you should only use this flag in an emergency.


EWX_FORCEIFHUNG Windows NT 5.0 and later: Forces processes to terminate if they do not respond to the WM_QUERYENDSESSION or WM_ENDSESSION message. This flag is ignored if EWX_FORCE is used.











dwReserved


Reserved; this parameter is ignored.
Reply:thats not a question. doens anybody ahve the source code for ctrl alt dle? would be a question. and to answer that question that i jsut asked, it would be no.


Source code help?

hey friends........i need some good but small java or c++ programs for an inter school national level contest.............help is immediately needed...................if u cud cover some mathemattical and environmental topics in the programs..........i'll b highly greatful to u!!

Source code help?
This is supposed to be so people can help you with a problem, not making something for you so you can turn it in. Come up with an idea and do the work yourself. Come back if you have a specific problem.
Reply:A contest like this is supposed to judge how YOU can program--not how well you can repackage other people's work. You would be thrown out of the competition if it was discovered that you used someone else's program--just like you would be fired if you did so on the job.
Reply:You're asking someone to write a program so you can turn it in? wtf?! shame shame....
Reply:Sure, I can do you some C++. How much are you willing to pay? Do I get the credit in the contest?

customer survey

Youtube "source" code. Any nerds see anything here to explain the problems there? Can't fit the whole code

%26lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-1...








%26lt;html%26gt;





%26lt;!-- machid: 95 --%26gt;


%26lt;head%26gt;





%26lt;title%26gt;YouTube - Broadcast Yourself.%26lt;/title%26gt;





%26lt;link rel="stylesheet" href="http://static.youtube.com/yt/css/b... type="text/css"%26gt;


%26lt;!--[if IE]%26gt;


%26lt;style%26gt;


.addtoQL90 {


margin-top: -27px;


}


%26lt;/style%26gt;


%26lt;![endif]--%26gt;


%26lt;link rel="search" type="application/opensearchdescription+... href="/opensearch?locale=en_US" title="YouTube Video Search"%26gt;


%26lt;style type="text/css"%26gt;


#ticker {


background-color: #eee;


width: 100%;


}


#ticker .container {


margin-left: 33%;


overflow: auto;


height: 32px;


}


#ticker img {


display: block;


float: left;


background: transparent url(/img/master.gif) no-repeat scroll -488px -23px;


margin-right: 5px;


}


#ticker h1 {


float: left;


display: block;


font-size: 12px;


font-weight: bold;


line-height: auto;


margin: 8px 0;


}


%26lt;/style%26gt;


%26lt;link rel="icon" href="http://static.youtube.com/yt/favic... type="image/x-icon"%26gt;


%26lt;link rel="shortcut icon" href="http://static.youtube.com/yt/favic... type="image/x-icon"%26gt;








%26lt;meta name="description" content="Share your videos with friends and family"%26gt;


%26lt;meta name="keywords" content="video,sharing,camera phone,video phone"%26gt;





%26lt;link rel="alternate" type="application/rss+xml" title="YouTube - [RSS]" href="/rssls"%26gt;





%26lt;script type="text/javascript" src="http://static.youtube.com/yt/js/bas...








%26lt;script type="text/javascript"%26gt;


var quicklist_count=0;





function _hbLink (a,b) { return false; }








%26lt;/script%26gt;








%26lt;script type="text/javascript" src="http://static.youtube.com/yt/js/vid...





%26lt;script type="text/javascript"%26gt;





function swapVideoList(linkObj)


{


var linkId = linkObj.id;


var queryData = '';


var newDivId = '';


var headlineObj = document.getElementById('hpVideoListHead...


var moreLinkObj = document.getElementById('hpFeaturedMoreT...


var bottomMoreLinkObj = document.getElementById('hpFeaturedMoreB...


if (document.getElementById('hpEditorContai...


{


var editorObj = document.getElementById('hpEditorContain...


}


if (linkId == 'hpMostViewedLink') {


queryData = 'videoListType=mostViewed';


newDivId = 'hpMostViewed';


headlineObj.innerHTML = "Most Viewed Videos";


moreLinkObj.innerHTML = "%26lt;a href=\"/browse?s=mp\"%26gt;See More Most Viewed Videos%26lt;/a%26gt;";


bottomMoreLinkObj.innerHTML = "%26lt;a href=\"/browse?s=mp\"%26gt;See More Most Viewed Videos%26lt;/a%26gt;";


}


else if (linkId == 'hpMostDiscussedLink') {


queryData = 'videoListType=mostDiscussed';


newDivId = 'hpMostDiscussed';


headlineObj.innerHTML = "Most Discussed Videos";


moreLinkObj.innerHTML = "%26lt;a href=\"/browse?s=md\"%26gt;See More Most Discussed Videos%26lt;/a%26gt;";


bottomMoreLinkObj.innerHTML = "%26lt;a href=\"/browse?s=md\"%26gt;See More Most Discussed Videos%26lt;/a%26gt;";


}


else if (linkId == 'hpTopFavoritesLink') {


queryData = 'videoListType=topFavorites';


newDivId = 'hpTopFavorites';


headlineObj.innerHTML = "Top Favorites";


moreLinkObj.innerHTML = "%26lt;a href=\"/browse?s=mf\"%26gt;See More Top Favorites%26lt;/a%26gt;";


bottomMoreLinkObj.innerHTML = "%26lt;a href=\"/browse?s=mf\"%26gt;See More Top Favorites%26lt;/a%26gt;";


}


else if (linkId == 'hpFeaturedLink') {


if (document.getElementById('hpEditorContai... editorObj.style.visibility = 'visible';


newDivId = 'hpFeatured';


headlineObj.innerHTML = "Featured Videos";


moreLinkObj.innerHTML = "%26lt;a href=\"/browse?s=rf\"%26gt;See More Featured Videos%26lt;/a%26gt;";


bottomMoreLinkObj.innerHTML = "%26lt;a href=\"/browse?s=rf\"%26gt;See More Featured Videos%26lt;/a%26gt;";


}


self.containerDiv = 'hpVideoList'


self.fillDiv = fillDiv


self.linkId = linkId


self.newDivId = newDivId


document.getElementById(newDivId + 'Tab').className = 'hilite';


if (newDivId != 'hpMostViewed') {


document.getElementById('hpMostViewe... = '';


}


if (newDivId != 'hpMostDiscussed') {


document.getElementById('hpMostDiscu... = '';


}


if (newDivId != 'hpTopFavorites') {


document.getElementById('hpTopFavori... = '';


}


if (newDivId != 'hpFeatured') {


document.getElementById('hpFeaturedT... = '';


if (document.getElementById('hpEditorContai... editorObj.style.visibility = 'hidden';


}


if (document.getElementById(newDivId))


{


document.getElementById(newDivId).st... = 'block';


if (newDivId != 'hpMostViewed' %26amp;%26amp; document.getElementById('hpMostViewed')) document.getElementById('hpMostViewed').... = 'none';


if (newDivId != 'hpMostDiscussed' %26amp;%26amp; document.getElementById('hpMostDiscussed... document.getElementById('hpMostDiscussed... = 'none';


if (newDivId != 'hpTopFavorites' %26amp;%26amp; document.getElementById('hpTopFavorites'... document.getElementById('hpTopFavorites'... = 'none';


if (newDivId != 'hpFeatured' %26amp;%26amp; document.getElementById('hpFeatured')) document.getElementById('hpFeatured').st... = 'none';


}


else if (queryData != '') {


postUrlXMLResponse('/ajax_video_list...


}


}


function fillDiv(req)


{


if (document.getElementById('hpMostViewed')... document.getElementById('hpMostViewed').... = 'none';


if (document.getElementById('hpMostDiscusse... document.getElementById('hpMostDiscussed... = 'none';


if (document.getElementById('hpTopFavorites... document.getElementById('hpTopFavorites'... = 'none';


if (document.getElementById('hpFeatured')) document.getElementById('hpFeatured').st... = 'none';


var newContent = getNodeValue(req.responseXML, "html_content");


var newdiv = document.createElement('div');


newdiv.setAttribute("id",self.newDivI...


newdiv.innerHTML = newContent;


var container = document.getElementById(self.containerDi...


container.appendChild(newdiv);


}





function hide_active_sharing() {


hideDiv("active_sharing_div");


}


%26lt;/script%26gt;





%26lt;/head%26gt;








%26lt;body onLoad="performOnLoadFunctions();"%26gt;


%26lt;div id="baseDiv"%26gt;


%26lt;div id="masthead"%26gt;


%26lt;a href="/" class="logo"%26gt;%26lt;img src="http://static.youtube.com/yt/img/pi... width="132" height="46" border="0" alt=""/%26gt;%26lt;/a%26gt;


%26lt;div class="user-info"%26gt;


%26lt;div id="loginBoxZ" class="loginBoxZStd"%26gt;


%26lt;div class="contentBox" style="padding: 6px; border: 1px solid #CCC;"%26gt;


%26lt;div%26gt;


%26lt;div class="floatR"%26gt;%26lt;span class="smallText"%26gt;%26lt;b%26gt;%26lt;a href="/signup"%26gt;Sign Up%26lt;/a%26gt; | %26lt;a href="http://www.google.com/support/yout...


%26lt;div class="floatL"%26gt;


%26lt;span class="headerTitle hpBlockHeadingGray"%26gt; Login %26lt;/span%26gt;


%26lt;/div%26gt;


%26lt;div class="clear"%26gt;%26lt;/div%26gt;


%26lt;/div%26gt;





%26lt;form method="post" name="loginForm" id="loginFormZ" action="/signup"%26gt;


%26lt;input id="loginNextZ" name="next" type="hidden" value="" /%26gt;


%26lt;input type="hidden" name="current_form" value="loginForm" /%26gt;


%26lt;input type="hidden" name="action_login" value="1"%26gt;


%26lt;table width="270"%26gt;


%26lt;tr%26gt;


%26lt;td align="right"%26gt;%26lt;label for="loginUserZ"%26gt;%26lt;span class="smallText"%26gt;%26lt;b%26gt;Username:%26lt;/b%26gt;%26lt;/span...


%26lt;td%26gt;%26lt;input id="loginUserZ" class="smallText" type="text" size="16" name="username" value=""%26gt;%26lt;/td%26gt;


%26lt;/tr%26gt;


%26lt;tr%26gt;


%26lt;td align="right"%26gt;%26lt;label for="loginPassZ"%26gt;%26lt;span class="smallText"%26gt;%26lt;b%26gt;Password:%26lt;/b%26gt;%26lt;/span...


%26lt;td%26gt;%26lt;input id="loginPassZ" class="smallText" type="password" size="16" name="password"%26gt;%26lt;/td%26gt;


%26lt;/tr%26gt;


%26lt;tr%26gt;


%26lt;td%26gt;%26lt;/td%26gt;


%26lt;td%26gt;


%26lt;span%26gt;%26lt;input type="submit" class="smallText" value="Login"%26gt;%26lt;/span%26gt;


%26lt;/td%26gt;


%26lt;/tr%26gt;


%26lt;/table%26gt;


%26lt;/form%26gt;


%26lt;div class="hpLoginForgot smallText"%26gt;


%26lt;p align="center" class="marT0 marB0"%26gt;%26lt;a href="/forgot_username?next=/"%26gt;Forgot Username%26lt;/a%26gt; | %26lt;wbr%26gt;%26lt;nobr%26gt;%26lt;a href="/forgot?next=/"%26gt;Forgot Password%26lt;/a%26gt;%26lt;/nobr%26gt;%26lt;/p%26gt;


%26lt;/div%26gt;


%26lt;div style="border-bottom: 1px dotted #999; margin-bottom: 5px; margin-top: 5px;" class="bottomBorderDotted"%26gt;%26lt;/div%26gt;


%26lt;div class="alignC"%26gt;%26lt;span class="smallText"%26gt;%26lt;b%26gt;%26lt;a href="https://www.google.com/accounts/Se... with your Google account%26lt;/a%26gt;  %26lt;a href="#" onClick="window.open('/t/help_gaia','log... rel="nofollow"%26gt;%26lt;img src="http://static.youtube.com/yt/img/pi... border="0" class="alignMid gaiaHelpBtn" alt=""%26gt;%26lt;/a%26gt;%26lt;/b%26gt;%26lt;/span%26gt;%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;





%26lt;div id="localePickerBox"%26gt;


%26lt;div id="flagDiv"%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('en_AU'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_en_AU" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="en_AU"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_en_AU" onclick="selectLocale('en_AU'); return false;" class="localePickerTitle"%26gt;Australia%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('pt_BR'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_pt_BR" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="pt_BR"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_pt_BR" onclick="selectLocale('pt_BR'); return false;" class="localePickerTitle"%26gt;Brazil%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('en_CA'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_en_CA" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="en_CA"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_en_CA" onclick="selectLocale('en_CA'); return false;" class="localePickerTitle"%26gt;Canada%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('fr_FR'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_fr_FR" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="fr_FR"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_fr_FR" onclick="selectLocale('fr_FR'); return false;" class="localePickerTitle"%26gt;France%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('de_DE'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_de_DE" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="de_DE"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_de_DE" onclick="selectLocale('de_DE'); return false;" class="localePickerTitle"%26gt;Germany%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('en_US'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_en_US" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="en_US"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_en_US" onclick="selectLocale('en_US'); return false;" class="localePickerTitle"%26gt;Global%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('zh_HK'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_zh_HK" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="zh_HK"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_zh_HK" onclick="selectLocale('zh_HK'); return false;" class="localePickerTitle"%26gt;Hong Kong%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('en_IE'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_en_IE" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="en_IE"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_en_IE" onclick="selectLocale('en_IE'); return false;" class="localePickerTitle"%26gt;Ireland%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('it_IT'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_it_IT" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="it_IT"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_it_IT" onclick="selectLocale('it_IT'); return false;" class="localePickerTitle"%26gt;Italy%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('ja_JP'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_ja_JP" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="ja_JP"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_ja_JP" onclick="selectLocale('ja_JP'); return false;" class="localePickerTitle"%26gt;Japan%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('es_MX'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_es_MX" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="es_MX"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_es_MX" onclick="selectLocale('es_MX'); return false;" class="localePickerTitle"%26gt;Mexico%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('nl_NL'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_nl_NL" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="nl_NL"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_nl_NL" onclick="selectLocale('nl_NL'); return false;" class="localePickerTitle"%26gt;Netherlands%26lt;/a...


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('en_NZ'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_en_NZ" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="en_NZ"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_en_NZ" onclick="selectLocale('en_NZ'); return false;" class="localePickerTitle"%26gt;New Zealand%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('pl_PL'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_pl_PL" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="pl_PL"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_pl_PL" onclick="selectLocale('pl_PL'); return false;" class="localePickerTitle"%26gt;Poland%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('ru_RU'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_ru_RU" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="ru_RU"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_ru_RU" onclick="selectLocale('ru_RU'); return false;" class="localePickerTitle"%26gt;Russia%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('es_ES'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_es_ES" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="es_ES"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_es_ES" onclick="selectLocale('es_ES'); return false;" class="localePickerTitle"%26gt;Spain%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('zh_TW'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_zh_TW" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="zh_TW"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_zh_TW" onclick="selectLocale('zh_TW'); return false;" class="localePickerTitle"%26gt;Taiwan%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="flagDiv"%26gt;


%26lt;a href="#" onclick="selectLocale('en_GB'); return false;" class="localePickerFlagLink"%26gt;%26lt;img id="flag_en_GB" src="http://static.youtube.com/yt/img/pi... width="17" height="11" class="currentFlag" alt="" locale="en_GB"%26gt;%26lt;/a%26gt; %26lt;a href="#" id="countryDiv_en_GB" onclick="selectLocale('en_GB'); return false;" class="localePickerTitle"%26gt;United Kingdom%26lt;/a%26gt;


%26lt;/div%26gt;








%26lt;div class="alignR smallText"%26gt;%26lt;a href="#" onclick="closeLocalePicker(); return false;"%26gt;Close%26lt;/a%26gt;%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;











%26lt;span class="info-section first"%26gt;%26lt;b%26gt;%26lt;a href="/signup" onclick="_hbLink('SignUp','UtilityLinks'... Up%26lt;/a%26gt;%26lt;/b%26gt;%26lt;/span%26gt;


%26lt;span class="info-section"%26gt;%26lt;a href="/my_account"%26gt;Account%26lt;/a%26gt;%26lt;/span%26gt;


%26lt;span class="info-section"%26gt;%26lt;a href="/recently_watched" onclick="_hbLink('ViewingHistory','Utili...


%26lt;span class="info-section"%26gt;%26lt;a href="http://www.google.com/support/yout...


%26lt;span class="info-section"%26gt;%26lt;a href="#" class="loginBoxZ eLink" onclick="_gel('loginNextZ').value = '/'; openLoginBox(); return false"%26gt;Log In%26lt;/a%26gt;%26lt;/span%26gt;





%26lt;span class="info-section"%26gt;%26lt;a href="#" class="localePickerLink eLink" onclick="window.parent.loadFlagImgs();wi... false;"%26gt;Site:%26lt;/a%26gt;%26lt;a href="#" class="localePickerLink" onclick="window.parent.loadFlagImgs();wi... false;"%26gt;%26lt;img src="http://static.youtube.com/yt/img/pi... class="currentFlag globalFlag" alt="Site:"%26gt;%26lt;/a%26gt;%26lt;/span%26gt;





%26lt;form name="logoutForm" method="post" target="_top" action="/index"%26gt;


%26lt;input type="hidden" name="action_logout" value="1"%26gt;


%26lt;/form%26gt;





%26lt;/div%26gt;


%26lt;div class="nav"%26gt;


%26lt;div class="nav-item first selected" id="nav-item-home"%26gt;


%26lt;span class="leftcap"%26gt;%26lt;/span%26gt;


%26lt;a class="content" href="/"%26gt;Home%26lt;/a%26gt;


%26lt;span class="rightcap"%26gt;%26lt;/span%26gt;


%26lt;/div%26gt;


%26lt;div class="nav-item" id="nav-item-videos"%26gt;


%26lt;div class="nav-tab"%26gt;


%26lt;span class="leftcap"%26gt;%26lt;/span%26gt;


%26lt;a class="content" href="/browse?s=mp"%26gt;Videos%26lt;/a%26gt;


%26lt;span class="rightcap"%26gt;%26lt;/span%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;div class="nav-item" id="nav-item-channels"%26gt;


%26lt;div class="nav-tab"%26gt;


%26lt;span class="leftcap"%26gt;%26lt;/span%26gt;


%26lt;a class="content" href="/members"%26gt;Channels%26lt;/a%26gt;


%26lt;span class="rightcap"%26gt;%26lt;/span%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;div class="nav-item" id="nav-item-community"%26gt;


%26lt;div class="nav-tab"%26gt;


%26lt;span class="leftcap"%26gt;%26lt;/span%26gt;


%26lt;a class="content" href="/community"%26gt;Community%26lt;/a%26gt;


%26lt;span class="rightcap"%26gt;%26lt;/span%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;div class="bar"%26gt;


%26lt;span class="leftcap"%26gt;%26lt;/span%26gt;


%26lt;div class="search-bar"%26gt;


%26lt;a href="/my_videos_upload" class="upload-button"%26gt;


%26lt;span class="leftcap"%26gt;%26lt;/span%26gt;


%26lt;span class="uploadtext"%26gt;Upload%26lt;/span%26gt;


%26lt;span class="rightcap"%26gt;%26lt;/span%26gt;


%26lt;/a%26gt;


%26lt;form id="search-form" action="/results" method="get" name="searchForm"%26gt;


%26lt;input id="search-term" name="search_query" type="text" value="" maxlength="128" tabindex="10000" /%26gt;


%26lt;input id="search-button" name="search" type="submit" value="Search" /%26gt;


%26lt;/form%26gt;


%26lt;/div%26gt;


%26lt;span class="rightcap"%26gt;%26lt;/span%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;























%26lt;div id="hpMainContent"%26gt;


%26lt;div%26gt;


%26lt;div id="active_sharing_div" name="active_sharing_div" style="display:block"%26gt;%26lt;/div%26gt;


%26lt;script type="text/javascript"%26gt;


// %26lt;![CDATA[


var fo = new SWFObject("active_sharing.swf", "active_sharing", "550", "115", 7, "#FFFFFF");


var showstr = "Videos being watched right now...";


fo.addParam('wmode', 'opaque');


fo.addVariable("t", showstr);


fo.write("active_sharing_div");


// ]]%26gt;


%26lt;/script%26gt;


%26lt;/div%26gt;





%26lt;div class="hpContentBlock" style="margin-left:18px; border:0px #CCC solid;"%26gt;


%26lt;div class="hpBlockHeading hpBlockHeadingGray"%26gt;Promoted Videos%26lt;/div%26gt;


%26lt;div%26gt;


%26lt;div class="hpSVidEntry marB0"%26gt;


%26lt;div class="videoIconWrapperOuter"%26gt;


%26lt;div class="videoIconWrapperInner"%26gt;


%26lt;div class="vstill"%26gt;%26lt;a href="/cthru?q7MdHczDYtjVh6AMgqefLXCjO3F... name="%26amp;lid=DV+-+CoupleOrTroubleEp0123+-+... src="http://img.youtube.com/vi/JFgBfnPg4... class="vimg120"%26gt;%26lt;/a%26gt;%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;





%26lt;div class="vtitle smallText"%26gt;


%26lt;a href="/cthru?q7MdHczDYtjVh6AMgqefLXCjO3F... name="%26amp;lid=DV+-+CoupleOrTroubleEp0123+-+... Or Trouble E...%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="vfacets" style="margin-bottom: 0px;"%26gt;


%26lt;a href="/profile?user=imxamerica" class="dg"%26gt;imxamerica%26lt;/a%26gt;





%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;div class="hpSVidEntry marB0"%26gt;


%26lt;div class="videoIconWrapperOuter"%26gt;


%26lt;div class="videoIconWrapperInner"%26gt;


%26lt;div class="vstill"%26gt;%26lt;a href="/cthru?o5Bae_32CrzvKNWfoGiadaQnqCa... name="%26amp;lid=DV+-+RadioheadScotchMist+-+ra... src="http://img.youtube.com/vi/ukythkK4E... class="vimg120"%26gt;%26lt;/a%26gt;%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;





%26lt;div class="vtitle smallText"%26gt;


%26lt;a href="/cthru?o5Bae_32CrzvKNWfoGiadaQnqCa... name="%26amp;lid=DV+-+RadioheadScotchMist+-+ra... - Scotch ...%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="vfacets" style="margin-bottom: 0px;"%26gt;


%26lt;a href="/profile?user=radiohead" class="dg"%26gt;radiohead%26lt;/a%26gt;





%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;div class="hpSVidEntry marB0"%26gt;


%26lt;div class="videoIconWrapperOuter"%26gt;


%26lt;div class="videoIconWrapperInner"%26gt;


%26lt;div class="vstill"%26gt;%26lt;a href="/cthru?aUzyObCs2t2mdZ9AKovneCSS3Uv... name="%26amp;lid=DV+-+Youvebeentagged+-+Jesjes... src="http://img.youtube.com/vi/W3nxI1XS8... class="vimg120"%26gt;%26lt;/a%26gt;%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;





%26lt;div class="vtitle smallText"%26gt;


%26lt;a href="/cthru?aUzyObCs2t2mdZ9AKovneCSS3Uv... name="%26amp;lid=DV+-+Youvebeentagged+-+Jesjes... been tagged!%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="vfacets" style="margin-bottom: 0px;"%26gt;


%26lt;a href="/profile?user=Jesjes1" class="dg"%26gt;Jesjes1%26lt;/a%26gt;





%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;div class="hpSVidEntry marB0"%26gt;


%26lt;div class="videoIconWrapperOuter"%26gt;


%26lt;div class="videoIconWrapperInner"%26gt;


%26lt;div class="vstill"%26gt;%26lt;a href="/cthru?yPQUYsBXOzmp2iLFIFd-VTNKArw... name="%26amp;lid=DV+-+10MPHSegwayAcrossUSAAwar... src="http://img.youtube.com/vi/DdR41fe9Z... class="vimg120"%26gt;%26lt;/a%26gt;%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;





%26lt;div class="vtitle smallText"%26gt;


%26lt;a href="/cthru?yPQUYsBXOzmp2iLFIFd-VTNKArw... name="%26amp;lid=DV+-+10MPHSegwayAcrossUSAAwar... MPH (Segway Acro...%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;div class="vfacets" style="margin-bottom: 0px;"%26gt;


%26lt;a href="/profile?user=10mph" class="dg"%26gt;10mph%26lt;/a%26gt;





%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;div class="clearL" style="height: 1px;"%26gt;%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;








%26lt;div id="hpFeaturedHeading"%26gt;


%26lt;div id="hpFeaturedMoreTop"%26gt;%26lt;a id="hpVideoListMoreLink" href="/browse?s=rf"%26gt;See More Featured Videos%26lt;/a%26gt;%26lt;/div%26gt;


%26lt;h1 id="hpVideoListHead"%26gt;Featured Videos%26lt;/h1%26gt;


%26lt;/div%26gt;





%26lt;div id="hpFeaturedAndSmallTabs"%26gt;





%26lt;div id="hpEditorContainer"%26gt; %26lt;/div%26gt;


%26lt;ul id="hpSmallTabsContainer"%26gt;


%26lt;li id="hpTopFavoritesTab"%26gt;%26lt;a href="#" id="hpTopFavoritesLink" name="%26amp;lid=hpTopFavoritesTab%26amp;lpos=hpTabs... onclick="swapVideoList(this); return false;"%26gt;Top Favorites%26lt;/a%26gt;%26lt;/li%26gt;


%26lt;li id="hpMostDiscussedTab"%26gt;%26lt;a href="#" id="hpMostDiscussedLink" name="%26amp;lid=hpMostDiscussedTab%26amp;lpos=hpTab... onclick="swapVideoList(this); return false;"%26gt;Most Discussed%26lt;/a%26gt;%26lt;/li%26gt;


%26lt;li id="hpMostViewedTab"%26gt;%26lt;a href="#" id="hpMostViewedLink" name="%26amp;lid=hpMostViewedTab%26amp;lpos=hpTabs" onclick="swapVideoList(this); return false;"%26gt;Most Viewed%26lt;/a%26gt;%26lt;/li%26gt;


%26lt;li id="hpFeaturedTab" class="hilite"%26gt;%26lt;a href="#" id="hpFeaturedLink" name="%26amp;lid=hpFeaturedTab%26amp;lpos=hpTabs" onclick="swapVideoList(this); return false;"%26gt;Featured%26lt;/a%26gt;%26lt;/li%26gt;


%26lt;/ul%26gt;





%26lt;/div%26gt;





%26lt;div id="hpVideoList"%26gt;


%26lt;div id="hpFeatured"%26gt;








%26lt;div class="vEntry"%26gt;


%26lt;table cellspacing="0" cellpadding="0" border="0" width="100%"%26gt;


%26lt;tr%26gt;


%26lt;td width="130" valign="top" rowspan="2"%26gt;


%26lt;div class="QLContainer"%26gt;


%26lt;div class="videoIconWrapperOuter"%26gt;


%26lt;div class="videoIconWrapperInner"%26gt;%26lt;a href="/watch?v=_u6JC4NCb9Q" onclick="_hbLink('SwimmingbyEmmaRussack'... src="http://img.youtube.com/vi/_u6JC4NCb... class="vimg120" qliconalt="_u6JC4NCb9Q"/%26gt;%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/td%26gt;


%26lt;td valign="top" width="256"%26gt;


%26lt;div class="vtitle"%26gt;


%26lt;a class="vtitlelink" href="/watch?v=_u6JC4NCb9Q" onclick="_hbLink('SwimmingbyEmmaRussack'... - by Emma Russack%26lt;/a%26gt;%26lt;br/%26gt;


%26lt;/div%26gt;


%26lt;div class="vdesc"%26gt;








%26lt;span id="BeginvidDesc_u6JC4NCb9Q"%26gt;


A song called 'Swimming'- written by Emma Russack. www.myspace.com/emmarussack


%26lt;/span%26gt;














%26lt;/div%26gt;


%26lt;/td%26gt;


%26lt;td valign="top" width="146" class="vInfo"%26gt;


%26lt;div%26gt;


%26lt;span class="smgrayText"%26gt;From:%26lt;/span%26gt; %26lt;a href="/profile?user=erussack" %26gt;erussack%26lt;/a%26gt;





%26lt;/div%26gt;


%26lt;div%26gt;


%26lt;span class="smgrayText"%26gt;Views:%26lt;/span%26gt; 12,891


%26lt;/div%26gt;


%26lt;div style="white-space: nowrap"%26gt;





%26lt;div%26gt;





%26lt;img class="rating icn_star_full_11x11gif" src="http://static.youtube.com/yt/img/pi... style="vertical-align:top" alt=""%26gt;%26lt;img class="rating icn_star_full_11x11gif" src="http://static.youtube.com/yt/img/pi... style="vertical-align:top" alt=""%26gt;%26lt;img class="rating icn_star_full_11x11gif" src="http://static.youtube.com/yt/img/pi... style="vertical-align:top" alt=""%26gt;%26lt;img class="rating icn_star_full_11x11gif" src="http://static.youtube.com/yt/img/pi... style="vertical-align:top" alt=""%26gt;%26lt;img class="rating icn_star_half_11x11gif" src="http://static.youtube.com/yt/img/pi... style="vertical-align:top" alt=""%26gt;





%26lt;br%26gt;


 











%26lt;/div%26gt;








%26lt;/div%26gt;


%26lt;/td%26gt;


%26lt;/tr%26gt;


%26lt;tr%26gt;


%26lt;td%26gt;


%26lt;span class="smgrayText padB10"%26gt;Time:%26lt;/span%26gt; %26lt;span class="runtime"%26gt;04:00%26lt;/span%26gt;


%26lt;/td%26gt;


%26lt;td class="vMore"%26gt;


%26lt;span class="grayText"%26gt;More in%26lt;/span%26gt; %26lt;a href="/browse?s=mp%26amp;c=10" onclick="_hbLink('','');"%26gt;Music%26lt;/a%26gt;


%26lt;/td%26gt;


%26lt;/tr%26gt;


%26lt;/table%26gt;


%26lt;/div%26gt; %26lt;!-- end vEntry --%26gt;











%26lt;div class="vEntry"%26gt;


%26lt;table cellspacing="0" cellpadding="0" border="0" width="100%"%26gt;


%26lt;tr%26gt;


%26lt;td width="130" valign="top" rowspan="2"%26gt;


%26lt;div class="QLContainer"%26gt;


%26lt;div class="videoIconWrapperOuter"%26gt;


%26lt;div class="videoIconWrapperInner"%26gt;%26lt;a href="/watch?v=iY6VroKoB8E" onclick="_hbLink('NYLONTVBRANDNEWSIGH','... src="http://img.youtube.com/vi/iY6VroKoB... class="vimg120" qliconalt="iY6VroKoB8E"/%26gt;%26lt;/a%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/div%26gt;


%26lt;/td%26gt;


%26lt;td valign="top" width="256"%26gt;


%26lt;div class="vtitle"%26gt;


%26lt;a class="vtitlelink" href="/watch?v=iY6VroKoB8E" onclick="_hbLink('NYLONTVBRANDNEWSIGH','... TV + BRAND NEW...SIGH!%26lt;/a%26gt;%26lt;br/%26gt;


%26lt;/div%26gt;


%26lt;div class="vdesc"%26gt;








%26lt;span id="BeginvidDesciY6VroKoB8E"%26gt;


It's a hard world out there. In this silent short film, our headstrong heroine turns to sticks, stones, and strangers to give her


%26lt;/span%26gt;





%26lt;span id="RemainvidDesciY6VroKoB8E" style="display: none"%26gt;It's a hard world out there. In this silent short film, our headstrong heroine turns to sticks, stones, and strangers to give her new pair of Converse some tough love.%26lt;/span%26gt;


%26lt;span id="MorevidDesciY6VroKoB8E" class="smallText"%26gt;(%26lt;a href="#" class="eLink" onclick="showInline('RemainvidDesciY6Vro... hideInline('MorevidDesciY6VroKoB8E'); hideInline('BeginvidDesciY6VroKoB8E'); showInline('LessvidDesciY6VroKoB8E'); return false;"%26gt;more%26lt;/a%26gt;)%26lt;/span%26gt;


%26lt;span id="LessvidDesciY6VroKoB8E" style="display: none" class="smallText"%26gt;(%26lt;a href="#" class="eLink" onclick="hideInline('RemainvidDesciY6Vro... hideInline('LessvidDesciY6VroKoB8E'); showInline('BeginvidDesciY6VroKoB8E'); showInline('MorevidDesciY6VroKoB8E'); return false;"%26gt;less%26lt;/a%26gt;)%26lt;/span%26gt;











%26lt;/div%26gt;


%26lt;/td%26gt;


%26lt;td valign="top" width="146" class="vInfo"%26gt;


%26lt;div%26gt;


%26lt;span class="smgrayText"%26gt;From:%26lt;/span%26gt; %26lt;a href="/profile?user=NylonMagazineTV" %26gt;NylonMagazineTV%26lt;/a%26gt;





%26lt;/div%26gt;


%26lt;div%26gt;


%26lt;span class="smgrayText"%26gt;Views:%26lt;/span%26gt; 33,643

Youtube "source" code. Any nerds see anything here to explain the problems there? Can't fit the whole code
First of all, what the #$@$^ are you wanting to know. I looked at the "source" code and all you've down is click on the view menu in the toolbar and selected "source" and then copied and pasted it here, So what's the problem?





If the problem is that the youtube website is not loading properly, it's not due to a source code, but something that's going on at youtube, and that means there is nothing you can do about it but try to access the page later.


A signal source has four states A, B, C and D with?

a)A signal source has four states A, B, C and D with probabilities of 0.4, 0.3, 0.2 and 0.1 respectively. Construct a Huffman code for this source, with a diagram showing the code reductions, and evaluate the efficiency of your code.





b)What is (i) run-length encoding and (ii) modified Huffman coding in the context of Group 3 fax? Why are these techniques on their own inadequate for the rapid fax transmission of documents?

A signal source has four states A, B, C and D with?
homework help.


A signal source has four states A, B, C and D with?

a) A signal source has four states A, B, C and D with probabilities of 0.4, 0.3, 0.2 and 0.1respectively. Construct a Huffman code for this source, with a diagram showing the code reductions, and evaluate the efficiency of your code.





b) What is (i) run-length encoding and (ii) modified Huffman coding in the context of Group 3 fax? Why are these techniques on their own inadequate for the rapid fax transmission of documents?

A signal source has four states A, B, C and D with?
I C that you want someone to do UR home work for U tut tut..


Programming in Dev C++...Please Help?

I know C++ programming in Turbo C++.


But my same source codes from Turbo C++ are not working in Dev C++


Are the codes in Dev C++ different?





In turbo i wrote


#include%26lt;iostream.h%26gt;





but when i write the same thing in Dev C++ it jus doesn't accept it.

Programming in Dev C++...Please Help?
C++ libraries don't use .h anymore. Some compilers still support .h C++ includes, but most don't anymore.





Instead of





[code]


#include %26lt;iostream.h%26gt;


[/code]





You will have to use





[code]


#include %26lt;iostream%26gt;





using namespace std;


[/code]





If you don't know what a namespace is, you better google it, but to put it short, the C++ objects are into the std namespace, so you will have to either type that, or to type std:: before each object.





For example: std::cout %26lt;%26lt; "hello world";





(However as I said, "std::" is not necessary if you type "using namespace std;" in the start, becuase you tell the compiler the default namespace is std).








Other C++ includes are:


%26lt;vector%26gt; %26lt;string%26gt; %26lt;ctime%26gt; %26lt;cmath%26gt; (...)





As you can see, the names are the same, but without a .h and into the namespace std.
Reply:To see the output you could pause the program.


Try adding a "system("pause");" statement before the return.





Note that the function system() is basically Windows only. Report It

Reply:you can run your application through the DOS console:


go to start%26gt;run%26gt;cmd you will go to dos mode


then write the applicaiton name (ie. .exe), the result will be the following lines so no need to pause the system. Report It

Reply:Also instead of system("PAUSE"), you could put cin.get();





It makes you press enter to exit, and works good in Hello world, but if you want to create something that has input, I recommend using system("PAUSE"), its just that you never know if cin.get(); will work with input... Report It

Reply:It might accept





# include%26lt;iostream%26gt;
Reply:i have same problem can u help to find turbo C++ pls my ID is grubb128 now i'm online pls help me%26gt;%26gt;%26gt;

survey for cash