439 Posted Topics
Re: I am no Linux expert, but you could use a few options to shut it down or hibernate: shutdown, reboot, hibernate, sleep, . . . It is pretty easy to specify a particular time for the machine to shut down or go to sleep. However, waking it up is another … | |
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 … | |
Re: > but openoffice is not fully compatible with microsoft office in terms of file format as microsoft word 2010 doesn't open .odf 2.1/more You dug up a thread from eight years ago?!! Times have changed since then. In fact, the last I heard, development of OpenOffice has ground to a … | |
Re: Do you have an existing system using SharePoint? I know it is popular with some of the local school boards in my community--but in this case, they are connecting schools physically spread around the city. If you do *not* have an existing SharePoint system, and all your users are in … | |
Re: Did you want this action for only *one* of the forms on the page? If not, perhaps just have the default setting to be checked or unchecked; then reload the page when you want the checkboxes to return to their default state. Alternately, you might have to write a custom … | |
Re: You mean Visual Studio 11 Beta? The MSDN site (http://msdn.microsoft.com/en-US/vstudio) mentions some Visual Studio 11 Beta Forums. Here is the direct link: http://social.msdn.microsoft.com/Forums/en-US/category/vsvnext Hope this helps. | |
Re: I would think that registering in forums just to create a profile with a hyperlink and then not posting in the forums would not be worth the effort. Nobody would even know you exist on a forum unless you make the occasional post, so nobody would look at your profile … | |
Re: It only lists the files in the present working directory. help gives a lot of useful information: `ls --help` Here are the relevant lines output when I ran this command: -l use a long listing format -t sort by modification time, newest first -r, --reverse reverse order while sorting | |
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, … | |
Re: I use Firefox 12.0 on a Windows 7 computer. No plug-ins or add-ons. It does seem to crash once per session, although I had not made the connection to either Javascript or ads. In fact, it just crashed 2 minutes ago, so now I am using IE. | |
![]() | Re: You seem to be mixing up two different types of input: a textbox and a textarea box. Which one do you want to use? You could do it both ways. The textbox allows for input of one variable at a time. "g0dzuki99" has suggested one way. A textarea box could … |
Re: Could the dimensions of the matrix not be included in the file itself? That is what I usually do. The very first entries of the file are the dimensions of the matrix, say, 8 10 The rest of the file contains the matrix entries themselves. However you do it, you … | |
Re: "nitinmbhanu" has given you some code for a 3x3 matrix--assuming it is correct. However, I don't know if it will do you much good for a matrix of another size. To set a row or a column of the matrix to a certain value should be easy enough, just use … | |
Re: Hello, "jakezcop". 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 learning and sharing ideas. I am sure you will learn a lot here. See you around … | |
Re: Hello, "Nimrod7676". 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 … | |
I haven't had time to explore thoroughly, but I don't see an option to NOT have my signature included with a post. Even though I have a signature created in my Profile, I previously would uncheck the option to have it displayed with most posts. Now I don't see that … | |
One feature I missed with the previous version of Daniweb was the ability to do an Advanced Search. In other forums using vBulletin, I was able to search for posts by, say, username, in a particular forum, in the past month, etc. The present incarnation of Daniweb doesn't seem to … | |
I recently started a new job and have been asked to install and configure an IRC client so that everybody in the department can stay in touch--even when some people are working from home. This is totally new to me. Apparently MSN Messenger is only good for one-to-one communication, but … | |
Re: Hello, John. 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: [QUOTE=Ancient Dragon;1762133] . . . Code::Blocks is distributed with a greate compiler. when you download CB get the distribution that contains MinGW compiler.[/QUOTE] Not to hijack the thread (though the OP hasn't posted here since 2009), but I am presently looking around for a free C++ IDE/compiler myself. Would you … | |
Re: There are many sites that discuss the algorithm; have you done any searches? Here's one: [URL="http://www.pr.efactory.de/"]A Survey of Google's PageRank[/URL] There is a LOT of information available; you just have to look for it. | |
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 … | |
Re: You are using the exact same form element name for the checkbox and the textboxes: [CODE] if (theForm.[COLOR="Red"]DigRacing[/COLOR].checked) { total += parseFloat(theForm.[COLOR="Red"]DigRacing[/COLOR].value); } if (theForm.[COLOR="Red"]AtariJoystick[/COLOR].checked) { total += parseFloat(theForm.[COLOR="Red"]AtariJoystick[/COLOR].value); } if (theForm.[COLOR="Red"]FXLightsaber[/COLOR].checked){ total += parseFloat(theForm.[COLOR="Red"]FXLightsaber[/COLOR].value); } [/CODE] Shouldn't they be different? What kind of errors are you getting? | |
Re: Newton's Method works exactly the same for an equation with complex coefficients as it does for an equation with only real coefficients. The only difference is the extra bit of algebra involved for manipulating complex numbers. For example, dividing real numbers is as simple as doing a/b. However, dividing complex … | |
Re: Hello, Remi. 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. I am sure you will learn a lot here. See you around the forums. | |
Re: Does your existing code work? What does fn do? Troy III's method should work. I usually go with something less fancy (a plain old [B]for[/B]-loop): [CODE] for (var i = 0; i < l; i++) { fn(p[i]); } [/CODE] | |
Re: You might also want to check out node.js. There seems to be a bit of buzz about this too. | |
Re: To be thorough, you should also test for exceptions--in case memory can [I]not[/I] be allocated. I have posted three versions of a program that dynamically allocates memory for a 2D matrix on my website (see my sig, near the bottom of the page: "Dynamic Arrays in C++"). Maybe these code … | |
Re: Hello, "canniemar". Welcome to the DaniWeb forums. Good to have you here. Looking forward to your participation. | |
I am doing some pre- Spring Cleaning and want to get out of my home a bunch of old cassettes. They still work, and I bought them properly (since piracy wasn’t as popular several years ago), so I hate to just throw them in the garbage. But I’d like the … | |
Re: Is the error during compilation, or during execution? What is the error message? Taking a quick look at the code--and maybe I am mistaken--but the closing brace on line 28 seems to match the opening brace for the [B]for[/B] loop on line 24. Or is that for the [B]if[/B] statement … | |
Re: Hello, Sandrine. 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: I see from your other posts that you know how to use do-loops and for-loops, and how to define and use variables. So what is the hold-up on this problem? How far have you got on this program? Post the code you have so far. It would give us at … | |
Re: Hello, Sara. 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 … | |
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, … | |
Re: Hello, "christiankrell". Welcome to the DaniWeb forums. Maligayang pagdating. We are glad you joined us. This is a good group of people, and there is a lot of good information and many knowledgeable members in these forums. I think you'll like it here. See you around the forums. | |
Re: Hello, Jimakos. 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 … | |
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 … | |
Re: That forum list linked to by "cwarn23" is pretty big. I haven't heard of most of them. I have probably only come across five of them in my web travels: vBulletin, Invision, phpBB, Simple Machines, and Yet Another Forum. phpBB is popular because it is free and it is actually … | |
Re: I think articles are better for establishing a person's authority and gaining them [I]quality[/I] backlinks. Writing an article is harder than writing a blog post. It takes more time, it has to be well-written, it has to go through an editor, the benefits do not appear immediately, and results are … | |
Re: Why not just send an email to the blogger and ask him what he uses on his blog. If you ask politely, most webmasters and bloggers willingly share their information. While you are waiting for a reply (assuming it comes) browse around the Wordpress site and investigate all their plug-ins … | |
Re: I took a very quick look through your code, so did not make sure all braces matched up. However, I think [I]one[/I] error might be on line 16: [CODE] if(wh[j].amt[i]>0 && quantity<=wh[j].amt[i]) [/CODE] The very first time through the loop, [B]j[/B] is 0. But you checked wh[0] in the previous … | |
Re: Well, there may be other errors in your code, but that line right after your comment, "I am getting error here" doesn't make sense to me. Are you trying to declare a variable named [B]bRow[/B]? But then you don't use it. And that is not the proper way to define … | |
Hi, folks. I recently started posting photos on Flickr and a pretty simple question just came to mind. I didn't see it mentioned in the FAQs, but maybe somebody in these forums is more familiar with the service than I am. How long do photos remain accessible through my account? … | |
Re: What does your code do now? Does it compile? Are any errors created when you run the program? I have posted three small sample programs off the following page: [URL="http://www.akiti.ca/DynamicArraysIntro.html"]Dynamic Arrays in C++ - Some Basic Examples[/URL] They use dynamic arrays and take in numbers of type double. Hope this … | |
Re: Hello, Michael. 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: Hello, Lucas. 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: I agree too. Answer 4 is the best. This product cannot be calculated. Matrix A is 3 x 2 and Matrix B is 3 x 1. To be able to form the product AB, the number of columns of A has to be the same as the number of rows … | |
Re: You could just pass it by name. Say you want to change the second entry of [B]arrA[/B] (remember that array indexing begins at 0). In the main program, just feed [B]arrA[/B] into the sub-routine "display": [CODE] display(arrA); document.writeln(arrA[1]); [/CODE] Remember that arrays are considered a reference type, not a primitive … | |
Re: Hmmnn... I thought I was pretty good at math, but I don't understand this question. It almost looks more like a mathematics question than a computer science question. Just out of curiousity: what are you studying? And what level are you? |
The End.