Jump to content
xisto Community

xpress

Members
  • Content Count

    724
  • Joined

  • Last visited

Everything posted by xpress

  1. No. By shift+del he means, deleting all the directory or files permanently. When you just press delete they will go to RecycleBin. By pressing delete key while holding shift, they will be removed without going to recyclebin. By the way what this revouninstaller do? Will it uninstall programs even if the uninstaller for those prorams not available? or just they delete registry keys just like the program I mentioned above?
  2. Try this small utility called MyUninstaller. Download it form myuninstaller download. It has an option to remove uninstall entries from registry. Try it. It is a very tiny utility. Just around 45kb. And no need to install. Just run.
  3. OK tran...As I promised you here is the better and easiest version of your program to find minimum, maximum and average. Since you are at the starting stage of learing C++ I eliminated char values etc...to make the program easy to understand. And my porgram will be C as I already told you I don't know C++ and you told me you can understand C. And my program is just to teach you the simple logic behind calculating these. You should make changes to printf and scanf things to cout and cin to make them work in C++ or save the program with .c extension and compile as usual. Remove clrscr() and getch() if they give any trouble. OK, here is the program. First I will give the whole program and then, I will explain each part. void main(){ int number[50]; int i,j,n,total=0,min=0,max=0,temp; float avg; clrscr();//It clears the screen just like cls command printf("How many numbers you want to enter: "); scanf("%d",&n); for(i=0;i<n;i++) { printf("Enter the number: "); scanf("%d",&number[i]); } printf("The numbers you entered are \n"); for(i=0;i<n;i++) { printf("%d ",number[i]); } /*this is sorting section */ for(i=0;i<n;i++) { for(j=i+1;j<n;j++) { if(number[i]>number[j]) { temp=number[i]; number[i]=number[j]; number[j]=temp; } } }/*calculating the total */ for(i=0;i<n;i++) { total=total+number[i]; }/* calculating and printing our min max and avgerage */ min=number[0]; max=number[n-1]; avg=(float)total/n; printf("\n The minimum number is: %d \n",min); printf("The maximum number is: %d \n",max); printf("The average is: %f",avg); getch();} Ok, lets see some important parts of the code. First of all, I eliminated the char part. Instead your program will first ask you how many numbers you want to enter. It reads the entered value and stores it in n; The i,j are used as increment values in for loops, temp is temporary variable to use in swapping. for(i=0;i<n;i++) { printf("Enter the number: "); scanf("%d",&number[i]); }This above code asks you to enter numbers. IT read the numbers and put them int array number[] upto n times. The code below prints the entire array you entered. for(i=0;i<n;i++){ printf("%d ",number[i]);} The next part is very important part, and you should understand it carefully. This is calling sorting. That is the following part of the code will sort all numbers in the array in minimum(smallest number) to maximum(biggest number) order. As galexcd told, this is called bubble sorting. The simplest of all. for(i=0;i<n;i++){ for(j=i+1;j<n;j++) { if(number[i]>number[j]) { temp=number[i]; number[i]=number[j]; number[j]=temp; } }} we used nested for loops to achieve sorting. The condition in the if block will check if the first number is greater than second number. If greater it swaps two numbers. Else it continues. And then the first number will then compare to third number so on...This process will continue until the entire array is in min to maximum order (until the end of the loop actually). Next part will calculate the sum of all numbers in the array. for(i=0;i<n;i++){ total=total+number[i];}And the last part calculates the average and print minimum, maximum and average. avg=(float)total/n;I added float before total because we explicitly converting the integer value into float. I think this program made everything clear to you. If you have any doubts about the program ask it here or IM me... There are many better versions for this program. But at starting stage this is best for you. I left those range,median things. You can do them yourself.
  4. You're welcome mm22. And about AJAX....it stands for Asynchronous Javascript And XML...It is a combination of different technologies like Javascript, XML, DHTML, CSS etc... AJAX can make your site much more interactive and interesting. It will give your user a desktop application feel with your website. That means....no need to refresh or reload whole page to see changes in the page. The changes will appear in realtime just like a desktop application. And the best thing of AJAX is you don't need any plugins for this. It will work with normal webbrowser. A famous example for AJAX is GMaps (Google Maps). Have you ever used it? You'll see the changes immediately in the map whn you move it with your mouse... Thats the power of AJAX. Actually the concept behind it is, AJAX engine. When you request for a page with AJAX, the browser loads the AJAX engine. This works as a mediator between the browser and server. When you click or type, it will generate an event and Ajax engine will communicate to server and updates your page with response. All this is done in the background. The Ajax engine will continuously refresh the page content without refreshing the whole page. So the results are realtime.
  5. xpress

    Hey

    Hello sbfc93. Welcome to Xisto, the best free host available. Yes, you'll find best hosting than any other free webhost out there. Best in service as well as features. And also you'll meet a great community here. You'll enjoy the service and forum of Xisto. All the best.
  6. Even though some disadvantages are there, client side scripting(e.g, javascript) has lot more advantages. As you told you can do most of the the things with php that javascript do. But you do them at the cost of speed and comfort. Because javascript runs at client side, and php runs at server side. And there are many things you cannot do with server side scripting. Some Advantages: One of the best example for this is Form Validation. When a user types something wrong in a field or left some necessary field blank, javascript will tell it immediately and forces the user to correct his mistakes. If you want to do it with PHP, the user have to submit the page to server and server processes it and will tell there are mistakes, and the user have to correct them and then submit again. This have to done again and again until the user correct all his mistakes. What a waste of time and discomfort? The next advantage of clent side scripting is better user interactivity. You can use RollOvers, Drop down menus and Popup menu's etc... You have to use client side scripting like javascript for these. The third advantage is it saves server resources. Right. As in first example if you have to process the page again and again there will be some unnecessary bandwidth wastage as well as unnecessary wastage of proecessing power of server. If you save them you can serve more users. It is better to leave them to client side, isn't it ? Many more advantages are there. Some Disadvantages: Of course, there are some disadvantages. The main one is, if the user disables scripting your site will give annoying experience to user. But these are rare cases for average users. And a security problem is, the user can bypass the client side scripting for validation. Thus he can abuse the server. So you must have server side validation of the page along with the client side validation. Since the client side scripting is there, usually the server side validation will run only once. So no precious waste of server resources. Hope my post helps you, if not or if you have any more doubts ask me...
  7. Hmmm, I agree there is no way google can overtake, but google has an advantage. As you told google is the no.1 search engine out there. So, when you search for something in google (most people do), it can put its Knol result as first one in the list. So, it can compete very well with Wikipedia...
  8. Welcome to Xisto Yai64. Yes, this is one of the largest communities available, and very friendly as well. You'll enjoy a lot here by posting. Join us and share your knowledge and feelings....
  9. I agree with DeM0nFiRe about these frames issue. It is the web designers job to make that site as much as compatible. Of course, as he told, it is very very difficult to make a site compatible to all browsers. But if you read any book or tips on web designing almost all of them will tell you not to use frames. I had never used Internet Explorer. I have been using Opera since I started using Internet. Never faced any security problems with it. But some websites needed IE so I give it a try for those web sites and that was my first experience with these security issues. When I tried to open a page, I got a message that IE had blocked the content(ActiveX) of the page to save me(? ). These messages annoyed me very much and I kicked away Internet Explorer. If I use IE, that is only to test the page of my site (we need to do this, because most innocent people are still using IE ) I don't think Microsoft is really Interested in IE. Thats why every new version of IE failed. May be in future Microsoft will buy some reputed browser in the market, rebrand it to Microsoft and bundle it with all new versions of windows (Microsoft did it with many times for different products).
  10. 1. Autostart and Process Viewer(APV) : To monitor and control all processes and startup entries running on your system. 2. Opera Browser and Firefox browsers : To be able to surf the internet safely with best web experience... 3. Avira AnitVir Personal : Light weight Antivirus to protect from viruses and malware... 4. Ashampoo Firewall Free : Very light firewall to protect our computer from unwanted connections and attacks. 5. Eclipse IDE : Best IDE for Java and other programming developers... 6. Open Office : A free and best alternative to MS Office. 7. VLC Media Player : To be able to play all media files without downloading any other codecs. 8. Utorrent : To download torrents files... 9. Adobe Reader: To read pdf files 10. WAMP Server : For PHP Developers(most of us)... All of the above are free...
  11. Thats ok. But we need to know more details. How are you trying to connect to mysql? What are the errors you are getting? Are you trying with the same code? etc... Can you show us the code? atleast the code for mysql connectivity like DriverManager.getConnection etc... What is the bridge between your jsp and mysql (at remote server)? Giving more details will help you getting your problem solved.
  12. Actually your question is not clear, I think. Can you post it more clearly? Do you mean, you cannot connect to mysql using jsp? please check your post once. Now successful? or not successful?
  13. Hi, welcome to Xisto. It will be appreciated if you post some more detailed introduction so that we all know you better. Anyway....start posting and enjoy here.
  14. Usually FireFox and Opera are the best browsers because they have very active development team and you'll see a new update available for every one month or so. Espicially FireFox is the Open Source browser and has very active team with thousands of members who are trying to find and fix bugs. So, it turns out to be one of the secure browser available.And these browsers, for example Opera has a feature called fraud protection. When you visit a website with potentially harmful content, it will tell you that and asks your permission to browse that site or not. Google also providing same feature for Firefox. Thus these browsers will give you some protection.But regardless of these browsers you must have an Antivirus and Firewall installed. They will give the best protection.They are must have softwares if you are using Internet. I suggest you Avira Antivirus Free and Ashampoo firewall. They are free. Download and install them if you haven't already.
  15. xpress

    Hi, I'm New

    Hey why tension? Be free to post anything here. This is a very friendly community. Banning is very very rare here, and you won't be banned for silly reasons. Post anything that interests you except spamming and affiliates. You can ask any doubt you have...and many members like me are here to help you. Come post and be part of our community. You'll surely enjoy posting here...
  16. A draw match, just as everyone expected. India's play is OK today. Sachin, Laxmany and Ganguly played well. But the twist for today is Kumble's retirement. I think it may be a shocking news for everyone as no one expecting it now. I had just seen it in the news. He told that he is retiring due to his injury, and will not play in Nagpur test as well. India is losing a great bowler.I think he want to retire before the media and others start criticizing him. His decision will force other seniors to think about their retirement and we may see such surprises in the future also. Our pillars are falling one by one. Now our team is under real threat. No junior can fulfil our seniors absense. It will take long time for them. India had never faced this situation before, just like Australia. We are already seeing how weak Australia team now without seniors. India will face the same situation. Its really interesting how our team faces this problem. Lets wait and see...So Dhoni is the captain now. He will face the real pressure in future after all our seniors retirement. Because, now our seniors are carrying pressure on their shoulders. Now, if our team failed in a series, all media and critcs are start criticizing our seniors and their retirement. But once after their retirement, The captain will face all this criticism. As far as I know, all our Captains till now (except Kapil Dev, I think) lost their form during their captaincy. So, Dhoni will be under pressure in the near future....just let us say all the best to him.Good bye Kumble, we're missing you...
  17. I like portable drives. I don't have it, but I used some of my frineds portable drives. Really they are very handy. Easy to backup, or transfer your large amount of data. Now, my frined and me sharing large amount of data in a single shot. No need for many dvds or pendrives...I really like it. I need to buy one...
  18. If you don't need to generate anything at server side, then simple HTML is enough. And simple HTML page will be lot more faster because it don't need any server processing. When some browser requested a HTML page the server will directly give that page to the browser. So usually its faster than PHP. But if you want more interactivity with the user or want to put login pages etc...then you need PHP. Simply, You need PHP when you want to generate some content server side. Else HTML is enough. But PHP will give more control over your page. And PHP is not that much hard to learn.
  19. xpress

    Hi, I'm New

    Hi Ruben. Welcome to Xisto. You'll definitely get good hosting here. Not only that, you'll also get good community here. Nice introduction. Post your problems and our community will help you. I'm sure, your searching for good hosting ends here. All the best for your project
  20. As expected one more draw match. Probably the last days play will not be that much interesting. Our team is under pressure now. Our worst fielding is one of the reason for this. Our country dominated the match three days and now in defence. This is the speciality of our team. No one can predict our teams play. At last Kumble back into the action and took 3 wickets. But it was too late. Already Australians was in a safe situation. But Sehwag did his job very well and took 5 wickets. And became the 5th player(?) who had a triple century and took 5 wickets in an innings. Congrats to sehwag.Today is the last day. Now its our batsmen's turn again. We had already lost 2 wickets and a very little lead. If everything goes as usual we will see a less interesting draw match.And poor curator, what can he do? He told that he wanted to make the pitch a result oriented and left some grass on it. But the head curator of bcci had involved in last minute, removed all the grass on pitch and made this worst pitch.Whomever did it, the result is a draw match. It only helped our batsmen to create or break some personal records.
  21. I am not very sure whether it works or not, but I had seen an option to change your domain/sub-domain for 15 credits (yes, our old credits) at https://support.xisto.com/ Login with your userid and you'll see that option. You may try that...
  22. Yes. I am getting many scam mails like these. Atleast 1 weekly. Most of these are Lottery type scams. But recently I am getting new type of scams. They look like a personal mail from your friend. I am so and so with introduction and a nice story....and at the end of the mail, it asks for you help to claim the money he/she inherited but difficulty in claiming. And another type is, I am an employee for some bank at Uganda.....Some person who had deposited a lot of money in our bank was dead. So please help me to claim that money and so on....They are increasing daily...I read in some newspapers that many people responded to those mails and lost bing amount of their money. Really I didn't understand why do people blindly believe these mails. It is very difficult to trace these senders...as the details they give you is fake, and also they are coming countries where cyber law is weak, or no cyberlaw at all.... The only thing we can do is educating innocent people about these scams.
  23. To be frank, I am not joking about AVG. I agree, it is a very good free antivirus at detecting viruses. The only problem I had with AVG is the amount of RAM it uses. AVG 7.5 version was really good and nice at using RAM. I love it. I used AVG for 4 years. But the AVG 8 disappointed me. It is a resource hog, occupied almost all my RAM. I tried reinstalling it and different tweaks. But no use. Thats why I switched to AVIRA.
  24. Here is the pathfor your xls extension. you'll find OpenOfffice.exe there. Remove it and try. But becareful when editing registry. Backup your registry first. If you need any further help ask me. HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ FileExts \ .xls \ OpenWithList
  25. Yes...Kotla is batsmen paradise and hell for bowlers. Our batsman did very well job and the Aussies response to our challenge is also very good. They are fighting back very well. Kumble should get his form immediately. Sehwag did very well, but other end of bowling is not effective. He is just a part time spinner. He needs support from full time bowlers. I think the test match will be a draw. Because we have only two days left. And still Aussies is playing. We have to take 16 wickets (6 first innings + 10 second innings) to win. And we still have to bat to give some target to them as its a batting pitch. So, the result of the test is almost impossible. We can see the result only if our bowlers do worders And I agree with Gambhir issue. Our youngsters are taking everything very serious. It won't do any good to our team in the future.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.