137 Posted Topics
Re: Insert your flash drive into the USB port and let it get recognized/installed/whatever so that it shows up in "My Computer" (this should happen automatically when you plug it in). Open the "My Computer" window and locate the flash drive. Right-click on it and choose "Format..." from the resulting window. … | |
Re: This ugly bit of PHP code works for what we want to do, which sounds similar to what you want. It should be a good starting point. searchfile is the concatenation of the website's access logs $key is the filename you want to check for being accessed. [CODE] $COUNT=shell_exec("cat searchfile … | |
Re: [QUOTE=marco93;1085365]system() is prohibited on Windows. Use SE() or any other api[/QUOTE] Patently false. I use [CODE] command.Format("wget %s -O C:\\Path\\log\\%s.mp3", testAudio, timeStamp); // format command do download audio (check if present) system(command);[/CODE] in some of my code and it works just fine under all versions of Windows on which I've … | |
I've pretty much got it down how to determine operating system version, service pack level, 95/NT based, etc. for Windows XP and earlier versions by using GetVersionEx(...) and that's pretty handy for getting system information that software users probably don't know and don't know how to figure out (sadly). A … | |
Re: My reply from [URL="http://www.daniweb.com/forums/thread238803.html"]this other thread[/URL] is below. Do you understand different number bases? You could use an atoi(...) type function to convert it to an integer, then you can output it in whatever number base you want to. Or, if you want to do it manually, divide out and … | |
Re: [url]http://www.computerhope.com/beep.htm[/url] has some information about the power on stability test (POST) beep codes. | |
Re: Here's my understanding of your question: You will need a for loop that runs from zero to length-1 (i.e. the first element of the arrays to the last element. Inside of this for loop, for each element of array 1 that is negative, you will need to multiply your running … | |
Re: Show us the code for the button handler. Are you trying to run the executable on the development PC, or on a different one? | |
Re: What do you want? Code critique? We can't do that unless you post your code. | |
Re: If I'm understanding your dilemma correctly, you just need to declare a counter integer, initialized to zero, before the for loop and each time your (if num[i]>100) condition is met, increment the counter. | |
The backstory: I want to be able to sell this embedded system that I'm creating, a large part of which relies upon an executable piece of software running under the windows operating system on a small PC board in the unit. Software updates for the customer should be easily enough … | |
Re: Several examples here: [url]http://tinyurl.com/yclgcy3[/url] | |
Re: That's very interesting. I'm doing some work with the next generation of these types of alerts right now myself. Presumably this will be implemented using CAP? | |
Re: I took Spanish and French in high school, then German and Latin in college. I think that German, Spanish, Portuguese or Japanese would probably be helpful for a programming career with the romance languages probably being easier to learn. | |
Re: I'm surprised that this would be the error you get for it, but aren't you trying to declare those functions inside of your validateCard function? | |
Not sure if this is the right spot for this or not. I'm trying to figure out how one would go about creating a broadcast quality text crawl and having it run over top of a live digital television signal. The K.I.S.S methodology would be the best; I would like … | |
Re: Give more information. What are your: Operating System? System Specs (RAM, Processor speed)? Video Card? Monitor? | |
Re: Here is my response to the last hex-to-decimal thread: divide out and sum the multiples of powers of 16. i.e. 0x539 = 5*(16^2) + (3*16^1) + 9*(16^0) = 5*256 + 3*16 + 9*1 = 1280 + 48 + 9 = 1337. The rightmost (least significant bit, LSB) represents 16^0, or … | |
Re: Did you check to make sure that the fan is running? If not, that'll do it. If so, check if the fan has two or three wires running the fan header on the board. If it's only two wires then there is no feedback from the fan to the PC, … | |
Re: Is everything properly grounded? Try plugging your display into a different wall socket than your machine (not a different outlet on a power strip or the other outlet in the same wall-box, but another wall-box altogether, maybe even on another circuit). It sounds like the capacitors that feed the display … | |
Re: Have you learned for loops yet? That might be a better way about it: My brain is kind of sleepy...is this right? [CODE]factorial = x; for (i = x, while x is greater than 1, decrement x each iteration) { factorial = factorial*(i-1); }[/CODE] I believe your error stems from … | |
Re: I think it sees this: [CODE]firstcube = [COLOR="Red"]static double[/COLOR] pow(double first, double 3);[/CODE] and expects you to be declaring a static object of type double, so it expects a name but instead gets a call to pow(...). Are you trying to cast the results as a double? pow(...) should already … | |
Re: How do you mean? I wouldn't say that it's suitable for much at all. | |
Re: do [CODE] int Input = guessReader.nextInt(); if (Input< 1 || Input > 100) System.out.print("your guess should be between 1 and 100! "); else if (Input > answer)// creates the too high System.out.print("your guess too high! "); else if (Input < answer) //creates too low System.out.print("your guess too low! "); else … | |
Re: Do you also have a firm grasp of the integer math that was happening in the first place (i.e. why the integer 2 divided by the integer 3 yields the integer 0)? Just in case you don't, it's because 2 will not divide evenly by 3, so there is no … | |
Re: There is some very interesting research going on it artificial intelligence (specifically, case based reasoning (CBR)) pertaining to diabetes management. I wrote my MSCS thesis and a whole pile of similarity determination/case retrieval code for that project. CBR isn't too difficult and it can be applied to anything that humans … | |
Re: Isn't your loop on [CODE]str.charAt(i)[/CODE] looping through on each character in the input string? Also, I think you want to loop from 0 to the length of the input string, not 0-6. The characters for which you are checking don't have to be in the first 6 characters of a … | |
Re: What are you trying to do and what is it doing wrong? It looks like you read one character of input from the reader and store it in "name" char variable, then set the first element of names[9] equal to that character. If you're tying to use whole names, you … | |
Re: See comments [QUOTE=Phil++;1052750]Hey, I'm applying to University to study Computer science and need your opinion on my personal statement: [I]From an early age I have always been extremely interested in computing. From playing games, doing School work [b]and -> [COLOR="Red"]to [/COLOR][/b] discovering the inner workings of computers and what else … | |
Re: There are at least two other threads about this exact homework problem on DaniWeb alone with countless others all over the internet. | |
Re: Absolutely we can help you. Please post the part of your code which is giving you errors and we'll help you troubleshoot it. | |
Re: Did you try looking for it yourself first before posting? A quick google search found several results, including [URL="http://www.softswot.com/sourcehelp.php"]this.[/URL] I think a lot of people try to keep stuff like this under wraps since a lot of sites have weak PHP-based security (i.e. hard coded username/password arrays, links to the … | |
Hello all, I'm donaldw. Like many, I'm sure, I've come here for a long time before posting; mainly from Google search results for programming problems that I've had. I've been a member of several programming forums, but none really seem to be very useful and I end up posting my … | |
Re: [URL="http://www.stdlib.com/art6-Shortcut-File-Format-lnk.html"]Brief version of shortcut file format[/URL] [URL="http://www.i2s-lab.com/Papers/The_Windows_Shortcut_File_Format.pdf"]Longer version of shortcut file format[/URL] It's just a base-16 encoded file using the above format. Open some of your existing shortcuts with a hex viewer for some examples/clarification. | |
Re: Is that the exact code that you turned in? It's not that you're not calling the functions correctly from the main function; you're not calling them at all! Did you write the functions, or were they given to you? I'm guessing it's the former. Why are you passing in "count" … | |
Re: The thing you're trying to accomplish is called a watchdog. Search google for "process watchdog" "watchdog timer" or similar queries and they should be of some help to you. | |
Re: Sure, but you're probably better off just getting a thrift store keyboard, monitor and mouse. Cheaper. This is less bulky though: [url]http://www.buy.com/prod/laptop-usb-kvm-switch/q/loc/101/209995346.html[/url] | |
Re: Do you have a bootable CD in one of the drives? If so, take it out and try it again. Barring that, a good starting point would be to go in to the BIOS and make sure that your boot devices include the appropriate HDD (i.e. the one with your … | |
Re: At which point does the data disappear? If you run the code to right before the return statement, is the data present? Are you sure it's not returning a polynomial object OK but the output is getting hosed up with the << operator? Everything should still be in scope at … | |
Re: I have no idea what you're trying to do in that code, but "char" is a data type, so you're trying to set a data type (as opposed to a variable) equal to "something." That "something" is the first element of an array called one, two, three, four, five, six, … | |
Re: Do you see the rest of your BIOS information on the monitor while it's booting/ after POST? It could be displaying that stuff in some weird display mode and you're not seeing the prompt for the BIOS menu or boot-mode select or "boot from CD". Try just starting to pound … | |
Re: Restart the machine and try again. If that doesn't work, jam a straightened paperclip into the small hole on the front of it to eject the tray. Take out your media (if present) and try to operate the tray using the button. If the button doesn't work, restart the machine … | |
Re: It looks like you're trying to place a marker ('0') somewhere within a field of eleven stars based on user input, which represents places from the right, starting with zero on the right and ten on the left. If that's the case, first you'll need to read the input from … | |
Re: You want game logic ideas? Pseudo code: const integer max_level = NN; integer sequence[max_level]; for ( i = 1 to max_level) // for each level { [INDENT]for ( j = 0 to i) // get a random sequence length i { [INDENT]sequence[j] = random number 1-n for n buttons)[/INDENT] }[/INDENT] … | |
Re: Welcome to the site. See comments in red below. [QUOTE=Privoxy;1052652] [CODE]#include <iostream> using namespace std;[/CODE] So the iostream allows for keyboard input and the namespace is where code is stored? [CODE] cout << "Enter a real number: "; cin >> x; cout << "Enter a real number: "; cin >> … | |
Re: It might be a good idea to create a class or struct of type schoolCourse or something like that which has one or more of some type of variable to keep track of what category it is in (e.g. language, biology, science) and break it up as much or as … | |
Re: Try hooking it up to another machine to see if it works. It could have nothing to do with your machine but have some bad caps in the power supply that don't let it send power to the backlight lamps correctly. If you're not a "techie" you probably won't be … | |
Re: Open the file (expenses1) Read in the expense values, token-by-token (line-by-line, number-by-number, etc....however they are broken up), storing each value in a double (maybe indexes 0, 1, 2 and 3 of a double[4] array?) Close the file Open a new file (expenses2) Write each of the values from your double … | |
Re: Here are some links I found when working on a similar idea. Depending on kiosk size, you may not need a mini-ITX board, a normal sized board may work for you. [url]http://www.touchwindow.com/miva/merchant.mvc?Screen=CTGY&Store_Code=TouchWindow&Category_Code=champ15[/url] [url]http://www.embeddedarm.com/products/x86-sbc.php[/url] [url]http://www.mini-itx.com/store/?c=38[/url] [url]http://www.directron.com/11492250500.html[/url] [url]http://www.directron.com/l5006tm.html[/url] [url]http://www.touchwindow.com/miva/merchant.mvc?Screen=CTGY&Store_Code=TouchWindow&Category_Code=L15AX-JA-452G[/url] The touch screens work like normal LCD monitors but have sensors on them … |
The End.