46 Archived Topics

Remove Filter
Member Avatar for DavidB

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 …

Member Avatar for rproffitt
1
3K
Member Avatar for DavidB

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 …

Member Avatar for Tom_40
0
2K
Member Avatar for DavidB

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 …

Member Avatar for rproffitt
0
596
Member Avatar for DavidB

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 …

Member Avatar for happygeek
0
622
Member Avatar for DavidB

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 …

Member Avatar for diafol
0
193
Member Avatar for DavidB

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 …

Member Avatar for rubberman
0
496
Member Avatar for DavidB

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 …

Member Avatar for Mohosia bush
0
247
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
499
Member Avatar for DavidB

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

Member Avatar for taichichuan
0
239
Member Avatar for DavidB

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() { . . . …

Member Avatar for mike_2000_17
0
348
Member Avatar for DavidB

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 …

Member Avatar for SalmiSoft
0
543
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
3K
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
270
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
371
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
289
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
1K
Member Avatar for DavidB

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 …

Member Avatar for Brown427
0
676
Member Avatar for DavidB

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 …

Member Avatar for anfelar
1
327
Member Avatar for DavidB

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

Member Avatar for Shellback3
3
2K
Member Avatar for DavidB

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 …

Member Avatar for Troy III
0
5K
Member Avatar for DavidB

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 …

Member Avatar for Dani
0
278
Member Avatar for DavidB

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

Member Avatar for DavidB
1
736
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
337
Member Avatar for DavidB

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 …

Member Avatar for goldentuna
0
284
Member Avatar for DavidB

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 …

Member Avatar for PhilEaton
0
201
Member Avatar for DavidB

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 …

0
100
Member Avatar for DavidB

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

Member Avatar for DavidB
0
4K
Member Avatar for DavidB

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 …

Member Avatar for TrustyTony
0
273
Member Avatar for DavidB

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

Member Avatar for PrimePackster
0
142
Member Avatar for DavidB

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 …

Member Avatar for smithrona1
0
294
Member Avatar for DavidB

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 …

Member Avatar for Thomas.Fischer
0
383
Member Avatar for DavidB

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 …

Member Avatar for matricol
0
193
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
106
Member Avatar for DavidB

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 …

Member Avatar for commodity
0
204
Member Avatar for DavidB

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 …

Member Avatar for spamblocker
0
194
Member Avatar for DavidB

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 …

Member Avatar for DavidB
0
94
Member Avatar for DavidB

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 …

Member Avatar for mjdodd
0
153
Member Avatar for DavidB

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 …

Member Avatar for sandypeter111
0
132
Member Avatar for DavidB

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 …

Member Avatar for langsor
0
133
Member Avatar for DavidB

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 …

Member Avatar for kzt50
0
103
Member Avatar for DavidB

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 …

Member Avatar for homehtml
0
143
Member Avatar for DavidB

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 …

Member Avatar for jeffpaul
0
135
Member Avatar for DavidB

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

Member Avatar for kylethedarkn
0
143
Member Avatar for DavidB

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

Member Avatar for ~s.o.s~
0
127
Member Avatar for DavidB

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

Member Avatar for MidiMagic
0
166
Member Avatar for DavidB

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 …

Member Avatar for sn4rf3r
0
143

The End.