2,867 Posted Topics
Re: Well, since you're only reading in one line of the file at a time, you should have some idea of how long the lines will be. Choose a buffer size that is large enough to hold these requirements. Since we don't know what files you're planning to read, we can't … | |
Re: WiFi's great when it works... I like the fact that it's free in so many places, and at least when it's free, you don't have to expect as much as if you were paying. Another thing I find I have to watch is that I'm sharing all these things, such … | |
Re: [quote=~s.o.s~;296133]Hey there my friend Joey, welcome to the elite club...:D[/quote] Anyone with enough time to make regular, relevant, and interesting posts can get the "Featured Blogger" badge. :D [quote]Wish had enough time for all these things...*sigh*[/quote] Now s.o.sy, don't start envying other people! Not everyone gets to be a moderator, … | |
Re: [quote=c++34;297365]i'm writing a News class and their subclasses but i have a problem with that function.it tells me that function(virtual string ToFileFormat() ) must convert the news to a string that holds the file format of that news.(File format of each news are given after the class definition)And this function … | |
Re: I'm not going to buy Vista just so that I can dual-boot (or rather, triple-boot) my MacBook with Windows. I wouldn't mind tinkering around with it, although I'd certainly not want it as my main operating system. | |
Re: By the way, each green dot represents 100 rep points. Oooh, I'm so close to that next shiny medal. You don't think that you could... :lol: :cheesy: [edit] hehe, looks like I just added another dot to ~s.o.s~'s profile [/edit] | |
Re: If I may quote happygeek's blog entry: [URL]http://www.daniweb.com/blogs/entry1056.html[/URL] [quote]80% of spam that targets Internet users in North America and Europe is actually generated by a small hardcore group of no more than 200 professional spam gangs.[/quote] :( Someone should just go and arrest those guys... | |
Re: [quote=happygeek;296493]But do you agree, is the end of commercial, proprietary platforms within the corporate marketplace really nigh?[/quote] It's quite likely that large corporations might start switching - after all, many are fed up with the long wait of Vista, the bugs it brings, and so forth. They need new features, … | |
Re: I don't know if global warming is really true. For one thing, we have only been measuring weather patterns in the last 100 years or so. That's not very much at all. If you really wanted to make a hypothesis, you should have far more data. Secondly, the earth's temperature … | |
Re: Yup, use the [URL="http://http://www.cplusplus.com/reference/clibrary/cstdlib/system.html"]system()[/URL] command. For example: [code] system("DIR C:\"); [/code] lists the contents of the C:\ drive. Simply enter in the path of the script, and you're good to go. Hope this helps [edit]Too slow...[/edit] | |
Re: Please provide more information. Do you know where the executable is? Does it crash whenever you try to start it? Most Unix-based systems store their executables is /usr/bin or /usr/share/bin or /usr/local/bin, so look there if you can't find it. | |
Re: Sounds like you've got quite the cousin there... All you should have to do is run [inlinecode]ps -ax[/inlinecode], possibly piping it to [inlinecode]more[/inlinecode], and then looking for any processes that say "cat ...". Once you've found out the process numbers, simply terminate them with [inlinecode]kill[/inlinecode]. Of course, it makes it … | |
Re: This is an endless loop: [code=cplusplus] cin>>cond; while(cond=='y'){ urtotal =urtotal+rand()%1; } [/code] You should have some sort of [inlinecode]cond[/inlinecode] assignment inside the while() loop. I'm somewhat confused by your code; partly due to the fact that I basically know nothing about the card game you are trying to implement. Also, … | |
Re: There's this video of Saddam's execution floating around on the internet - don't know if it's a fake - but in any case it's brutal and it's banned from the media. [URL="http://video.google.com/videoplay?docid=-1734042717556560160&q=Saddam+Execution"]**WARNING: THIS IS REALLY UGLY**[/URL] The footage looks like it's taken from a cell phone, and it also seems … | |
Re: There are many ways of transferring your data. [LIST] [*]If you have an network card in both computers, and a spare ethernet cable, you can create a 2-computer network which you can use to transfer the files. [*]If the computer in question has a CD/DVD burner, you can transfer them … | |
Re: I think you need special software to do that. It obviously requires the internet gateway to keep track of fresh connections, and so you'll either need a dedicated internet gateway computer that runs the software to control this, or if you have a Linksys router, a firmware hack may be … | |
Re: [quote]Well I'm not looking for a single function to do all this really. I mean alot of HDs are formated in NTFS or FAT32, so if I'm correct HDs have something called FAT which says where everything is located. So how is that data expressed. Is it a list of … | |
Re: First mistake: you didn't use code tags. There's more information in my signature. [quote=TomPettyJT;296498]void main() { [/quote] Don't use void main. More info in my signature. :cheesy: To make sure that the user entered what you were expecting, always check the return value of scanf, as it returns the number … | |
Re: You should have the following setup already: [list] [*]A phone line is connected to the DSL modem. (obviously) [*]The ethernet cable from the DSL modem is hooked into the Linksys router's "WAN" port. [*]The other 2 computers are connected to the router, either by ethernet, or wirelessly. [/list] If the … | |
Re: Hello, Joe. :) [quote=joe228sam;296472]I guess the first question I should ask, is the WG511T compatible with the mac? Or will I need someother card to work with the router.[/quote] Yes, it's compatible with Mac. But I believe you need a special driver first. [quote]The problem that I have is getting … | |
Re: You're going to need to write a parser to seperate the information. First, loop through each charecter. Make an array of strings to store the parsed data. If the charecter a semicolon, start storing data in the next variable. If it's a regular charecter, store the data. (Use a unsigned … ![]() | |
Re: Haven't got mine either. I've only recieved one digest so far, which was the [URL="http://www.daniweb.com/newsletter/2006-12-05.html"]December issue[/URL]. Good luck in getting the vBulletin email problem sorted out; email server software is prone to problems. :( | |
Re: Something tells me it doesn't like your hardware... try some different kernel arguments when starting Linux, such as [code]linux noacpi nolacpi[/code] Just for fun, try running it in text mode and see what happens. Hope this helps | |
Re: Just download the Linux display drivers from [URL="http://ati.de/support/drivers/linux/linux-radeon.html"]ATI's site[/URL]. The installation process should be relatively straight-forward, coming with an automated installer. If you have any problems post here. Hope this helps | |
Re: There's some out there - just use [URL="http://www.google.com"]Google[/URL]. [list] [*][url]http://www.freefax.com/[/url] [*][url]http://bestalpha.com/[/url] [/list] And what is this doing in the Software Development forum? | |
Re: I just had a peek at some of those tutorials, and I have to say they look pretty good... :) Thank you roryt for all your hard work in creating and giving these tutorials to DaniWeb. You deserve the Featured Writer title! | |
Re: Ah, there was a fairly large discussion over here: [url]http://www.daniweb.com/techtalkforums/thread14020.html[/url] Hope this helps | |
Re: [quote=WaltP;295466]To be honest, when perception and logic don't coincide, I know better than to trust perception.[/quote] I think that this can be applyed in almost all cases - that is, ones of the material world. Now, I am not saying that a supernatural world exists. But since we have no … | |
Re: Way to go... have a [I]very[/I] happy birthday. :D Tell us if you got any cool tech toys for presents. (Oh right, you probably got the same presents for Christmas as for your Birthday... oh well) | |
Re: Either that, or you have some miniscule amount of RAM in your computer. What's your compiler? It's highly unlikely, but a crappy old compiler has much different limits than a modern one. | |
Re: In terms of domains, you don't even need to spend a penny, as long as you don't care about a pretty URL. At [URL="http://www.dyndns.com"]DynDNS.com[/URL], and a few other sites as well, you can get *.oneoftheirdomains.com, as long as it's not taken, so for example you can have "iamsocool.is-a-geek.net", and they … | |
Re: I agree with sharky - static ads are bearable, but interactive ones actually make it hard to view the page. That's why I dislike IntelliTXT ads. But I understand that this is needed to keep DaniWeb alive. [quote]most heavy-users of the Internet are completely immune to their presence[/quote] Heh, I'm … | |
Re: > It works for any language that is in [www.daniweb.com/code/](http://www.daniweb.com/techtalkforums/../code/) > ...css but is there anyway we could have a code property for it? > > I'm not sure what you mean. Just do (code-css) But the odd thing is that css isn't listed in the code snippets library... that's … | |
Re: I'd say that a good disk defragment is in need. Try running it and see what happens. Or, do what iamthwee said. | |
Re: There's actually only 2 or 3 typos in the whole program - even if the compilers report more. Here's what I changed to make it compile: [code] /*****CONSTRUCTOR DECK*****/ Deck::[COLOR=Red]d[/COLOR]eck() // you previously declared it as Deck::Deck { int j=0; for(int i=1;i<=13;i++) { deck[j]=new PlayingCard(i,PlayingCard::spade); j++; }[/code] Same problem here: … | |
Re: [URL="http://www.daniweb.com/techtalkforums/forum4.html"]Wrong forum[/URL]. | |
Re: [quote=Bench;295167]I guess he used the [COLOUR=WHITE] tag.. I'm not sure why Daniweb even has this, since AFAIK, its not possible to change the background of posts (Probably a good thing...) I imagine a few other colours on that chart would be pretty nasty to read aswell... Maybe that rule should … | |
Re: I don't really know that much about sockets, so I may be wrong. I haven't been able to find any C++ network stream sockets, however there's plenty in C which you can call from your program. If you want to learn socket programming from scratch, start with [URL="http://beej.us/guide/bgnet/"]Beej's Guide To … | |
Re: If you're having trouble downloading Flip4Mac, I'd say there's some sort of network-related problem on your end (or your ISP's). Do you get the error when you're actually trying to download the file, or just visiting flip4mac's site? In any case, you will need Flip4Mac to be able to listen … | |
Re: [quote='Stein;284050]In PC usage, I'm quite a heavy user. Usually I'll have an instant messenger client, iTunes, and the internet open eternally. On top of this, I have photoshop open at times as well.[/quote] It sounds like you do a lot of multitasking. I think you'll enjoy the MacBook/MacBook Pro's Intel … | |
Re: These aren't free - but they have trial versions so you can see if you like it. [list] [*][URL="http://www.cdfreaks.com/software/CD%20&%20DVD%20Duplication%20Software/Slysoft/Clone-CD.html"]Clone CD[/URL] [*][URL="http://www.download.com/Easy-CD-Clone/3000-2242_4-10323118.html"]Easy CD Clone[/URL] [*][URL="http://www.ezbsystems.com/softdisc/"]SoftDisc[/URL] [/list] Hope this helps | |
Re: I'd say that those are some really, really bored developers if that's the only thing that amuses them. Anyway, it'd still be fun to see what people look like when they reach the end... | |
Re: [quote=shyamelectra;246886]hi i have a PCI slot \. no AGP or PCI Express. for my better gaming, are there good graphic cards available for a PCi slot.[/quote] There [I]are[/I] graphics cards availible for PCI, but the lack of AGP/PCI Express means 2 things: One, data can't flow quickly, because PCI is … | |
Re: I got this roll-up keyboard made out of silicon: [IMG]http://www.thinkgeek.com/images/products/front/rollup-keyboard.jpg[/IMG] How do I like it so far? Well, the keys are somewhat mushy, and it's quite easy to slip and make a mistake. Another thing that annoys me is that the pipe/backslash key is in the number keys row, right … | |
Re: Something like DirectX or OpenGL? They're both free graphics libraries. For more information on game development, see the [URL="http://www.daniweb.com/techtalkforums/thread63827.html"]Game Development sticky[/URL]. Regarding compilers, I would say use Dev-C++ or Code::Blocks if you need a simple environment. Needing something more complex, go ahead and download Visual Studio Express edition. Check out … | |
Re: You're beginning to get on my nerves... here's [URL="http://www.google.com"]Google[/URL] and [URL="http://www.wikipedia.org"]Wikipedia[/URL]. [B]USE THEM[/B]. | |
Re: First of all, this is in the wrong forum. This has nothing to do with C/C++ programming. The [URL="http://www.daniweb.com/techtalkforums/forum7.html"]hardware forums[/URL] is the correct section. Secondly, we aren't going to just do your homework for you. There is an [URL="http://www.daniweb.com/techtalkforums/announcement8-2.html"]announcement[/URL] regarding this. Lastly, haven't you ever heard of [URL="http://www.google.com"]Google[/URL]? Google will … | |
Re: [quote=seb481;294110]95% of all converters will require you to pay for their services. While you can find free converters online, I would not recommend them as the quality is really poor.[/quote] Absoloute rubbish. The quality is only poor if you shrink the file size, as there's a trade-off between file size … | |
Re: You are rather undescriptive. Please elaborate:[LIST] [*]What games are you planning to run? You need to choose specific games, and usually each game comes with its own server software, if any. [*]What are the specs on your computer? If you're hoping to host a lot of people, it has to … | |
Re: A better stated question would be "can you please give me the link to Googe". Not to sound harsh or anything, but that's usually how most of us find information on the web when we need it. [LIST=1] [*][URL="http://www.comp.nus.edu.sg/%7Esanjay/cs3231.html"]Theory of Computation tutorial[/URL] [*][URL="http://www.ee.ic.ac.uk/pcheung/teaching/ee2_computing/"]Computer System Architechture tutorial[/URL] [*][URL="http://en.wikipedia.org/wiki/Computer_graphics"]Computer Graphics[/URL] [URL="http://www.graphics.cornell.edu/online/tutorial/"]tutorial[/URL][/LIST] |
The End.