12 Solved Topics

Remove Filter
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 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 (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

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

It has been a while since I tweaked my Profile, and I just spent a few minutes reviewing it. There are fields in our Daniweb Profiles for our Facebook and LinkedIn URLs (among others). I hesitate to share this information because I'd probably end up with many "friends" from India, …

Member Avatar for DavidB
1
439
Member Avatar for DavidB

I think I just messed up my signature. It was the same for several years: it had the anchor text I wanted and hot-linked to my website. It was pretty much just how I wanted it. However, I just made a small punctuation change and now my hot-linked anchor text …

Member Avatar for DavidB
0
162
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

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

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

The End.