439 Posted Topics
Re: Hi, Dani. The trend in the world does seem to be toward specialization. People want ever finer control over their lives. That's why industries around print magazines, newspapers, CDs, videos, etc. are dying out. Myself, I don't want to have to buy a CD with nine songs I don't like … | |
Re: Hello, Rasha Ali. Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you … | |
Re: Could you be a little more specific please? What is going wrong? Does your program not compile? Does it compile but not execute correctly? Are you asking about a logic error? | |
Re: I don’t know about the memory- and time-efficiency aspects, but using [B]const[/B] is supposed to be best practice. I suggest getting in the habit of favouring the compiler instead of the preprocessor, or getting the compiler to do as much of your work as possible. As has been indicated already: … | |
Re: Hi, "Qqueen". Did you get your problem resolved? If not, what other steps have you taken to confirm one way or the other if your site has been hacked? What browser do you use? The reason I ask is because, if you use Firefox it usually accesses a database that … | |
Re: That is a pretty nebulous question; it covers so much ground. You learn best by doing, so continually program. Learn one thing at a time. It sounds like you are in school so, for the moment, focus on the languages you are covering in class. And keep asking questions. | |
Re: What have you tried so far? Off the top of my head, I'd probably use two variables. Call rand() and assign its output to an integer variable, say, *temp_int*. Do a modulus operation on this variable: *temp_int* %= 50; That should keep the variable's value to 50 or less. Do … | |
Re: > "How can I get both values for further comparison?" Not sure what you mean by this. The rest of your program doesn't do further comparison of the equal variables anyhow. If you just want to list all the variable names that contain the minimum value, you are going in … | |
Re: If you want to create a blog on a domain you already own and administer, you would first have to check with your web host to determine if it supports the features required. For example, WordPress is popular for self-hosted blogs. Its minimum requirements are PHP version 5.2.4 or greater, … | |
Re: Interesting article. This is the first I have heard about spicy food affecting cancer. I have read of several other foods that supposedly prevent cancer: eggplant, bitter almonds, apricot seeds, graviola, etc. Don't know if they are actually effective. Plus, sugar should be avoided. Apparently, cancer cells use five times … | |
Re: Does it have to be done like this? If you have to input a string and then extract the individual words and numbers from it, that would involve regular expressions and can get complicated. An easier way might be to use i) a radio button, and ask the user to … | |
Re: One of my contacts on LinkedIn uses Buffer: http://bufferapp.com/ He submits his article once and it is fed into several social media sites: LinkedIn, Facebook, Twitter, G+, etc. Also, HootSuite has been getting a lot of attention in the media lately: https://hootsuite.com/ I think it does the same as Buffer. … | |
Re: A few things come to mind: 1) you already know the size of the array, so I don't see the point of using the **new** operator, which indicates a dynamic array. 2) if the array is supposed to hold floating point numbers, why do you declare it type **int**? 3) … | |
Re: Is Firefox the *only* browser you use on that computer? If you use Internet Explorer on the same computer, do the pop-ups NOT appear? What other software are you using on that computer? Any free downloads? | |
Re: Hello, "catastrophe2". Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you around … | |
Re: Do you mean Google's EMD (Exact Match Domain) Update? Have you already searched these forums for existing discussions on the topic? In addition, Search Engine Land is always a good place to start looking for info about search engines: http://searchengineland.com/library/google/emd-update | |
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 … | |
Re: Just so I am clear: you have posted in the Javascript forum. Are you, indeed, working with Javascript? Or Java, as "Assembly Guy" implied? What have you done so far? If you post the code you have written so far, forum members can offer specific advice for making it work, … | |
Re: I just logged on to Facebook no problem (from Vancouver, B.C., Canada). I was able to get to twitter.com, but I don't have a Twitter account, so wasn't able to test further. | |
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, … | |
Re: What have you got so far? Do you know the algorithm for the Newton-Raphson Method? Have you written pseudo-code for this program? Have you got any C++ code written? | |
Re: Wow! You guys have some pretty specialized tastes. My own is pretty mainstream. I usually just go to Songza (http://songza.com/), on which I have found music I couldn't find anywhere else, raditaz (http://raditaz.com), which is available in the US (being in Canada, I have to VPN in to a US … | |
![]() | Re: You might also want to consider an online presence manager like about.me: https://about.me/ Then you could create whatever image you want as a background, supply whatever information about yourself you want made public, and then put a link to your Profile page in your signature. It's a slick way of … ![]() |
Re: >I personally think they should be left alone. . . . Agreed. The West should get out of the habit of meddling. And the fact is, we simply cannot afford to do it anymore. We should let somebody else take a turn shouldering the burden of settling conflicts. China sells … | |
Re: Post the code you have so far, so we can see what you have done. Then Daniweb members can try to help you. | |
Re: Hello, "naamurad". Welcome to the DaniWeb forums. Normally, new members make an introductory post in the "Community Introductions" section of the "Community Center." It is not *required*, but it is nice when new members introduce themselves and share a little information about themselves, their background, what school they go to, … | |
Re: I think you should do more thorough checking of **terms** between lines 20 and 23. It may be a letter, and have a value greater than 0, which satisfies the **if** condition, but you should do a better check that it is, indeed, a number before line 23. What if … | |
Re: At the moment, links in the main forum work fine for me. However, I notice the home page listed in my Profile still shows "Coming Soon", although the actual link works. Edit (5 minutes later): Oops, it is working fine now, just like before. | |
Re: > See: . . . There is also an informative post made by Danny Sullivan on Search Engine Land: FAQ: All About The New Google “Hummingbird” Algorithm http://searchengineland.com/google-hummingbird-172816 > " . . . has anyone seen a flux in that over the past month?" For my sites, traffic always goes … | |
Re: rand() gives an integer between 0 and RAND_MAX. To get a number between 0 and 25, I'd do something like the following: 1) Divide the output of rand() by RAND_MAX to get a number between 0 and 1. 2) Multiply the result by your desired maximum, in this case, 25. … | |
Re: I haven't gone through your code in detail, but perhaps you could give a rough outline of what the inputs are and what the program does. The reason I ask is because usually when eigen*vectors* are computed, they are computed for corresponding eigen*values*. i.e. - Solve [A] - [I]lambda = … | |
Re: Hello, "wasik". Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you around … | |
Re: "bourisly": Please post the code you have so far. Once we see what you've done up to now, we can offer suggestions for how to edit the program so it does what you want. Does your existing program accept input of the numbers and then output them? That way, you … | |
Re: What kind of answer are you looking for? An exact time in milliseconds? I don't think anybody could give that kind of answer. It would depend upon the hardware you use and several other factors. Are you supposed to write a program execution timer? You'd have to get a hook … | |
Re: Hi, Louis. Years ago, when I first joined Daniweb, I think all discussions for the less-popular languages were thrown into the "Legacy Languages" forum: "Software Development" -> "Legacy Languages" That is where you'll find any questions relating to MATLAB, MathCAD, AutoCAD, etc. As far as I know, there simply isn't … | |
Re: >I write to inquire about the necessity of domain registration. What does it actually provide and is it necessary? Guidance sought If you want to continue owning your own website then, yes, domain registration and renewal is necessary. If you don't do it i) you don't get to own the … | |
Facebook sometimes suggests people with whom I can connect. Some of them are old contacts from high school. However, the odd time I wonder if I have already sent them a friend request, which they have ignored. My question: Is there a way to tell if I have previously sent … | |
Re: I think it is 1.79769e+308. You can access it via numeric_limits::max i.e. - #include <limits> If you then output a statement for this limit for type double, it should give the number I gave up top. | |
Re: It should be as easy as logging in to your account and deleting it. For example, if I log in to my Delicious account, I can select the bookmark, and then choose to delete it. All the other social bookmarking sites offer similar features. I don't understand why you would … | |
Re: It looks like you are computing the height of the function by moving over an x-quantity 0.001, computing the area of that small segment, and then adding it to the running total. I think that is the triangle rule; is that the method you are supposed to use? In any … | |
Re: That's a pretty nebulous question. In what language are you planning to code? Could you give us a better idea what you are trying to do. | |
Re: Is writing a password manager system your assignment, or do you just happen to need a password manager? If you just need a Password Manager, there are many already written, and very good. For example, KeePass, 1Password, and my1login. If you need an encrypted plaintext system, you might want to … | |
Re: ">Basically I am trying to set size for each form differently." I think you would have to create a different style for each of those sizes and preface them with different names. For example, formsize1, formsize2, formsize3, etc. Then, in the web page itself, you'd have to style each code … | |
Re: >So, who is going to school in September? Not me. I have been out of school many years now. However, I wish I was going to school; I miss it. It was stimulating and satisfying. It sure beats some of life-sucking work I have been doing since graduating. I take … | |
Re: What are you doing now (i.e. - grade in high school, college, etc)? If you are sure you want to pursue a career in Computer Science, I suggest you start exploring Linux. It is not exactly Computer Science, but most jobs in the field like to see somebody with some … | |
Re: > can anyone help me fix my program? What is wrong with it? Is it not compiling? Not executing? Executing, but outputting unexpected results? ... What input are you feeding in to the program? A couple aspects of your program caught my eye: 1) Line 15 is a standalone **for** … | |
Re: Somehow your program has to determine which of the five formulae will be used when it is executed. The program must make this decision based on parameters within the program, or it must be told exactly which formula to use based on user input. For example, the program might prompt … | |
Re: Your title is a bit misleading; submitting a site to Yahoo! is unrelated to on-page optimization. *On*-page optimization is about factors *on* the page that make the page search engine friendly. Getting links to a page, submitting to directories, social bookmarking, etc. is part of the field of *off*-page optimization. … | |
Re: > I don't use any online storage but I would imagine SpiderOak is preferable to DropBox. SpiderOak uses on-the-fly encryption . . . Nice. I will have to check that out; I hadn't heard of SpiderOak before. I presently use Google Drive, ADrive, Box, and My Shoebox (shoeboxapp.com) for photos, … |
The End.