4,911 Posted Topics
Re: Whatever language you choose, become familiar with it before you try to do anything complex. | |
Re: Start with pseudo-code. Instead of coding (telling the computer how to do it), pretend you are writing instructions to tell a human how to do it. | |
Re: You obviously didn't read the rules [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) or [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) or you would have 1. shown proof of effort 1. chosen a more descriptive thread title 1. asked for help instead of demanding a solution | |
APLX is a very complete implementation of the APL programming language from MicroAPL. The company stopped producing it in 2016 and it has been taken over by Dyalog. While Dyalog charges for the new versions, the final version from MicroAPL is available for free at [this page](http://www.dyalog.com/aplx.htm). It comes complete … | |
Re: The criterion was "if more than two features do not match they are denied". In that case IF no-match <1 PRINT 'denied' should be IF no-match > 2 PRINT 'denied' and you will want to keep track of the denials via a counter as in IF not 'photo' skin tone … | |
Re: There is a big difference between >Could somebody help me out with programming a Tic Tac Toe game? and >I would love to have to have the code The first is "I'm stuck here" and the second is "I don't want to bother to learn anything. Please do it for … | |
Today I tried to install the Windows 10 Fall Creator's Update. It failed with the message  I found this peculiar because I don't have that application installed. I **do** have Macrium Reflect (Free) version 6 but certainly not Drive Image 7 (Powerquest). As usual, clicking the Support link … | |
Re: Check the fan. Overheating can cause your problem. | |
Re: A tip for future posts - if you are getting errors then post the error messages (and the lines that are causing the errors). | |
![]() | Re: Plus, if you are stuck at the beginning it's a good sign that you are biting off more than you can chew. Some people seem to think they can go from "hello, world" to complex applications without doing all the work in-between. I call this JBS for Jethro Bodine Syndrome. … |
Re: How long it takes to learn a new skill depends on many things. Among them are: 1. Your current skill set. Do you have any experience in programming in any other language? You have given us no indication of this. 1. What language you are planning to use. You haven't … | |
Re: Please explain. When I ran it with some numbers, my output was Interest = 1976.07 What were you expecting? | |
When I retired in 2008 after carrying a cell phone for years on standby for our control centre I swore I would never get another cell phone. I was wrong. It took ten years but I finally broke down and got a SpeakOut pay-as-you-go FiGO Ultra. It's got everything I … | |
Re: System Idle Process is just unused cycles. The higher this number the less busy your CPU is. | |
There are a number of very old threads on CUDA so I'm starting a new one rather than resurrecting an old one. Does anyone here have any experience setting up and developing in CUDA on a Windows platform? I know that there is a system that can be set up … | |
Re: If you are restoring to factory then I suggest that once restored you download two programs (both free) [EaseUS Partition Master](https://www.easeus.com/partition-manager/epm-free.html) [Macrium Reflect Free Home Edition](https://www.macrium.com/reflectfree) Install EaseUS and run it to shrink the system drive to something like 120 gig. Then creade a partition on the unused space and … | |
Re: What line is giving you the error? | |
Re: If you are just learning IT security then you should first learn the definitions of 1. ASCII 1. SQL Injection Attack before asing the question. ASCII is a mapping of bit patterns onto characters (EBCDIC and unicode are two others). SQL injection is a method of embedding unwanted (to the … | |
Re: >And likewise, Pornography is wrong and it's spread and use should not be tolerated or encouraged by society For those people who believe that increased access to porn would spur an increase in sexual assault, the exact opposite has occurred. Availability of porn via the internet has exploded since 1995, … | |
Re: The nice thing is we can infract/ban and still leave the post visible as a warning to others. For those people who don't see the harm in having someone else do their homework, how would you like to get surgery from a doctor who got his medical degree that way? … | |
Re: And if you can't remove the drive and have to run a recovery program, run it from some other media like a USB stick. | |
Re: You may have an excellent connection to your router, but why would you think the router connection to the wifi would be any better than connecting to the wifi directly? All you'd be doing is moving the bottleneck one step farther from your computer. | |
Re: I think that in a few years the term "self-driving car" will refer to a car that you drive yourself rather than a car that drives itself. | |
Re: This is a standard homework problem and we don't do homework. | |
Re: You don't need a regex for that. Just take any line starting with `Inode count`, split on blanks, then take the last element. Or, if you pipe the output from `df` to `grep` you can filter out only the `Inode count` lines. Pipe the output from that to your script … | |
Re: If you've done a factory reset you might try looking it up on [router default passwords](http://192-168-1-1ip.mobi/default-router-passwords-list/) | |
Re: Beware of the double-dot problem. This occurs when using an Excel object from within another application. Instantiate intermediate objects before you use them. For example, use a local variable for the sheet object then operate on stuff in the sheet using that object. If you don't then multiple copies of … | |
Re: And lose the GOTO. There are times when a GOTO is acceptable, even preferable, to the structured equivalent. This is not one of them. | |
Re: I suggest using a bitwise AND to test if the rightmost bit is a 0 or 1. | |
Re: It's still there but unnecessarily difficult to post in. Start by going to the programming area. Right underneath "Start New Discussion" and "Realtime Chat" you'ss some tabs labeled "ALL New Solved Unanswered More v". Click on "More v" and "Code Snippets" is at the bottom. Start by making a regular … | |
Re: RE: tire analogy, I can see whan a tire is flat. I can't see when a CMOS battery is dead. Also, CMOS batteries last for years so I would imagine most people would opt for a newer, faster computer when faced with a possible couple of hundred for a repair … | |
Re: The simplest explanation would be that they are arrays that are initialized to zero. For example, if you declare an integer array of size 100 and whatever language was used to crerate the exe automatically sets the default value to zero (some languages may not do this) then you will … | |
This code generates an ascii maze of up to size 30x30. If you try to generate a larger maze then you will likely run out of stack space. There is no way to increase the size of the stack in vbscript. Each cell in the maze is represented by a … | |
Re: Are you still looking for the code for accessing a scanner? I had to do the same thing. I was tired of having to go through multiple forms and third party apps so I was able to find come vb code which I modified so that I could go directly … | |
Re: He hasn't been on Daniweb for four years. Please do not revive old threads. Start a new thread with your question. | |
Re: Easily done, but what do you do if the folder contains an executable or an image file?You don't want to delete ^M in those. | |
Re: >I do not know that there are rules here. Were you not presented with the rules/TOS or a link to them when you signed up/posted? And did you decide to not read them? | |
Re: And I just got a PM from him saying "cheers". I thought newbies couldn't send PMs. | |
Re: Your approach is completely wrong. You should be creating an array of denominations from largest to smallest, then using a loop to remove multiples of each decreasing denomination. Once you have your array set up, your code to do the change shouldn't be more than 10 lines. | |
Re: How about if numItems > 5 | |
Re: billtax= bill *6.75; I'm assuming that tax here is 6.75%. What you have coded is actually 675%. I think you want billtax= bill *.0675; and if billtax is bill + tax then billtax= bill * 1.0675; | |
Re: Do a google search for beep codes for your specific computer (which you didn't bother to mention). | |
Re: Please take care to post in the appropriate forum. | |
Re: You can use the Windows disk management console, `diskmgmt.msc`. Right click the USB disk and select `Format`. Pick the file system type on the format dialog. If that doesn't work you can always use the `diskpart.exe` utility from the command line, but you gave to be running the shell as … | |
Re: What have you tried so far? |
The End.