15,300 Posted Topics
Re: Congrats on your 1000th post -- that impressive and feels sooooooooooooo good! After that, its sort of ho-hum. | |
Re: [URL="http://fscked.org/writings/SHM/shm-5.html#ss5.5"]*nix shared memory with semiphores[/URL] Despite my previous statement, I think you only need one semiphore to synchronize access to that array of objects. Semiphones for each array element isn't necessary because you are doing your own reference counting for each connection object. For any given process, this is what … | |
Re: [URL="http://www.daniweb.com/techtalkforums/thread50370.html"]This thread[/URL] has a lot of links | |
Re: >>She will be met in the afterlife by her husband, Raymond, her son, Paul Jr., and daughter, Ruby. I doubt it. From what we read in the Druge Report she will be met by that thing with the long red horns in a very hot place. | |
Re: depends on what lock() and unlock() do -- they are not standard c or c++ functions. If you use a semiphore, they are valid throughout a thread, not just the function in which they were used. I suspect lock() and unlock() does that too. Threads, not functions, lock and unlock … | |
Re: For some reason I was having some problems with it too. I think ifstream and ofstream are easier to use than fstream, but I finally got it working. Here is what I did -- its somewhat different than what you posted because 1) its in English, and 2) I only … | |
Re: I usually issue warning and/or infraction for users with more than 5 posts who don't use code tags. And it normally has taken no more than one two-point infraction to get someone to mend his/her ways because I remind him that he could get banned for not using code tags, … | |
Re: Didn't you read any of [URL="http://www.google.com/search?hl=en&q=vb+program+to+change+wallpaper"]these google links[/URL]? | |
Re: jibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabberjibber jabber :) :) :) | |
Re: When growing up on the farm during 1950's and 60's we had a cow and never had pasterized milk. Mom just ran it through a strainer to get all the dirt out then chilled it. My parents also took milk sames to a local diary to have tested for diseases, … | |
Re: [QUOTE=samarudge;653174]I dont know much about IIS but I know that on XP Pro you get IIS but it is limited to 5 connections at the same time. You could probably install XP pro as a partition on your mac and run an FTP server on the windows side. This should … | |
Re: What does one do after becoming the greatest swimmer in Olympic history??? He could make TV commercials, but I'd think that would be pretty dull. His sponsor already gave him $1Million. Now what??? | |
Re: Hi. I edited the thread title so that it didn't appear soo spammy. | |
Re: >>how do i make both threads have access to the same set of updated data, when they call different functions? Look up the term "thread synchronization". Use a semiphore to lock one thread out while another thread is using the object. | |
Re: Welcome to DaniWeb. Soooo, you found out that the grass wasn't as green on the other side of the fense as you thought it was :) | |
Re: >> finally managed to remove the highly inaccessible (and possibly ilegal) evil dancing letter verification code and replaced it with the 'answer the simple question' verification tool That's a great idea :icon_idea: I'm 65 and have had cataracts removed from both eyes, and I too have difficulty reading those damed … | |
Re: After getting the last integer and before the next string (author) you need to flush the input string of the '\n' line terminator that's left there by the >> operator. See the [b]Read Me[/b] [URL="http://www.daniweb.com/forums/thread90228.html"]How To Flush The Input Stream [/URL] thread about how to do that. I'm sure that … | |
Re: I just went to Trafficera.com and didn't have any problems leaving the site. But I didn't do anything while there either. What did you do when you were there so that I can try to reproduce your problem? | |
Re: >>Vista users have you already installed windows malicious software removal tool? I don't know what tool you mean. >>How about the microsoft silverlight which is optional? what does this do All I know is that its a device driver update. [URL="http://www.opendrivers.com/categorycompany/1375/11547/storage-silicon-image-free-driver-download.html"]See this link[/URL] | |
Re: 8.59. And Windows Experience Index is 4.2. | |
Re: That ball looks like something similar I've seen on [URL="http://www.nbc.com/American_Gladiators/"]American Gladiator[/URL] TV show. Looks like a lot of fun -- for someone half my age :) | |
Re: compile it for debug then seg fault will procduce a core file. Use the debugger on the core file and it will tell you what line caused the problem. [URL="http://cs.baylor.edu/~donahoo/tools/gdb/tutorial.html"]Click here for more info.[/URL] | |
Re: Just a simple text file will do -- I doubt your instructor wants something as complex as an SQL database.. Use ofstream to output the data and ifstream to read it back. Both are declared in the header file <fstream>. If you don't yet know how to use those two … | |
Re: >>Help Please!! Please help with what? Post what you have done to solve the problem. | |
Re: I'm running Vista Home Premium for about a year and have some mixed feelings. I hated it before disabling some of the new security features because it asked too many questions. Now I have only two problems: 1) won't run a couple of the programs I had on XP, so … | |
Re: Welcome to DaniWeb. >>Psychotherapist in a Community Health Clinic Great! There are a few people here that need a good shrink :) >>Stuff I dislike: Rude, uncaring people --- people who act like you owe them a living --- >>people who are capable yet refuse to help themselves Yes, you … | |
Re: We are not a shoftware whorehouse. So write your own functions. | |
Re: I just finished installing Vista Home Premium -- my score is 4.2. I suppose that is adequate. | |
Re: Hey sampson: don't you guys ever run an antivirus program on your computer? I have one running whenever I boot my computer and have never in the past 10 years had a problem. The antivirus program won't allow a download if the file contains a virus. There is no excuse … | |
Re: Welcome to DaniWeb. Please tell us a bit about yourself -- such as where you're from and who you are. | |
Re: my guess is that filename.asm is not in the directory where you are trying to assemble it. That, or you named the file something else. | |
Re: >>I don't have time!!! Such is the life of a programmer -- we all feel that way frequently, especially when we don't start coding until just before the program is due to be shipped. That's when you load up on peanutbutter & jelly sandwitches, then go for a 24-hour day … | |
Re: I think that error means that some device driver could not be started. You can get a little more informaton from the sytesm Event Viewer. Log in as administrator account, open Control Panel, select Administrative Tools, then Event Viewer. Browse around there to see if you can find something that … | |
Re: If you crack my program and I find out about it then I will sue your ass off so hard you will owe me for the rest of your life. And if you are selling/giving it to others you might also get a little prison time. That's exactly what's happening … | |
Re: sleep takes parameter in seconds -- I think there is a usleep that is in milliseconds. If you stick to standard c++ code there should not be a problem. But if you use a lot of win32 api graphics functions then you are in deep shit. Most of that is … | |
Re: MS-Windows [URL="http://msdn.microsoft.com/en-us/library/aa363195(VS.85).aspx"]Communications Reference here[/URL]. I think it even has examples. >>which is connected to the computer system via the "ninth" COM port Does that mean the computer has a COM port expansion board installed, there are several 8, 16 and 32 port boards and each has a device driver so … | |
Re: You need to do some typecasting to remove those errors. Apparently you are compiling a c++ program, not C because in c++ the return value of malloc() must be typecast, but not in C. Here are the corrections -- I had to fake it on the data structure. [code] int … | |
Re: read the weight from where? Does your computer have a scale attached to it? Or do you get that info from typeing it in on the keybaord (most likely) ? Do google to find the math algorithm for converting ounces to metric units. "metric tons" is a awful lot for … | |
Re: line 25: what's the value of i and j? A: random line 33: you are using the assignment operator = instead of the boolean operator ==. which of the lines you posted is line 52 in your real program (error #1) | |
Re: Since it goes over your head and you really don't have the slightest clue, have your brother whose writing the program create his own thread here so that he can ask an intelligent question. | |
[URL="http://www.demonbaby.com/pics/americanworld.gif"]Linky here[/URL] I thought that is pretty funny -- but I hope some of you don't get pissed off at me for this :) | |
Re: You should use the functions on MS-DOS _find_first_file() and _find_next_file(), or MS-Windows win32 api FindFirstFile() and FindNextFile(). *nix use opendir() and readdir(). There are examples of those functions all over the net and in DaniWeb's [b]Code Snippets[/b] board. If you don't want to use those then why not something like … | |
Re: >>I am assuming that it is the manufacturers catching up with this type of software and finding new ways to stop piracy Bingo! What you are attempting is illegal. | |
Re: There are lots of examples. For instance class Person class student : public person class teacher : public person class university : public student, teacher class animal class dog : public animal class cat : public animal | |
Re: [URL="http://www.tech-pro.net/howto_033.html"]Here are some more options [/URL]you might consider. | |
| |
Re: Have you compiled the samples that come with the DirectX DDK? | |
Re: stargs.h contains the functions. [URL="http://msdn.microsoft.com/en-us/library/kb57fad8(VS.71).aspx"]Example here[/URL]. | |
Re: Do you know how to move the window? [URL="http://msdn.microsoft.com/en-us/library/ms633534.aspx"]MoveWindow()[/URL] will do the trick. Selecting a random number between 1 and 3 is easy -- [icode]int n = (rand()%3) + 1[/icode] |
The End.