868 Posted Topics

Member Avatar for ashokkumarrsp

What is NFA and DFA? By the way, [URL="http://www.daniweb.com/techtalkforums/thread26061.html"]here[/URL] are some sample answers you may get.

Member Avatar for Nick Evan
0
2K
Member Avatar for WolfPack

Is it possible to read data from a binary file to a C++ class using [inlineCODE]istream::read[/inlineCODE]? I know it can be done for structures, but I couldnt do it for a class. [Edit] Want code? [CODE]#include <iostream> #include <fstream> class BITMAPFILEHEADER { private: char type[ 2 ]; // Magic identifier …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for Tauren

[quote=Tauren;269612]Also can u find me a book on it at amazon or barnes and nobles Thank you[/quote] You seem to be a newbie without any programming experience whatsoever. Go and learn to crawl before trying to run. But what the heck. Go and get burnt. [URL="http://www.amazon.com/Operating-Systems-Implementation-Prentice-Software/dp/0131429388"]Here[/URL] is a good book …

Member Avatar for Ancient Dragon
0
546
Member Avatar for hendyhanusin
Member Avatar for himabindu

[URL="http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies"]Read this[/URL] well .

Member Avatar for ck.ckravi
0
258
Member Avatar for jlouang
Member Avatar for madankumar
Member Avatar for gebbit
Member Avatar for platinn

[quote=platinn;391596]Hello [/quote] Hello [quote=platinn;391596] Is this normal? [/quote] No. Errors are not normal. [quote=platinn;391596] Or how can i prevent this?[/quote] By telling the linker where your library files are. There is a option in your project settings to specify the directories to search for library files. Use that. [quote=platinn;391596] Thanx …

Member Avatar for Muaz AL-Jarhi
0
390
Member Avatar for teteret

Since you write the code according to the psuedocode, the pseudocode should reflect your code. So post code. Maybe then we can show you how to write a psuedocode. But it will be very unlikely that someone will do it for you.

Member Avatar for chipepalf
0
144
Member Avatar for javamum

