15,300 Posted Topics

Member Avatar for Ene Uran

Congrats on your 1000th post -- that impressive and feels sooooooooooooo good! After that, its sort of ho-hum.

Member Avatar for mackone
2
108
Member Avatar for vadan

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

Member Avatar for ArkM
0
296
Member Avatar for pb2006

[URL="http://www.daniweb.com/techtalkforums/thread50370.html"]This thread[/URL] has a lot of links

Member Avatar for Flamingkat
0
142
Member Avatar for The Dude

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

Member Avatar for R0bb0b
0
128
Member Avatar for vadan

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 …

Member Avatar for Ancient Dragon
0
116
Member Avatar for sonicmas

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 …

Member Avatar for Ancient Dragon
0
118
Member Avatar for Salem

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

Member Avatar for jasimp
1
190
Member Avatar for ScudRunner50

Didn't you read any of [URL="http://www.google.com/search?hl=en&q=vb+program+to+change+wallpaper"]these google links[/URL]?

Member Avatar for ScudRunner50
0
317
Member Avatar for dise652

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 :) :) :)

Member Avatar for sittas87
0
309
Member Avatar for GrimJack

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

Member Avatar for GrimJack
0
101
Member Avatar for swaters86

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

Member Avatar for swaters86
0
183
Member Avatar for Lardmeister

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

Member Avatar for Ene Uran
0
162
Member Avatar for kidda

Hi. I edited the thread title so that it didn't appear soo spammy.

Member Avatar for Lardmeister
0
46
Member Avatar for William Hemsworth
Member Avatar for TheGhost

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

Member Avatar for Ancient Dragon
0
78
Member Avatar for shiftman
Re: pete

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 :)

Member Avatar for Salem
0
6
Member Avatar for blindbendy

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

Member Avatar for blindbendy
0
103
Member Avatar for alpine89

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 …

Member Avatar for alpine89
1
186
Member Avatar for annamarie

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?

Member Avatar for Ancient Dragon
0
137
Member Avatar for newb1e

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

Member Avatar for Ancient Dragon
0
81
Member Avatar for forumdude123
Member Avatar for The Dude

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 :)

Member Avatar for ZZucker
0
147
Member Avatar for edouard89

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]

Member Avatar for Salem
0
129
Member Avatar for sonicmas

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 …

Member Avatar for sonicmas
0
166
Member Avatar for ladyscoleman

>>Help Please!! Please help with what? Post what you have done to solve the problem.

Member Avatar for ladyscoleman
0
205
Member Avatar for noshdb

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 …

Member Avatar for Cyber Punk
0
680
Member Avatar for Adolfojm

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 …

Member Avatar for Adolfojm
0
126
Member Avatar for jammy's
Member Avatar for blud

I just finished installing Vista Home Premium -- my score is 4.2. I suppose that is adequate.

Member Avatar for newb1e
0
883
Member Avatar for sampson

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 …

Member Avatar for crunchie
0
317
Member Avatar for shilpamg

Welcome to DaniWeb. Please tell us a bit about yourself -- such as where you're from and who you are.

Member Avatar for sittas87
0
66
Member Avatar for MZeus

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.

Member Avatar for Ancient Dragon
0
125
Member Avatar for ohyeah

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

Member Avatar for murderotica
0
164
Member Avatar for dafrog

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 …

Member Avatar for dafrog
2
294
Member Avatar for acejames1

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 …

Member Avatar for Alex Edwards
0
215
Member Avatar for cam875

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 …

Member Avatar for cam875
0
131
Member Avatar for Duki

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 …

Member Avatar for Duki
0
464
Member Avatar for ambarisha.kn

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 …

Member Avatar for ArkM
0
856
Member Avatar for rizahbeng

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 …

Member Avatar for William Hemsworth
0
141
Member Avatar for gispe

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)

Member Avatar for Ancient Dragon
0
131
Member Avatar for tetra860

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.

Member Avatar for Ancient Dragon
0
70
Member Avatar for Ancient Dragon

[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 :)

Member Avatar for ZZucker
1
80
Member Avatar for T&T

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 …

Member Avatar for T&T
0
353
Member Avatar for TTSA#1

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

Member Avatar for Ancient Dragon
0
99
Member Avatar for amrhesham9

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

Member Avatar for Ancient Dragon
0
3K
Member Avatar for Idefreeze

[URL="http://www.tech-pro.net/howto_033.html"]Here are some more options [/URL]you might consider.

Member Avatar for hughv
0
216
Member Avatar for zahidullah
Member Avatar for TheBeast32
Member Avatar for Kadence

stargs.h contains the functions. [URL="http://msdn.microsoft.com/en-us/library/kb57fad8(VS.71).aspx"]Example here[/URL].

Member Avatar for Kadence
0
282
Member Avatar for Wiki_Tiki

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]

Member Avatar for Wiki_Tiki
0
225

The End.