4,901 Posted Topics

Member Avatar for Gabi_1

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 …

Member Avatar for Reverend Jim
0
252
Member Avatar for Tito_3
Member Avatar for xrjf

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

Member Avatar for xrjf
0
2K
Member Avatar for alan.davies

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 …

Member Avatar for Reverend Jim
1
422
Member Avatar for Shankar.Shiv

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?

Member Avatar for Reverend Jim
0
274
Member Avatar for thomas_43

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 …

Member Avatar for benanamen
0
311
Member Avatar for Megan_7
Member Avatar for John_165

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 …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Adeniyi_3
Member Avatar for Reverend Jim
0
100
Member Avatar for ethardsdaisy92

1. Read 1. Write 1. Repeat We learn by doing. If you don't put in the effort you won't learn anything.

Member Avatar for Reverend Jim
0
113
Member Avatar for Kushmitha
Member Avatar for Usama_9
Member Avatar for Godwin_3

You could also start by reading [Gaussian Elimination Algorithm](https://en.wikipedia.org/wiki/Gaussian_elimination).

Member Avatar for Reverend Jim
-1
669
Member Avatar for Sam David

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 …

Member Avatar for Sam David
0
497
Member Avatar for Siberian
Member Avatar for Harish_8

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 …

Member Avatar for JamesCherrill
1
565
Member Avatar for zaka_1
Member Avatar for Bob

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.

Member Avatar for JamesCherrill
3
53K
Member Avatar for COKEDUDE

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 …

Member Avatar for AssertNull
0
408
Member Avatar for Black Magic

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.

Member Avatar for Reverend Jim
0
5K
Member Avatar for Reverend Jim

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 …

Member Avatar for rubberman
0
416
Member Avatar for send_1

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

Member Avatar for Reverend Jim
-2
257
Member Avatar for navjot_2

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.

Member Avatar for benanamen
0
353
Member Avatar for pty

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

Member Avatar for pty
2
594
Member Avatar for Matias_2

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

Member Avatar for Reverend Jim
0
430
Member Avatar for Siberian

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 …

Member Avatar for Reverend Jim
0
10K
Member Avatar for Brandon_21
Member Avatar for abubaker_2
Member Avatar for abdisa
Member Avatar for Eoin_1

You also might try the `takeown` command. Type takeown /? for instructions.

Member Avatar for Reverend Jim
0
340
Member Avatar for Always_1
Member Avatar for Reverend Jim
0
133
Member Avatar for Tyron_1

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.

Member Avatar for Reverend Jim
0
359
Member Avatar for Onederer_1

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

Member Avatar for Onederer_1
0
545
Member Avatar for happygeek

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 …

Member Avatar for happygeek
1
2K
Member Avatar for Poongkuyil

You don't write pseudo-code in python. Pseudo-code should be language independent. Thus the "pseudo" part.

Member Avatar for Adam_40
0
249
Member Avatar for Warrens80
Member Avatar for AssertNull

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.

Member Avatar for Dani
1
625
Member Avatar for omojolinho

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.

Member Avatar for rproffitt
0
224
Member Avatar for divinity02
Member Avatar for Nrsrh

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 …

Member Avatar for Nrsrh
0
2K
Member Avatar for sgw

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.

Member Avatar for sgw
0
590
Member Avatar for Lana_3

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.

Member Avatar for Reverend Jim
0
154
Member Avatar for phphp

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.

Member Avatar for Reverend Jim
0
214
Member Avatar for nadiam
Member Avatar for Shulc

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 …

Member Avatar for Reverend Jim
0
241
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for sheik_2

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 …

Member Avatar for Reverend Jim
0
176
Member Avatar for davy_yg

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)

Member Avatar for Reverend Jim
0
731
Member Avatar for MUHAMMAD AHMAD_1

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.

Member Avatar for Reverend Jim
0
348
Member Avatar for UI

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.

Member Avatar for tango_1
-2
3K

The End.