Well I took a look at your problem. Regarding the bisection-method looks as if you dont have an idea with what you are doing. I will give you a brief algorithm here and try to see if you can understand it and implement it. Eq is [INLINECODE]x[ 1 + k1*n1/(1 …

Member Avatar for Amponsah
0
463
Member Avatar for The Dude

[quote=Ancient Dragon;272754]I tried it again this morning with IE7 -- same results. had to reboot my computer again.[/quote] Judging from a previous thread that you had issues with some other movie file, I think it is a problem with media player or the codecs. Try [URL="http://portableapps.com/apps/music_video/vlc_portable"]VLC Media player portable[/URL], it …

Member Avatar for The Dude
0
263
Member Avatar for ksan
Member Avatar for MrNoob
0
180
Member Avatar for khess

Um, I am a bit lost in this. 1. Offshore Outsourcing. 2. Giving More Money to Those Who've Wasted it Already. 3. Providing Tax Breaks to Those Who Aren't Paying Taxes. 4. Rewarding Greed. How come only the open source industry do not fall suspect under the above conditions? You …

Member Avatar for khess
0
278
Member Avatar for khess

Gallieneus, what are you using? DOS? Or Vista on a computer meant for DOS? Don't say Vista or XP. If the hardware specs are met, they never crash. At least they have not crashed on me. And not for anyone who I know use Vista on machines with suitable specs. …

Member Avatar for saadsaidi
0
260
Member Avatar for happygeek

I called a few friends, and since they didn't experience it, for a moment, I thought my computer was compromised. So, disconnected from the internet, did a virus scan and installed a firewall and another virus guard just in case. Only when I saw the BBC headline about the Google …

Member Avatar for Thinka
0
576
Member Avatar for EddieC

What is so special of having an open version of Windows? Isn't the already available versions of Linux enough? I mean everyone says that OpenOffice is superior to Word, Firefox to IE, Ubuntu to Vista.. and so on, so why would people need the source of a inferior product when …

Member Avatar for EddieC
0
544
Member Avatar for khess

With a massively publicized almost childish attempt to claim the record for the most downloaded software ever, I don't think that all these downloads are unique. I tried using the upgrade facility of the browser, but the connection timed out from the server for 3 attempts, but when I tried …

Member Avatar for WolfPack
0
429
Member Avatar for khess

My line is LOL. Or is that only one line? I am too drunk to tell. Just yesterday I was thinking of changing back to IE, but decided against because then I would lose the use of Rikai Chan which I am using to translate Japanese to English and Vice …

Member Avatar for scru
0
205
Member Avatar for GuyClapperton

There may be limitations in the technology at first, but I think that touch screen PCs is the way to go. I read in another blog in Daniweb, that the author does not see the touch screen replacing the Keyboard, and I agree. But I think that this will certainly …

Member Avatar for WolfPack
0
163
Member Avatar for EddieC

In my opinion, it is Yang who will be feeling the heat. Ballmer has said in his letter to Yang that he will not go ahead with the hostile takeover threat. Stocks of Yahoo rose in anticipation of a takeover from Microsoft. Now that Microsoft has walked away, it will …

Member Avatar for WolfPack
0
189
Member Avatar for happygeek

Jaberwacky > Who wrote one of your favorite books? Me > Hemingway. Jaberwacky >Nope. Tolkien wrote the Lord of the Rings. Me> So? Jaberwacky> Olut. Me > :eek:

Member Avatar for info00013
0
179
Member Avatar for Toulinwoek

Although the 5GB limit applies to users in the UK, Canada and US ^^; , the service looks good to me. The storage, notes and calender features are awesome.

Member Avatar for 'Stein
0
189
Member Avatar for WolfPack

[COLOR=Red][B]This blog entry is regarding a registry hack for Windows XP. Be advised that twiddling with the registry requires care, and use the information here at your own risk. [URL="http://support.microsoft.com/default.aspx?scid=kb;en-us;322756"]Backing up[/URL] the registry before proceeding is adviced. [/B][/COLOR] This is a based on the [URL="http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm"]Add Command Prompt Here[/URL] tweak that …

0
344
Member Avatar for shell81287

Go through the code given in this thread and try writing it yourself. If you encounter problems post them in a new thread. If necessary post a link to this thread also). Nobody hands out free lunch here.

Member Avatar for freedert
0
87
Member Avatar for Mr Violent

stacking is not something unexpected or errornous in the socket API. the TCP IP protocol only guarantees that the data will reach the destination at the sent order. It may get sent in one try or multiple tries.The problem here is that you are using a 1024 size buffer. If …

Member Avatar for leo_yasir
0
1K
Member Avatar for srishekh

I maybe wrong, but I remember reading in a Visual Studio 6.0 book that the best resolution possible in it is 1 millisecond. So if that is the case you wont be able to measure 0.00045 seconds. It will come as 0. PS. Isn't the greeting "Respected Sir/madam" a bit …

Member Avatar for WaltP
0
597
Member Avatar for Mushy-pea
Member Avatar for Truclam

For one thing the arrays go out of bounds when r = 0 or c = 0 or r = R or c = C. [code] for( r = 0 ; r < R; r++ ) { for(c=0;c<C;c++) { // gradients gx and gy (sobel) gx[r][c]=(imag[r-1][c-1]*1)+(imag[r-1][c]*0)+(imag[r-1][c+1]*-1)+(imag[r][c-1]*2)+(imag[r][c]*0)+(imag[r][c+1]*-2)+(imag[r+1][c-1]*1)+(imag[r+1][c]*0)+(imag[r+1][c+1]*-1); gy[r][c]=(imag[r-1][c-1]*1)+(imag[r-1][c]*2)+(imag[r-1][c+1]*1)+(imag[r][c-1]*0)+(imag[r][c]*0)+(imag[r][c+1]*0)+(imag[r+1][c-1]*-1)+(imag[r+1][c]*-2)+(imag[r+1][c+1]*-1); Vx[r][c]=0; Vy[r][c]=0; for(u=r-5;u<=r+5;u++) …

Member Avatar for Nick Evan
0
252
Member Avatar for Prahaai

Use the [strrchr function](http://www.cppreference.com/stdstring/strrchr.html) to search for the last occurrance of the backslash `''` character. If there is no match `strrchr` returns `NULL`, that means no path was returned in `szFile`, and all the contents of `szFile` is the filename. If there is a match, the contents from the starting …

Member Avatar for Alexander22
0
2K
Member Avatar for dustman

[quote=dustman;329244] My client is on wingoze[/quote] What is wingoze? Whatever it is, it may be an Operating system, and there should be a socket API for it. Look that up.

Member Avatar for jephthah
0
168
Member Avatar for jaepi

The usual reason is that you are not including the library that provides the implementation of [inlinecode]pthread_create()[/inlinecode]. Check the documentation for [inlinecode]pthread_create()[/inlinecode]and find out the required library. Then check if that library is in the makefile's libraries section.

Member Avatar for Kjah_C++
0
148
Member Avatar for Dave Sinkula

[quote=Ancient Dragon;394719] [quote=josh](smoking!=[B]party [/B]animal)[/quote] That's wrong for two reasons 1. Humans are 100% animal, there's no "[B]partly[/B]" about it. [/quote]Either you are dyslexic or you ought to change your spectacles. Or I missed the joke. [quote=Ancient Dragon;394719] 2. I have never seen another creature on this planet who smoked. Humans …

Member Avatar for jbennet
0
4K
Member Avatar for Comatose
Member Avatar for scru
Member Avatar for matrimforever

Do you have to calculate the averages line by line? or only once for all the numbers in the file?

Member Avatar for Comatose
0
1K
Member Avatar for AhmedHan

This part returns NULL. [code] hWnd = CreateWindowEx( (DWORD) dwExStyle, (LPCTSTR) lpClassName, (LPCTSTR) lpWindowName, (DWORD) dwStyle, (int) x, (int) y, (int) nWidth, (int) nHeight, (HWND) hWndParent, (HMENU) hMenu, (HINSTANCE) hProgInst, (LPVOID) lpParam); if ( hWnd == NULL ) { MessageBox(NULL, "CreateWindow Returned NULL", "Error", MB_OK ); return; } [/code]

Member Avatar for EZO
1
371
Member Avatar for OreWaChoOtakuDa

[URL="http://en.wikipedia.org/wiki/Densha_Otoko"]Densha otoko[/URL] remake? I guess that was the inspiration behind your nickname (Orewa Cho Otoko Da? )

Member Avatar for Kokimail
0
1K
Member Avatar for NinjaLink

You have missed a semicolon at the end of this line. [code=cpp]double gettestscores[/code] You can't get your program to run should mean compiler errors or link errors. Next time post the error or warning messages by the compiler if any.

Member Avatar for NinjaLink
0
274
Member Avatar for nanodano

Try to compile this [URL="http://www.daniweb.com/techtalkforums/post187809-5.html"]snippet [/URL]and tell me if you have any problems. If that works, you could modify it to suit you. The #define switch should be used as it is.

Member Avatar for lenhattien
0
533
Member Avatar for TheNNS
Member Avatar for Dani

These are what i find annoying. Small quick reply box (and it having no code tag button ) Tab indents for code are too big People don't use code tags

Member Avatar for William Hemsworth
0
997
Member Avatar for Tyreses

[quote=Tyreses;264441]A. The header file for standard winsock use [/quote] include <winsock.h> and link with ws2_32.lib [quote=Tyreses;264441] B. a helpfull tutorial on basic winsock client/listen string transfer? Help is much appreciated, thankyou.[/quote] [URL="http://johnnie.jerrata.com/winsocktutorial/"]Jhonny's Tutorial[/URL] [URL="http://beej.us/guide/bgnet/"]Beej's Guide[/URL]

Member Avatar for Flamingkat
0
115
Member Avatar for mattyd

[quote=joshSCH;343883]damn 30 second man, your starting to piss me off.. you have to reply to everything I say.. and it's always some dumbass remark again. Yes, I do know what nihilism is.. it is the belief in NOTHING. I believe there is NO purpose to life whatsoever, and no proof …

Member Avatar for ~s.o.s~
3
10K
Member Avatar for ArNy

[quote=Miles Archer]Re: Syntax.... Maybe we can answer your question and mine at the same time. I am a total neophyte, but I am toying with a program that has a caveat, [I]"When using VS2005, MS is pushing wide strings. Convert char stuff to WCHAR and put an L in front …

Member Avatar for lwxmeme
0
498
Member Avatar for WolfPack

What is the tab width (number of spaces indented for a tab) within code tags? Is it 8? Is it possible to change it to 4? Since the code is wrapped for lines with length less than 80 characters, I think that it is a waste of space.

Member Avatar for Dani
0
319
Member Avatar for kruptof

Not me. Can see it just fine. However another site I frequent gives the same message. Wonder what/who this godaddy is...

Member Avatar for jwenting
0
97
Member Avatar for dark7angelx07

I think I read somewhere that to find out if a number is a prime, you dont have to check dividing upto n-1. Upto squareroot(n) is enough. check it out.

Member Avatar for DavidB
0
1K
Member Avatar for quophyie

Change [icode]Deck *dk; = new Deck;[/icode] in the [ICODE]main()[/ICODE] function To [icode]Deck *dk = new Deck;[/icode]

Member Avatar for quophyie
0
390
Member Avatar for henpecked1

Either you didn't know that you should use braces, or you forgot. [code=cpp] for (int i=0;i<rollsize;i++) { switch (rolls[i]) { // Forgot this case 3:allresults[0] = allresults [0]+1; break; case 4:allresults[1] = allresults [1]+1; break; /* ......... */ case 17:allresults[14] = allresults [14]+1; break; case 18:allresults[15] = allresults [15]+1; break; …

Member Avatar for vmanes
0
310

The End.