560 Posted Topics

Member Avatar for prospectus.monarchy

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 …

Member Avatar for prospectus.monarchy
-1
2K
Member Avatar for tortillisgroup

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 …

Member Avatar for Hiroshe
0
132
Member Avatar for JasonPS

Using [google](https://www.google.ca/?gws_rd=ssl#q=ubuntu+text+to+speech&spell=1). Good place to start.

Member Avatar for mike_2000_17
1
273
Member Avatar for tan.revilleza

> 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 …

Member Avatar for Sam_6
-1
261
Member Avatar for Linda Schrier
Member Avatar for Ghost0s

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 …

Member Avatar for Ghost0s
0
234
Member Avatar for Warrens80

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. …

Member Avatar for veedeoo
0
250
Member Avatar for happygeek

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 …

Member Avatar for rubberman
3
1K
Member Avatar for missy_mi
Member Avatar for almostbob

> 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 …

Member Avatar for mattster
1
349
Member Avatar for blue30

> 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 …

Member Avatar for L7Sqr
0
132
Member Avatar for Start4me

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 …

Member Avatar for Minimalist
0
305
Member Avatar for haider885

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 …

Member Avatar for Hiroshe
0
257
Member Avatar for qulu.quliyev.58

**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.

Member Avatar for shimanto.khan.758
0
153
Member Avatar for pwolf
Member Avatar for shen06

> 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?

Member Avatar for David W
0
252
Member Avatar for Cypher Yaw

> 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 …

Member Avatar for Hiroshe
0
171
Member Avatar for samsudin

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 …

Member Avatar for melissad
0
592
Member Avatar for lewashby

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 …

Member Avatar for elicro
0
375
Member Avatar for iqra aslam

Another good option for Windows is [Cygwin](https://cygwin.com/) which will provide you with a full Unix environment to work in.

Member Avatar for mike_2000_17
-1
230
Member Avatar for LynnCarter62

> 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. …

Member Avatar for AffineMesh
0
259
Member Avatar for tan.revilleza

I thought this looked [familiar](http://www.daniweb.com/software-development/cpp/threads/483470/c-program). Exact same response here.

Member Avatar for Hiroshe
0
150
Member Avatar for Nikolas9896

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 …

Member Avatar for Nikolas9896
0
370
Member Avatar for Aqeel Rafique

> polynomial any programmer here??? Answer: "Fourier series. Are you a chef?" Point: You haven't provided us with any usefull information to be productive.

Member Avatar for Assembly Guy
-4
138
Member Avatar for david muchuku

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

Member Avatar for Sarkurd
0
170
Member Avatar for beep

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 .

Member Avatar for Hiroshe
0
107
Member Avatar for Mr Gates

Unfortunatly, according to Daniwebs [TOS](http://www.daniweb.com/home/tos), you must be 13 years of age to register for an account.

Member Avatar for melissad
0
19K
Member Avatar for Start4me

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 …

Member Avatar for Minimalist
0
1K
Member Avatar for iqra aslam

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 …

Member Avatar for iqra aslam
0
149
Member Avatar for ddanbe

> 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? …

Member Avatar for Hiroshe
1
126
Member Avatar for QwertyFish

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.

Member Avatar for QwertyFish
0
350
Member Avatar for YakuzaJevin

> 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 …

Member Avatar for ddanbe
0
261
Member Avatar for Kris_3

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 …

Member Avatar for Kris_3
0
239
Member Avatar for Pyler

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 …

Member Avatar for Hiroshe
0
124
Member Avatar for iConqueror

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 …

Member Avatar for deceptikon
0
299
Member Avatar for cunnijo

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 …

Member Avatar for rubberman
0
395
Member Avatar for ddanbe

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 …

Member Avatar for mattster
0
766
Member Avatar for elise01

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 …

Member Avatar for jwenting
0
180
Member Avatar for Reshiram27

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 …

Member Avatar for jwenting
0
633
Member Avatar for Jack_9

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 …

Member Avatar for Hiroshe
0
272
Member Avatar for Grregg44

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 …

Member Avatar for Hiroshe
0
133
Member Avatar for red11

> 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 …

Member Avatar for Hiroshe
0
611
Member Avatar for Khaldoun Latif
Member Avatar for mike_2000_17
-3
143
Member Avatar for iniesta

I don't see the errors. Please also provide example code, otherwise we're only playing a guessing game here.

Member Avatar for Hiroshe
0
47
Member Avatar for karatelovr

I use tape, and label them based on the machines name, which is based off of [RFC 1178](http://tools.ietf.org/html/rfc1178).

Member Avatar for Hiroshe
0
64
Member Avatar for iConqueror

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?

Member Avatar for heidi.dum
1
481
Member Avatar for oanahmed

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 …

Member Avatar for cayman
0
246
Member Avatar for frankie198

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 …

Member Avatar for Jack_9
0
854
Member Avatar for Miffy

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. …

Member Avatar for Hiroshe
0
248
Member Avatar for Jack_9

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 …

Member Avatar for Hiroshe
0
297

The End.