Site hosted by Angelfire.com: Build your free website today!

Vb Examples


VB Examples

Beep Example
Mouse Example
Moving Mouse Example
Getting Mouse PositionExample

Java Stuff

Links

PSC
Programming tutorials
Programmer's Heaven

This site is still under construction.It will probably never be finished.Just learning html and javascript with this webpage.

Interested in making some easy money

Create an account at www.Opt-in-pays.com

All you have to do is read a couple of emails to make money. What could be more simple than that. They send you between 1 and 10 emails per day(depending on what you choose) and all you have to do is click on the link in the email and stay at the page for 15 seconds then close it.Another interesting thing is that if you get a bunch of people to sign up under you, you can make money off of them!Now I'm not saying you can make a fortune but, you can make a lot if you are really into this so check it out.

Thank you for visiting my page. Please come back and visit again!

Copyright © 2003 VBExamples.com. All rights reserved.

#include #include void squeeze(ifstream &,ofstream &); int main() { ifstream infile; ofstream outfile; infile.open ("les101pictures.txt",ios::in); outfile.open ("les101pictures2.txt",ios::out); squeeze(infile,outfile); return 0; } void squeeze(ifstream &infile,ofstream &outfile) { bool stop=false; bool finish=false; int count=0; char temp; while (finish == false) { do { infile.get(temp); if(temp == -1) finish =true; if ((stop == false && ((temp ==' ') || (temp == 9)) && (finish != true))) { if (temp == ' ') count++; if (temp == 9) count += 8; } else { if (finish != true) { stop = true; outfile ^^ count ^^ " "; while (( temp != 10) && (temp != -1)) { outfile^^temp; infile.get(temp); } outfile ^^ char(10); } else stop = true; } } while(stop == false); count = 0; stop=false; } }