46 Archived Topics
Remove Filter This is an extremely basic question, but I haven't found an answer yet. I recently purchased a brand-new computer with Windows 10 and at the moment am using the Microsoft Edge browser that came with it. I would like to open some offline (HTML) pages, but the Control-O feature to … | |
I am updating a C++ program, part of which copies arrays of doubles by iterating through each array (copies elements of array wa2 into array X): for (j = 0; j < N; ++j) { X[j] = wa2[j]; } // End for j I would like to use the built-in … | |
Some of my connections on LinkedIn have been sending me requests to also connect with them on ReferHire and Dock (if you're on LinkedIn, you probably know what I am talking about.) So far, I have resisted. My first impression is something like, "Great. More social media networks. Isn't there … | |
I haven't used Twitter but keep seeing it mentioned in the social media community. And a couple weeks ago, I attended a short course in which Twitter was mentioned as a tool for job hunting (in addition to LinkedIn). So now I am considering creating an account and trying it … | |
I have been writing plain old vanilla JavaScript pages for a while, for numerical math problems. Usually, I create one page for a specific problem. For example, one page to solve a system of 3 Equations in 3 Unknowns, one page to solve a system of 4 Equations in 4 … ![]() | |
I am trying to translate an old FORTRAN program to C++ and appear to have hit a brick wall. I do not understand how one of the variables returned by a sub-routine can ever take a particular value. I am not a FORTRAN master; maybe somebody here is more familiar … | |
I am considering upgrading a computer from Windows 7 Home Premium to Windows 10. However, before I start the process, I have a couple questions hopefully users here can answer: 1) Does the upgrade require user registration info? The computer came with Windows pre-installed, years ago, and I really don't … | |
One of my websites recently had problems with the PHP news parser. For many years, it worked fine. However, a while back it started acting up. See the attached image of a screenshot. And since the PHP parser was the first block of code on the page, since it didn't … | |
I am trying to understand some old FORTRAN code and have reached a point that puzzles me. In the main program, a 1-D work array has been defined. i.e. - REAL WORKA(30) Later on, portions of this work array are passed into a few sub-routines: e.g. - CALL SNAME1 (10, … | |
I am working with dynamic arrays which have been created using **<vector>**. For convenience, I have created a typedef : typedef vector<double> C1DArray; In the main program, several variables are created using this definition which, at the moment, means working with arrays of size 30. main() { . . . … | |
I am trying to convert some old FORTRAN code to C++. I am about three sub-routines deep into the code and one of the sub-routines includes the following line (twice): CDIR$ IVDEP This is the first time I have come across this command, or directive, or whatever it is. What … | |
For the past while, I have gotten comfortable doing things a particular way when it comes to inputting data: i) create text file whose first entry is N, an integer indicating the number of data entries following, and the actual data entries. For example, for 101 data values, the text … | |
I (finally) signed up for a Twitter account and am spending some time to customize my Profile. A few free services have been mentioned that provide this functionality: add URLs, change pattern, add LinkedIn URL, etc. -- basically, a template that prompts users to input their info and then outputs … | |
Attached are two images that I took on a Windows 7 machine. They are portions of a document that was just opened in Adobe Reader X (Version 10.1.9). One image is of a yellow ribbon across the top of the document, warning about certain data security risks. The other image … | |
I have been spending a lot of time on LinkedIn lately and one feature I find annoying is the infinite scroll. I simply want to learn more about some companies: their size, earnings, number of employees, mailing address, etc. So I go to the company page on LinkedIn and quickly … | |
I am trying to use Visual Studio's debugging features more effectively; I certainly do not know all its ins and outs. At the moment, I would like to quickly see the values of an array. See the attached screenshot of the Watch Window. The variable **k** is a global array … | |
Yesterday (October 25) I spent a few hours working on a Word document. When printed out, it is six pages long. This morning (October 26) when I opened up the document to resume work on it, all my latest work was gone. The document property indicates it was last modified … | |
I would like to use Linux at home but do not want it to mess up anything on my home PC (Windows 7). Ideally, I would like to run it from a USB drive, as independent from the PC as possible. This is totally new territory for me, so I … | |
Here is a small--complete--program that includes a sub-routine that inputs two matrices and then multiplies them. Notes: * 1) I happen to like taking input from a text file. It eliminates the need to type input from the console, especially when debugging, it prevents the possibility of making typos. * … | |
Any time I have included an alert in a Javascript program, I have simply called it as "alert", for example, alert("The value of the variable is presently " + varValue + "."); However, I also see code that calls it as window.alert. For example, window.alert("The value of the variable is … | |
I have worked on a few blogs for several years and have treated them as a creative outlet. Haven't been concerned about getting followers or traffic. Presently, the "Blogroll" section of my blog is empty. However, I am now considering adding several URLs to this section. I don't plan to … | |
Here is my first Code Snippet contribution: a C++ sub-routine that computes the roots of a quadratic equation. Notes: * This sub-routine checks if a = 0. * IF a = 0, then the equation is actually not a quadratic equation; it is a linear equation with one--if any--root. * … | |
Hi, folks. I would like to start posting a few C++ code snippets and thought I would start with something well-known and simple: a Quadratic Equation Solver. I am trying to be as thorough as possible, so am also considering the possibility that a non-quadratic equation might be fed into … | |
Hi, folks. I have written some pretty complicated programs in Javascript (in terms of the code itself), but I haven’t experimented much with the nuts-and-bolts of Javascript. In particular, I have written all my programs as single blocks of code. For example, I have written several programs to solve for … | |
I am putting together a wish list for a new computer. I would like it to be dual-boot: Windows 7 and Linux (probably Ubuntu because I am not proficient with Linux). Any advice, tips, or suggestions for factors I should take into consideration when selecting a new computer? Does type … | |
I have recently gotten more involved in the logistics side of my employer’s activities and we use SAP for a large part of our CMS work (specifically, SAP by Design). We have hundreds of Sales Orders (SOs) in the system and they are spread out to 2016. I am now … | |
Hi all. I am just beginning to play with Linux, so I have some very noob-ish questions. I am using the Cygwin console on a Windows 7 computer, connecting to a server running a Gentoo kernel. At the moment, I am exploring some of the *real* basic commands: cp, pwd, … | |
I had an old version of Mathcad (version 7) running on an old computer (running Windows 2000). That computer recently died, but I have several .mcd files saved. I doubt there is an upgrade path for me; my version was too old. And 95% of the time, I used it … | |
Hi, everybody. I am reviewing some old code and two questions came to mind. 1) Is it better to use “[B]\n[/B]” or [B]endl[/B]? [INDENT]"[B]\n[/B]" seems to be working just fine, but most code samples I see in books nowadays use [B]endl[/B]. What is the difference?[/INDENT] 2) For multi-line output statements, … | |
I recently changed hosts for one of my web sites. Signed up for a three-year term and all the bells and whistles. When I logged into cPanel, the account came with five e-coupons for advertising: Google AdWords, Facebook, Bing/Yahoo!, Miva, and Bidvertiser. I am definitely not going to turn down … | |
Hi, folks. As you may have gathered from a previous post, I know next to nothing about PHP, so I have a very basic question: How do I force an exit from PHP? I have gone through a few books and come across the "die" and "exit" commands; however, they … | |
I am planning to change the web host of one of my web sites, and the site has a webmail service (similar to Hotmail, etc.). I recall that when I first set it up, I had to edit the MX record in the DNS file. Before I change the web … | |
I have almost no experience with PHP so I need some help with a small code block. My website used to be hosted by a company within my own time zone, so I used the following code to output the date and time on my web page: [CODE] <?php print … | |
One of my computers recently crashed. Fortunately, the .pst file was saved so not all is lost. However, I am considering [I]not[/I] installing Microsoft Outlook on the new computer. It seemed to take over too much of my system. A couple considerations: (1) If I install Outlook Express instead of … | |
I am quite irritated with Yahoo's new policy of requiring new users of their Delicious service to sign up with a Yahoo! ID. I do not want more email addresses to worry about, etc. I just want to bookmark. So now I am wondering, among all of Google's offerings, do … | |
Some sites seem to customize their pages depending upon where they detect you are from (i.e. - U.S., Canada, UK, France, etc.). How do they do that? It would be nice to do something similar. My site is pretty simple, but I would like to avoid the risk of having … | |
Hello, all. The company that hosts my web site does no filtering of spam or viruses whatsoever. Whatever is sent to me, I get. They have indicated that most of their clients are companies that deal with those matters at [I]their[/I] end. Previously, this was not a problem, because I … | |
Hi, everybody. I have noticed that there are a [I]lot[/I] of forums on the Internet. Many of them have the same themes and cover the same material that is covered on bigger sites (like DaniWeb). So now I am wondering if there is any benefit, in terms of marketing, to … | |
I usually code all my Javascript in a single external file that accepts the data from a form in the main page's HTML textarea box. Now I would like to break up this single Javascript file into separate files. For example, I'd like to have main.js as the main controlling … ![]() | |
Hi, folks. For those of you whose websites get significant traffic, I am wondering if there was one particular event that you consider to be a breakthrough? For example, was it a mention in a popular blog, in a community newspaper, radio, etc. What do you consider to be the … ![]() | |
Hello, everybody. Out of the blue I recently received an e-mail from somebody who would like to put a text ad on my website. This is the first such offer I have received, and I have no idea how to price an ad. Is it based on the PR of … | |
Hi, everybody. I am looking for advice from veteran webmasters--those who have successfully made money on the Internet. To me, it seems like the main ways to make money from a website are either an affiliate program or an AdSense account. However, I am becoming increasingly skeptical about making money … | |
Hi, everybody. I am thinking about upgrading from my existing DVD player to a new Blu-ray disc player. However, I am wondering if it is as simple as just purchasing the player. I don't want to purchase the player and then find out my TV doesn't support the connections, etc. … | |
Here is a basic question (I thought I knew how to do this, but apparently not). (I am using Firefox 2.0.0.4, in case that is a factor). I am writing a Javascript page and want one of the text fields to default to a blank when the page is reloaded. … | |
I am presently translating some code from C++ to Javascript and it involves quite a few floating point calculations. The program uses several built-in machine constants to help it quantify and limit computer round-off error. For example, it includes the constants DBL_MIN and DBL_EPSILON from the <cfloat> library within C++. … | |
Hi, folks. I input an RSS news feed on to my site and I use a PHP routine to parse the input. I barely know PHP; basically, I learned just enough to get the feed working. I would now like to make a small edit to the code and am … |
The End.