4,901 Posted Topics
Re: There is a general rule in programming that states "if you don't know what your program is supposed to do then you shouldn't start writing it." Start by writing the algorithm in English (pseudo-code). Then do a walk through of the pseudo-code to see if the algorithm is correct. After … | |
| |
Re: I think this is a case where you'll find the recursive approach much more clear and concise. Module Module1 Sub Main() Permute({1, 2, 3, 4}) Console.ReadLine() End Sub Sub Permute(nums() As Integer, Optional start As Integer = 0) If start = nums.Length Then OutputArray(nums) Else For i As Integer = … | |
Re: Hah. I was just about to send you greetings Alan. You beat me to it. Stress free (mostly) celebrations going on here this Christmas. My eldest is home from Long Island for an extended visit and waiting to hear about a research position in Cambridge. My yearly checkup tests all … | |
Re: Does it matter which USB port you plug it into? Is it a wired mouse, or a wireless mouse? If it's a wireless mouse, are the batteries fully charged? Do you have any problems with any other USB devices? Have you run any diagnostics? | |
Re: Since `Date` cannot be both `Nov` and `Oct` your Case will always return 0. Also, `Date` is possibly a reserved word and should be avoided as a field name. It's been a few years since I've had a SQL DB installed so I am a bit rusty (and I can't … | |
Re: Your explanation is not consistent. You state that the user is to enter a range as in "find me all numbers between x and y that are divisible by both 3 and 4." Later you state that you "input value 120 10 times". That is inconsistent with the problem so … | |
Re: I think a google search and a little effort on your part should do the trick. | |
Re: 1. Read 1. Write 1. Repeat We learn by doing. If you don't put in the effort you won't learn anything. | |
Re: It would be a lot easier to answer that if you posted the code. | |
Re: You could also start by reading [Gaussian Elimination Algorithm](https://en.wikipedia.org/wiki/Gaussian_elimination). | |
Re: You might as well have said "I have the following code:" int main() { } "I just need a little help with the middle." Please read [this thread](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) for suggestions on how to post meaningful questions. You might get some ideas as to what is expected of you before you … | |
Re: Have you run a full slate of diagnostics on all the hardware? | |
Re: I don't imagine anyone here is going to write your code for you but at least you were honest enough to admit it is for a school assignment. Having said that I want to mention that if I were marking your assignment (and it is something I used to do … | |
Re: Well, first I would learn how to program in C++. What I would not do is ask someone else to do it without showing that I had put some effort into doing it myself first. | |
Re: If you don't care about the order of the strings, just keep track of the number of strings and replace the address of the deleted string with the address of the last string. Then decrease the count by one. If order is important than use a linked list as suggested … | |
Re: You start by reading the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules) and [Posting Suggestions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) to increase your chances of getting a timely (and more useful) response. You might also benefit by starting a new thread instead of hijacking one that is more than nine years old. | |
Is anyone familiar with Microsoft Remote Desktop? I'm referring to the application with the name MSTSC.EXE. I used this years ago at the office to remote into the servers from home but MS has made changes since then. I have one laptop downstairs that is usually unattended and I have … | |
Re: I suggest you read the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules) as well as [Read This Before Posting a Question](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question). | |
Re: Make a list of all possible questions (list of question numbers or list of addresses). Pick a random entry from the list then delete that entry. | |
Re: It used to be that "if you aren't paying for it then **YOU** are the product". What the manufacturer is doing is vile. Unfortunately, if the others follow suit we'll be left with no choice other than "if you don't like it then don't buy it." | |
Re: Completely aside from the actual problem I would like to make two suggestions: 1. Post programming questions in the programming forum 1. Read the topmost thread titled **Read This Before Posting A Question** If you had done that you would have chosen a more appropriate and informative title than "Help". … | |
Re: As I understand it, the `/SL` switch says that rather than treating the symbolic link folder as a real folder (and doing a deep copy), just create a symbolic link in the target folder with the same name as the original symbolic link and pointing to the same target. If … | |
Re: [How to make a database in vb.net](http://bfy.tw/Eu2p) Pick the first (technet) link. | |
Re: Yes. Use parameterized queries. | |
Re: Can you be more specific? | |
Re: You also might try the `takeown` command. Type takeown /? for instructions. | |
Re: If you don't even know how to use a switch statement then I suggest you start with something a little simpler than a POS system. If you are too lazy to google `c switch statement` then I suggest you pick a less demanding field. | |
Re: And I've been using Windows since 3.1 and have never been the victim of malware so it seems to me that you are just making the point that you don't know how to protect a Windows based system as opposed to "Linux is better than Windows, nyah nyah". | |
Re: The last I had heard (in the US), you cannot be forced to unlock a phone that has been locked with a password, however, you are required by law to unlock a phone on request if it is locked via biometrics (fingerprint/facial recognition). While a biometric lock might be more … | |
Re: You don't write pseudo-code in python. Pseudo-code should be language independent. Thus the "pseudo" part. | |
![]() | |
Re: Under `Keep it Organized` you will find - Do not post the same question multiple times I believe cross posting is covered by that rule. Even though is might be implied that this refers only to posting the same question **on Daniweb**, it isn't expressly stated. | |
Re: Judging by your post it is possible that you have not read the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules) and [Terms of Service](https://www.daniweb.com/welcome/tos). Please give these a read. You might also want to [Read This Before Posting a Question](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) to increase your chances of getting a timely (and more useful) response. | |
Re: 536 lines of code and not one useful comment in the lot. | |
Re: you could make your logic a lot less complicated by something like if (score > 100) \\invalid else if (score >= 90) \\A+ else if (score >= 80) \\A else if (score >= 75) \\A- etc. You should also pick one of the more widely accepted methods of using brace … | |
Re: That's one of those questions they like to put on the exam to see if you know the inner workings of c/c++ even though no sane c/c++ programmer would ever code like that. | |
Re: Nobody here is going to do your homework for you. However, if you post what you have so far and show us where you are stuck you might get the help you are looking for. | |
Re: In VB.net you can assign a handler at run time with AddHandler. I think the c# equivalent is to assign it using `New EventHandler(handler)`. Just loop through your textbox controls and voila. | |
Re: Try ^(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]\d{3}[\s.-]\d{4}$ ![]() | |
Re: The same way you get good at any skill like dancing or playing a musical instrument. You just do it. Practice makes perfect. Also, read about good programming techniques because malpractice makes malperfect. And like anything that takes skill you have two choices: 1. Learn to do it well, or … | |
I have been using my HOSTS file for years to dummy out ad sites by adding entries like 127.0.0.1 www.ukbanners.com A while back I installed [Unchecky](https://unchecky.com/), a program which automatically unchecks all of those software extras that some installers like to enable by default (like McAfee). Today I noticed nthat … | |
Re: That's not how Daniweb works. If you are having a specific problem you can post a question (with code, if appropriate) and we will try to help you find a solution. But first you need to show us that you have put in reasonable effort to do it yourself. We … | |
Re: Try [WinMerge](http://winmerge.org/). It is a worthy successor (same company) to PMDiff, originally written for OS/2 (which I still miss). But not as much as my Amiga OS (totally off-topic plug) | |
Re: Judging by your post it is likely that you have not read the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules) and [Terms of Service](https://www.daniweb.com/welcome/tos). Please give these a read. You might also want to [Read This Before Posting a Question](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) to increase your chances of getting a timely (and more useful) response. | |
Re: As I understand it, his response to the troll label is "it's a silly sounding word so it doesn't apply to me." A Trump-worthy counter-argument if I ever heard one. |
The End.