137 Posted Topics

Member Avatar for rey07jeff

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

Member Avatar for cutts007
-2
117
Member Avatar for naziatarannum

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 …

Member Avatar for serpiko
0
333
Member Avatar for inmar

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

Member Avatar for donaldw
0
414
Member Avatar for donaldw

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 …

Member Avatar for donaldw
0
117
Member Avatar for plastic

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 …

Member Avatar for ddanbe
0
2K
Member Avatar for rosscberg

[url]http://www.computerhope.com/beep.htm[/url] has some information about the power on stability test (POST) beep codes.

Member Avatar for aalisha9
0
161
Member Avatar for ukbassman88

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 …

Member Avatar for ukbassman88
-2
101
Member Avatar for jp071

Show us the code for the button handler. Are you trying to run the executable on the development PC, or on a different one?

Member Avatar for donaldw
0
122
Member Avatar for qq263020776

What do you want? Code critique? We can't do that unless you post your code.

Member Avatar for vegaseat
-3
1K
Member Avatar for wittykitty

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.

Member Avatar for donaldw
0
119
Member Avatar for donaldw

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 …

Member Avatar for donaldw
1
136
Member Avatar for ncsufan
Member Avatar for marissa jasmine
0
98
Member Avatar for InsightsDigital

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?

Member Avatar for MktgRob
0
147
Member Avatar for rkulp

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.

Member Avatar for Rashakil Fol
0
572
Member Avatar for f3rrari

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?

Member Avatar for masijade
0
100
Member Avatar for micke
Member Avatar for donaldw

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 …

0
49
Member Avatar for imgaurav4u

Give more information. What are your: Operating System? System Specs (RAM, Processor speed)? Video Card? Monitor?

Member Avatar for donaldw
-1
91
Member Avatar for XshulderX

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 …

Member Avatar for ddanbe
0
98
Member Avatar for ponytrekker

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

Member Avatar for donaldw
0
222
Member Avatar for vpilot

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 …

Member Avatar for donaldw
0
100
Member Avatar for Frap

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 …

Member Avatar for donaldw
0
100
Member Avatar for anevins

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 …

Member Avatar for donaldw
0
114
Member Avatar for autumm
Member Avatar for autumm
0
147
Member Avatar for dorotalp91

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 …

Member Avatar for donaldw
0
109
Member Avatar for girl.java

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 …

Member Avatar for donaldw
0
120
Member Avatar for carlqt

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 …

Member Avatar for ithelp
1
258
Member Avatar for smachee

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 …

Member Avatar for smachee
2
3K
Member Avatar for micke

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 …

Member Avatar for Clinton Portis
0
201
Member Avatar for Phil++

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 …

Member Avatar for BestJewSinceJC
0
164
Member Avatar for Mariam786

There are at least two other threads about this exact homework problem on DaniWeb alone with countless others all over the internet.

Member Avatar for Clinton Portis
-1
195
Member Avatar for SSc

Absolutely we can help you. Please post the part of your code which is giving you errors and we'll help you troubleshoot it.

Member Avatar for donaldw
0
85
Member Avatar for web3

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 …

Member Avatar for Atli
0
103
Member Avatar for donaldw

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 …

Member Avatar for GL.Za
0
178
Member Avatar for avirag

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

Member Avatar for avirag
0
77
Member Avatar for kimzstuf

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

Member Avatar for kimzstuf
0
92
Member Avatar for mn_kthompson

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.

Member Avatar for donaldw
0
133
Member Avatar for bamerza

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]

Member Avatar for donaldw
0
166
Member Avatar for nbkbac

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 …

Member Avatar for caperjack
0
226
Member Avatar for denizen08

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 …

Member Avatar for Narue
1
170
Member Avatar for turtlez

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

Member Avatar for turtlez
1
123
Member Avatar for killinchy

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 …

Member Avatar for killinchy
0
156
Member Avatar for gouravlnt

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 …

Member Avatar for caperjack
0
97
Member Avatar for xtian3

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 …

Member Avatar for donaldw
0
196
Member Avatar for c.pentasuglia

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

Member Avatar for donaldw
1
186
Member Avatar for Privoxy

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

Member Avatar for Narue
0
86
Member Avatar for reese27

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 …

Member Avatar for donaldw
0
111
Member Avatar for curio100

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 …

Member Avatar for donaldw
0
178
Member Avatar for ihtesham4deni
Re: Help

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 …

Member Avatar for donaldw
0
117
Member Avatar for rachd

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 …

Member Avatar for donaldw
0
208

The End.