Air and water pollution control., HTML programming, GNU Linux.

Tuesday, 24 June 2008

The 00.second version of my C++ program.

Now I have created the second version of my studding program. There is new features here you could calculate and surface of the cylinder and parallelipiped. Please don't try the 3 and 4 functions - they don't work.


#include
#include
using namespace std;
const float PI = 3.1415926;
int main()
{
cout <<"DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\n"
<<"D This program calculate the surface D\n"
<<"D and the volume of the different objects D\n"
<<"D If you want to close this application type D\n"
<<"D D\n"
<<"D Ctrl+C D\n"
<<"DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\n"
< int choice;
cout<<"Enter the number of your choice: \n";
cout<<"1 - Surface and volume of cylinder.\n";
cout<<"2 - Surface and volume of parallelipiped.\n";
cout<<"3 - Surface and volume of sphere.\n";
cout<<"4 - Surface and volume of pyramid.\n ";
cout< cout<<"Please enter the desired number: ";
cin>>choice;
switch (choice)
{
case 1:
cout<<"\nYou decide to calculate the surface and volume of cylinder.\n"< for(;;)
{
float diam;
float surf;
float high;
float volume;
cout<<"Enter the diameter in meters: ";
cin>>diam;
float radius;
radius=diam/2;
while (diam<0 || diam==0)
{
cout << "Error!\n";
system("exit");
return 0;
}
cout<<"Enter the high of the cilinder in meters: ";
cin>>high;
while (high<0 || high==0)
{
cout << "Error!\n";
system("exit");
return 0;
}
surf=(2*PI*radius*radius)+(2*PI*radius*high);
cout<<" \n";
cout<<" The surface is: "< cout<<" \n"
<volume=surf*high;
cout<<" The volume is "<cout<<" \n"
<cout<<"If you want to exit just press Ctrl+C\n"<cout<<"---------------------------------------"<}
case 2:;
cout<<"\nYou decide to calculate the surface and volume of parallelipiped.\n"<for (;;)
{
/*At first we must find the surface which is S=2(a*b)+2(a*c)+2(b*c)
and declare the variable*/
float A;
float B;
float C;
float surf_p;
float volume_p;
/* If the entered value is negative the program will exit immediatly*/
cout<<"Enter the size of A in meters: ";
cin >> A;
while (A<0 || A==0)
{
cout << "Error!\n";
system("exit");
return 0;
}
cout<<"Enter the size of B in meters: ";
cin >> B;
while (B<0 || B==0)
{
cout << "Error!\n";
system("exit");
return 0;
}
cout<<"Enter the size of C in meters: ";
cin >> C;
while (C<0 || C==0)
{
cout << "Error!\n";
system("exit");
return 0;
}
surf_p=(2*A*C)+(2*A*B)+(2*B*C);
cout<<" \n";
cout<<" The surface is: "< cout<<" \n"
<volume_p=A*B*C;
cout<<" The volume is "<cout<<" \n"
<cout<<"If you want to exit just press Ctrl+C\n"<cout<<"---------------------------------------"<}
}
// system("PAUSE"); return 0;
}

Tuesday, 17 June 2008

My first C++ code

Yes people I have decide to learn this language for programming. Why decide? I don't know but I found it very interesting. I download some articles and tutorial from internet and after few hours of reading wrote my first code.
This is a program which calculate the surface of the circle - here is the source:



#include < cstdlib >
#include < iostream >
using namespace std;
int main()
{
const float PI = 3.1415926;
float d=0;
float cir=0;
cout << "Enter the diameter of the disk: ";
cin >>d;
while (d<0)
{
cout << "Error!\n";
d++;
}
cir=(PI*d*d)/4;
cout <<"Surface is: "<< cir < system("PAUSE");
return EXIT_SUCCESS;
}

It is free to redistribute and don't try to cheat it with negative values :)

Wednesday, 11 June 2008

Bourgas build new wastewater treatment station in one of its quarter.

Yesterday (10.June. 2008) has been turned the first sod of new WWT station for treatment of the civil waste water in the quarter “Meden Rudnik”. The new WWT station will be build from Austrian company Alpine bay and it is expected to cover the needs of the quarter. Currently working station is not enough for an increased population of the quarter. The old one has been measured for an around 20 000 people and when the building boom starts it was completely insufficient. Now the station will treat the water from more than 20 000 household or 60 000 people.
The total cost of the module installation will be more than 10 000 000 euro and 75% of them will be covered with ISPA program and other 27 % will be ensured by the Ministry of environment and waters.
Unfortunately this is a behind the building plane of the quarter, actually when the WWT station have been build the quarter population will growth. And in the end of the year will reach the amount of 80 000 peoples.

Wednesday, 4 June 2008

Job hunting through internet sites 4

Do you really need job?

These days I had read an interesting article from Bulgarian author about “Olympic principle” in job searching. What the author means? – Many people have decide to apply for any vacant position just for imitate job hunting for somehow reasons. They have been sent many cover letters and CV only for amusement and without real desire to change their job. Some people just want to change something and the first think that they decide to change is their old job, but actually they don’t want to change it. However many people are not serious in job hunting and just participate in different application processes only to fill the form not with real plans. The author also says that this type of job seekers didn’t refuse to go out in interview but always refused the offers which received. These naggers will never find their dream job.
So what is the meaning of all this above?
At first you should ask your self:
“Do I really want a new job? “
“Why I want to leave my current job?”
“What I should expect from my new job?”
“What kind of job I will look for and what salary I could wait from this job?”
“Am I really prepared to sustain some financial problems when I leave my current?
If the response of all these questions is positive and you are confident in your final decision then you must start your job hunt.
I will try to give you a few little advices here but I am not sure that it will work. I am looking for new field since August 2007 and still not success so my advices couldn’t work. But this unsuccessful hunt might be related with the fact that I look for job abroad not in my country and this may be the main obstacle.
At first you should prepare more than one cover letter. In every one you will describe your different skills. As example you may have experience in contract management, civil engineering, CAD modeling, mysterious shopping or just baby sitting and you have decide to change your field of work then it is a good idea to have few CV and cover letters. When you apply for CAD designer you should enforce your CV in those fields. You must manage Cover letter to look like you are eager to apply for this job.
At second - it is a best for you to read advertise careful. What I mean sometimes you have seen add with something like “We need contractors….”. With modern methods in internet you could apply for a second just clicking two or three times with mouse and that is all. But you haven’t read the add careful and here in the end have something like “must have a very good French” or “need to have less than 10 years experience”. So in this situation HR manager will look in your resume for your French or 10 years experience and when don’t found it he or she just will delete your application. Of course you might expect call from them but this will not happened.
At third – sometimes it is a good idea to push up your recruitment process. Many of the people who work in the recruitment companies are overloaded and just forget about you when their clients reject your candidature. You may wait until the end of time for calling. This will not happen.
I think this is enough for now.