Jump to content
xisto Community

iGuest

Members
  • Content Count

    72,093
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by iGuest

  1. Hi Ahsaniqbal111, Well the only way I could explain this is that stdout (console) has a buffer and will not be printed until either the buffer is filled, has been flushed or it encounters a newline but only for terminal, doesn't flush if being written to a file. So what you are expecting is correct, except it's only in the buffer and that you're stuck in the infinite loop which isn't going to add anymore to the buffer. This means you won't get any output due to the buffer holding the information. You can either put setbuf(stdout, NULL); at the start of your main function to turn the buffer off, or you can fflush(stdout); after your printf call, or you can fprintf(stderr, "%d ", x); as stderr does not have a buffer. Cheers, MC
  2. I have had this problem...and I was working on it for days....trying every combination that I could think of or find. What I never did was check the format of which I was saving my files in Illustrator (CYMK)! Thank you so figgin much! This was the answer i needed.....no i have to grow back all of the hair i pulled out trying to solve this problem.
  3. Well the naming convention for popular programs are understandable but then any known programs you've installed should be understandable. The ones you would not really understand are the system programs, which usually are written like an acronym, things like ntvdm which is NT Virtual Dos Machine.An issue I encountered years ago was people kept asking me what internat.exe was and why it was running. Because it so closely looks like internet a lot of people considered this was a bad program but in reality, this program was created by MS and was standard on Windows installations. It's actually short for International which wasn't obvious to a lot of people but it's the multilingual features like the language taskbar. It really was a poor name to use but this too was due to Windows having an 8 character limitation on filenames that they had back in the DOS era.Whether Linux names are any better, yes and no, but I haven't found any names that can not be identified easily. Because it's open source, these programs exist somewhere on the internet where you can see what they are for, with Windows if you look for some odd name it has to be inside the original creators website, or maybe a forum or knowledge base where the user is asking what it is, etc. And it can be time consuming to find out what it is. I don't think MS even display a break down of all their system files, etc that they have.This doesn't mean that Linux does not have bad naming conventions, I would assume it exists, it's just that I usually know all the programs I've installed, I'm mainly a keyboard user, so I type most of the commands for what I want to run. My mouse could sit here and collect dust if I didn't need it for graphic programs and maybe a few other programs (games mainly). I also have a log of every install, update, etc that has been done on this system. So if something did show up as looking as odd, I can always refer to the logs, or find it on the net.Cheers,MC
  4. DDR5 memory doesn't exist yet for motherboards and I see no reason why it'd be created for motherboards at this stage. Their timing is not even comparable to DDR3 modules which still outperform it.So what does the label tell you about the memory and what chips are on it?Trying to understand this KVR1333D3N9/4G, Kingston Value Ram, 1333MHz DDR3 CL9 / 4GB or maybe the D3 could stand for PC3, but either way it is DDR3.Any details from the listing since you bought it off trade me. This should have information on the type of module it is. The most likely cause is that it is faulty and they don't really want to deal with it. Was it bought new or used? Was it from a reputable dealer?Cheers,MC
  5. Dr. Rajkumar is greatest actor of all time. No one can match his versatility. The only actor in India won national award for both singing and acting and his success rate is 98%.
  6. So your not sure about a girls body language?I think its how they act around you during class, in your neighborhood, ect.#1 RULE: Make sure you've known her for a long time. [ I've known this girl in my school for about sence forth grade.] #2 Make sure you talk to her after class or before, dont talk stupid or make up stupid jokes then she'll los3 interest in you. Use jokes that she might have not heard in a while ( HINT: no yo mama jokes.) #3 know her for who she is and not what she has like for example, her breast, or her money, ect. Thats all i know an make sure you reply if you find out other things about girls that i didn't include in here. Hopefully this helped.senserly, Sam M. (7th grade. Go's to Waukee North Middle School.)
  7. Thanx so much ill try to look for some clues tomorrow in scool during English and sence we havent talked in a long time how do i start a new conversation with her again?... And if we're not dating and i want to kiss her what do i say or do? Im 13. and i go to waukee! During school i want to kiss her were and when should i do it? sencerly, Sam M.
  8. Just found charges going back 4 years.... Went round and round with them....they're only crediting 4 months...Said they would send a claim form for the rest.....Don't know what was doneto end up on they're list.....I would imagine they've scammed millions of dollarsfrom consumers, I know the FTC did something to something to them If they do not make good on their promise to refund it all.We will write to the Attorney General of Texas and the FTC.Best of Luck to all of those scammed...Amy S
  9. It does not matter how much a student makes if you are under 24. This is because, according to FAFSA, you are considered DEPENDENT upon your parents even if you do NOT live with them and they do NOT help you. FAFSA doesnt care and you are dependent upon your parents unless you are 24 plus or have a child. So even if you don't work, if your parents make more than about 60,000, you will not qualify for anything except loans.
  10. I'm glad I don't run Windows. It seems most programs developed for it have some obscure naming convention that does not even make sense to the user. This is where a lot of Window problems lie. sjit.exe, what is that suppose to stand for, mean, do? and if you had something named like that, instead of something sensibly named, I would have removed it just on that fact. sjit.exe is malware, don't believe all those so called scan/scam file sites that are only checking for viruses. A good malware tool, should have detected it and removed this for you. This incredibar can be installed without your approval, even if you decline to install it, it still manages to get installed. Be sure to run a few preventative tools and also clean up tools. I suggest looking at Major Geeks for some useful utilities, as I do not know what you need to use these days, but they should still be in the known. Cheers, MC
  11. Hi Ahsaniqbal111,I do not know which code you are using, so if you could show it that would greatly help.I am not sure how Eclipse handles infinite loops. It's possible it will time out after it's been running in circles but either way, it should not be handling these things for you without notifying you what it did. So, see if Eclipse has logs, or errors when you run the program. If it does not, then you would have a hard time understanding what Eclipse does for you and what your program actually does. That's one of the reasons I don't rely on IDEs that can take over your program.Lets see the code you used and I'll try it on Eclipse myself and see if I can tell what it's doing.Cheers,MC
  12. The VESA DisplayPort 1.2 is the standard and the device shown is a Multi-Stream Transport Hub which should not be referred to as a splitter, which indeed only splits or gives mirror effect. This device does a whole lot more.This hub, is more in the terms of a central box (apparently it's size is big) that handles switching of data from each monitor. It uses similar technology as your ethernet/network, pci express and usb, in which it can deliver multiple streams of data to each monitor (just imagine how networks work). The limitation of this however, is the available bandwidth that can be delivered but they will slowly increase the bandwidth to exceed these limitations (hopefully).There are probably other futuristic ideas that can come from this, not only just monitors, hopefully changes to our networks, etc, but we will have to wait and see.Cheers,MC
  13. Hi Ahsaniqbal111, Usually the easiest way for installing software in Ubuntu/Mint is to look for the PPA (Personal Package Archives) which is where people package their own software for Ubuntu/Mint but Ubuntu went sour on Oracle Java and removed everyone's PPA who contained Oracle Java, but this may have been due to licensing issues, etc. flexiondotorg, who was affected by the removal of his PPA, created a script that did similar. The problem was, it needed links updated when changes were made on Oracle's end. So, if those links weren't updated, you would have problems getting the latest and correct files. Your tutorial in a sense, sounds correct however those instructions are over a year old, Ubuntu removing PPAs was around August last year. So the information you have is outdated. If you had to go through the process again I suggest using this tutorial on installing Oracle (Sun) Java which I also recommend you check out what WebUpd8 PPA's they have available, as they are pretty good for holding what people need. If you have any other problems with Linux, ask here. You can get most of the updated information if needs be from us, the only problem is, we can't give you the information as fast as you may want it but we can guide you through the process or even view the processes of others and say whether their instructions would work or not. Cheers, MC
  14. http://www.afterdawn.com/software/source_codes/firefox.cfm here u can download the source code...
  15. Hi Sewan,You requirements don't sound too hard and it's quite possible this script already exists but I have not checked.The answer I need though is where do you want to display this information? Is it outside of IPB, maybe for a blog, news site etc. In which case maybe developing a widget for that which can be bridged between IPB would be a better choice to make it easier to integrate, customise and also disable it if you no longer want it.Also, why could you not see the DB? This is where we would need to get the information. There are alternative ways, but accessing the DB would be the quickest.Cheers,MC
  16. You could try SoftTH, but I have not used it nor know whether it would work for you but I'm sure you'll research about it. Updated to have link. Cheers, MC
  17. Hi manuleka,Explain your setup. Usually these games were not developed for multiple displays, but it could be possible to set up, dual monitors that could possibly seperate their position at the split in the game so that it could appear to be on seperate screens. The only problem is, you'd have to customise it for each game.Cheers,MC
  18. I want to do some calculator php script without calculator can any one help with hints or simple script
  19. I believe the poster meant 2-step verification which is an added layer of security provided with most google app accounts that helps to prevent unauthorised access by using a generated token code sent to you via sms, voice call or you mobile app.This is usually the same security provided with online banking. It helps to prevent your account being stolen.The question whether gmail is worth it and that it's good to get can have different results depending on what you can expect. The features it provides make it quite good but the problem I have seen with gmail accounts, is that it is being used to distribute high volume of spam because of the weak captcha implementation that they use and in some websites, gmail emails have been blocked and that you would be required to use another, preferabbly ISP email address if you require accessing the resources provided by that site.Hotmail and Yahoo mail have been treated similarly, due to their email accounts being used for spam. So, with free email account providers, you may find yourself not being able to sign up to places with them because of the unfortunate spam that has been generated from them.So, if you can manage to use gmail to sign into your sites that you visit regularly, then you should be happy with your gmail and the features it offers you.Cheers,MC
  20. Hi Ahsaniqbal111,I installed Eclipse version 4.2.x and have OpenJDK 1.7.0.x installed. From running Eclipse, it just works. I haven't tested much inside of the IDE but everything seems to work how it should be so I am uncertain why you had to go down the track of installing Oracle java.Cheers,MC
  21. Hi Ahsaniqbal111,I don't actually use Eclipse but I assume it gives you a lot of handy features that probably are useful for any programmer. Eclipse can not help you with cross platform compatibility. It does not even know what you are going to write your code for, you could be programming for a mobile device and that may not even be compatible with your computer.Cross platform compatibility is actually up to you and understanding how to write portable code. The stage to understanding this just means you'll continue testing your code on the platforms you want to support to find out incompatibilities, then you just work it out how you can get it working for that platform.The pain of installing Oracle java is understandable but what I don't understand is why Eclipse did not just work with openjdk, the java implementation that is usually shipped with most linux distributions. I will install Eclipse and see why you had to go through that pain. The implementation of openjdk is not too different from Oracle java, only that Oracle java has added additional features. In that case if Eclipse does rely on those features, that would be the only reason you would need to install it but you could probably get away with not using those features too.Cheers,MC
  22. All standard cables are coaxial today. Explain this?The predominant area I know that coaxial (coax) cables are still being used is for antenna/satellite TV. It was widely used for networking too, but that was long replaced with unshielded twisted pair (UTP).Good quality coax cables had very poor bend radius. This was due to it's shielding that was a thin metal sheeting around the cable, bending it could lead to breaking the shield and allowing more interference. It was then replaced by foil, lowering the quality but increasing the bending radius. It was then made even poorer when it went with loosely twisted/weaved wire. Sometimes you could find a combination of both foil and loosely twisted/weaved wire.So to have good quality meant bad flexibility. To have marginal quality, highly susceptible to interference you had the foil and loose wire combination.Those are the only areas that I can think of that are still using coax in the home and office.Cheers,MC
  23. what does it meen if you look at your self in the mirror and your eyes change
  24. Hi Ahsaniqbal111, I will try to explain the author with code and breaking it down. This code closely matches the for statement except I suggest you do not test/run it. but rather just try to understand it by looking at it, else you'll need to press CTRL+C to break from it. #include <stdio.h>int main(void) { int x = 1; while(x <= 10) { if(x == 5) { continue; } printf("%d ", x); x++; } return 0;} As you can see in above code, the increment expression in this while loop goes after the continue statement. Now the problem is that when x = 5 continue will be called meaning we skip the increment expression. That is because continue skips the rest of the code below. This means x will stay 5 and not increment, we will always enter the if statement and the loop will never complete so it will run forever. This is a different behaviour to the for statement. So this is why your increment, if it's required to exit the loop should come before any continue statement in the loop, but then you would need to change your code to reflect it. So I've written how it could be written below. #include <stdio.h>int main(void) { int x = 0; while(x <= 9) { x++; if(x == 5) { continue; } printf("%d ", x); } return 0;} So in this above code, I have assigned 0 to x, I have changed the while condition lowering it by 1. I have shifted x being incremented above the continue statement. This now reflects the same answer as the for statement, but does not really reflect how the for statement works. There is another, easier method than lowering the variable and condition and shifting the increment above continue. Again this represents the same output, but not the same flow of the for statement. #include <stdio.h>int main(void) { int x = 1; while(x <= 10) { if(x == 5) { x++; continue; } printf("%d ", x); x++; } return 0;} The only difference is I've added an increment inside the if block. As long as it's before continue it will too work. I hope you can understand this. If not, feel free to ask more. Cheers, MC
  25. Sorry, but... what do you mean by "2-point verification" ?
×
×
  • 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.