560 Posted Topics
Re: Your code is not valid java. You'll need to include all of your braces. Also, use the code button to post code. > for(int num=1;num<20;num++) This does not include 20. > if(sum==num) You'll need two more cases: one for defective numbers, and one for excessive numbers. You'll need to work … | |
Re: I find that "Agile" is more being used as a buzzword. I find a lot of buisiness persons throw it around without really understanding the concept other then "it's what other 'hot' firms use". I like roughly incremental approaches to software development though. Given that project requirements are clear and … | |
Re: Using [google](https://www.google.ca/?gws_rd=ssl#q=ubuntu+text+to+speech&spell=1). Good place to start. | |
Re: > im sory but thats not the kind of programming that my prof wants So your saying your in a class; yet you have no idea how to start the assignment? The either means your prof didn't prepair you or you didn't listen (which is why you're getting silly responces … | |
Re: Computer Science isn't about programming. Sure, naturally Computer Science takes a problem and breaks it down into something so simple that a computer can do it; thus computer scientists also learn how to program usually. A computer scientist can take a computational problem and find an effective way to solve … | |
![]() | Re: Well, I had 4 math classes in grade 12. Honestly, that made the homework very consistent, and made things fly by easily. > Also had a "serious" gf who broke my heart. Worked out for the best. You don't want a gf "from home" when you go away. Very true. … |
Re: Though it's not alarming in practice (I wouldn't go as far as to avoid an update to something using Systemd), it should be fixed somewhere along the line, preferable within Systemd itself. It doesn't sound too hard to fix either. A patch preventing escape characters could easily be made ad-hoc … | |
Re: Not all mobile devices support flash (most don't). | |
Re: > There was definitely an issue yesterday. However, some people are still experiencing an issue today even though I cannot reproduce it. It's the OCSP validation (well, in my case). I'm using Windows 8.1 and the latest version of Firefox. It was observed from 2 wifi spots, and even over … | |
Re: > Is it noticable that which version of cygwin with wich version of ns2 shoud be install? The latest version of both unless an older version of ns2 is required. Then you'll install the required version of ns2 and the latest version of cygwin. > Installing NS2 2.35 under cygwin … | |
Re: We don't give free code **niranga**, otherwise people don't learn to be able to do it themselves. A cleaner, faster and more scalable way would be to use a [hash](http://msdn.microsoft.com/en-us/library/system.collections.hashtable%28v=vs.110%29.aspx) (or a [bit-array](http://msdn.microsoft.com/en-us/library/system.collections.bitarray%28v=vs.110%29.aspx) if the size of the numbers are known to be small) to keep track of the numbers … | |
Re: There are a few problems. > \#include "stdafx.h" This is uneeded. > \#include "iostream" We inlcude system headers with `<` and `>`. This should be `#include <iostream>`. > \#include "fstream" Same problem here. Use `<` and `>`. > int _tmain(int argc, _TCHAR\* argv[]) This is not C++, and is only … | |
Re: **Of those three** Python might be the most usefull to learn first in my opinion (and of the three, probably the easiest to learn). Non of them are bad choices. | |
| |
Re: > help me please Ok. I take it you want help learning more. Do you know what you want to learn (or be able to do) yet? How are you learning right now? | |
Re: > How do I write algorithm to calculate or solve simultaneous equation Depends. Do you want to do it symbolicly, or do you want to to estimate the answer(s)? Do you know the form or form(s) of the equstions? Depending on the answer about, the code might be 1 line … | |
Re: There's a big answer to that. The simple answer is "you don't". That doesn't ream it's useless to try to protect yourself though. Here's a list of "info" I guess (some of the stuff listed is just going to a paranoid extreme, because why not): 1. The best way to … | |
Re: According to `info rsync`: --delete This tells rsync to delete extraneous files from the receiving side (ones that aren’t on the sending side), but only for the directories that are being synchronized. You must have asked rsync to send the whole directory (e.g. "dir" or "dir/") without using a wildcard … | |
Re: Another good option for Windows is [Cygwin](https://cygwin.com/) which will provide you with a full Unix environment to work in. | |
Re: > I'm sure you've tried various anti-virus and malware removal utilities. The problem is that neither of these do anything for tailored access (they're not even designed for that). If you want to keep a company or individual secure, then you'll need to be aware of the mechanics of attacks. … | |
Re: I thought this looked [familiar](http://www.daniweb.com/software-development/cpp/threads/483470/c-program). Exact same response here. | |
Re: By the way, posting your code on Daniweb breaks this part of your licence: > You shall not disclose such Confidential Information and shall use it only in accordance with the terms of the license agreement you entered into with Nikolas9896. as part of Daniweb's TOS: > Posts contributed to … | |
Re: > polynomial any programmer here??? Answer: "Fourier series. Are you a chef?" Point: You haven't provided us with any usefull information to be productive. | |
Re: We know this equation works because (one way): double integral {x^2 + y^2 <= r} 1 dxdy = integral{0-2pi} integral{0-r} R dRdt = integral{0-r} 2\*pi\*R dR = pi\*r^2 | |
Re: Try disabling some explorer extentions and context menu stuff These may help: http://www.nirsoft.net/utils/shexview.html and http://www.nirsoft.net/utils/shell_menu_view.html . | |
Re: Unfortunatly, according to Daniwebs [TOS](http://www.daniweb.com/home/tos), you must be 13 years of age to register for an account. | |
Re: You want to know how to generate a list of **unique random numbers**. One method would be to keep track of all the numbers you have perviously generated, and if the rng comes up with a non-unique number you reroll. This works well if the range is big and you … | |
Re: Sounds like homework. If you know how to use functions, then you should already be able to answer this question. If you don't know how to use functions, then look at whatever resource you're using to learn. If you don't have a resource to learn from, then we'll point you … | |
Re: > What would happen if we cut a flower and it would scream like hell of the pain it feels? I'd probably invesigate the mechinism it uses to make the noise. > What would happen if we catch a fish on a line and it would squeal like a pig? … | |
Re: You can implement ping in python. [Example](https://gist.github.com/luizfb/6958733). Ask your user for an ip range, ping all of the addresses and see which one's respond. | |
Re: > or maybe something is wrong with the codes? I don't know. Is there something wrong with the code? Have you tested it? What arn't you understanding exactly? Do you not get the pattern? Do you not understand roman numerals? Is there something specific about the code that you don't … | |
Re: Can't run it on Linux; but if the games like zork then it's probably a good project. > which im not certain if it qualifies as simple or complex In all honesty, what does it matter if it's simple or complex? A good "thing" is a good "thing". Some good … | |
Re: Don't ask the question in the title. Also, provide more information. Your question is equvalent to asking "Why does this equation use 5: `5x^2 + 2x + 3 = 7`?". I'm assuming that this is for a cashe implementation? The reason why it has 4 select inputs is because it … | |
Re: I'm not really a C# programmer, so I could be a bit off. An interface is a class that cannot be initialised into an object, but does provide information on how to handle classes that implement the interface. This idea is an extention onto polymorphism. For example, you can write … | |
Re: It probably has to do more with your computers hardware capabilities and your computers current load. Make sure that theres nothing runing in the background that you don't need (including junk services and things like that). A more roundabout solution is using [SVP](http://www.svp-team.com/) (and the associated SVPTube application that comes … | |
Re: I like that question! The idea your trying to explain is a geometrical interpretation of a 4th dimention. There are plenty of other interpretations of it. Perhaps it would be better to first explain what dimentions are in mathemtatics before adding he symantics of space. You already know that a … | |
Re: In all honesty, it's mostly to maintain old code. It's a little unusual to hear someone say "I started this new project in COBOL". It's still usefull to companies that would pay to keep their decades old codebase running as opposed to switching to something newer. If you program in … | |
Re: This is posed in the wrong forum. You would need to post this in the C++ forum to get responces. My responce anways: > Can someone help me about converting numbers to roman numeral 1-999 via switch statement ? Yes, I can help. I can even write the entire thing … | |
Re: Don't be shy either. If there's something that interests you, or if there is a company that does something that you are genuinly interested in, then say how much you're interested in it. Employers will see the interest. Also, be persistant (but not annoying) if you really want to get … | |
Re: Sounds like she needs to upgrade her everything (I'm not even sure if dial-up is even cheaper then more modern plans). Anyways, if she's running Windows, open command prompt (press windows key and R, then type "cmd" <enter> without quotes), and type in "ping google.ca" <enter> without the quotes. What … | |
Re: > BTW, what C++ compiler are you using? Wait, let me guess: Turbo C++ (which by the way is a terrible compler that should have been phased out 20 years ago). If that's not the case, then I'll give the class props for not being useless. Anyways once someone says … | |
Re: I beleive you'll want to post in the buisiness exchange section of the website. | |
Re: I don't see the errors. Please also provide example code, otherwise we're only playing a guessing game here. | |
Re: I use tape, and label them based on the machines name, which is based off of [RFC 1178](http://tools.ietf.org/html/rfc1178). | |
Re: I'm starting to feel a small tug in employers towards looking at a programmers online software repository (github, codeplex, etc...). Anyone else knotice it? | |
Re: I hope that the question highlighted that this isn't an example of good code. You've created a structure that holds 2 integers (side by side in memory). You then created an array of 8 integers (all side by side in memory). You then said that this array is an array … ![]() | |
Re: If you want to move into more serious development along the line, a properly configured version of Vim would be nice to learn. Unfortunatly it's not the quickest thing to learn, but I think it's worth a mention. Reasoning: 1. If you ever need to work remotely on a Unix … | |
Re: I've identified the problem > clueless and helpless in C programming If you have no idea how to program in C, then the only way I can possibly see you getting this assignment done is to learn C. I don't see how you are going to get it done otherwise. … | |
Re: It would be hard to argue that any languge has a definate advantage over perl in terms of the language itself. Generally every language has communities of people that use it for certian usages. This is generally one of the more important things to consider when choosing a language. To … |
The End.