5,237 Posted Topics
Re: Ah, 30 minutes - that explains all [url]http://cboard.cprogramming.com/c-programming/138916-copying-into-array-display-command-promt.html[/url] [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] | |
Re: It depends on how you correct your spelling mistake. [url]http://en.wikipedia.org/wiki/Ellipse[/url] If you want to draw a mathematical figure on screen. [url]http://en.wikipedia.org/wiki/Ellipsis[/url] If you want to know how something like [ICODE]printf(const char *format, ...);[/ICODE] works. | |
Re: > far and near are reserved keywords in C (not standard, but common, it is a relic from the times of 16bit architectures) They're reserved identifiers only in compilers for the x86. C itself pre-dates DOS (and the x86), and didn't have these keywords. Likewise, compilers for other languages which … | |
Re: I would suggest you read up on this, and practice on a 2D TTT to begin with. [url]http://en.wikipedia.org/wiki/Minimax[/url] And yes, it's all about loops, and not copy/pasting the same code 200 times. > I am trying to write out all the possibilities right now which will take up about 189 … | |
Re: Try a bigger stick, maybe it will knock some sense into them. [url]http://en.wikipedia.org/wiki/Cyberstalking#United_States[/url] | |
since my [URL="http://www.daniweb.com/community-center/daniweb-community-feedback/threads/283474/1223912#post1223912"]last post[/URL] At least it's stopped flashing, but it's still too large where it doesn't matter, and too small and faint where it does. What hasn't changed is the #1 spot at the top of the reputation ranks. A whole year without posting, and AD/Narue still couldn't catch … | |
Re: Bible threads are just as long and pointless as the so-called book itself. Face it, all it has ever done is given the terminally lazy an opportunity to stand up and say "YOU SUCK, GIVE ME MONEY TO REPENT". The "Prophet for profit" business has been going a long time. … ![]() | |
Re: > [ICODE]void main ()[/ICODE] main returns an int, not void. > [ICODE]for (int i=1; i<=row; i++)[/ICODE] Every for loop is wrong. Arrays start at 0, not 1 So [ICODE]for (int i=0; i<row; i++)[/ICODE] | |
Re: I'm confused, wget already displays progress... | |
Re: Probably not [URL="http://www.dailymail.co.uk/news/article-2002032/Supercars-costing-millions-wrecked-flash-flood-underground-car-park.html"]any of these then[/URL] [attach]21245[/attach] | |
Re: Well you could try waiting more than 30 minutes before finding more forums to spam. [url]http://www.dreamincode.net/forums/topic/235527-custom-build-actions/[/url] [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url] You should give it at least 24 hours before wandering off to try your luck somewhere else ([URL="http://www.catb.org/~esr/faqs/smart-questions.html#urgent"]not 30 minutes[/URL]). | |
Re: [URL="http://cboard.cprogramming.com/cplusplus-programming/138711-little-error-but-i-cant-even-think.html"]cross posted (for reference)[/URL] | |
Re: [URL="http://forums.devshed.com/security-and-cryptography-17/xml-document-signing-822990.html"]cross-posted (for reference)[/URL] | |
Re: [url]http://cboard.cprogramming.com/cplusplus-programming/138651-predator-prey.html[/url] Next time, read [URL="http://www.catb.org/~esr/faqs/smart-questions.html#forum"]this[/URL] | |
Re: [url]http://www.xtranormal.com/watch/11120416/ive-been-banned-and-its-not-fair[/url] | |
Re: [url]http://www.dreamincode.net/forums/topic/234983-error-sql-in-c/[/url] | |
| |
Re: Maybe this? [url]http://www.alsa-project.org/main/index.php/Main_Page[/url] | |
Re: Why would someone want explanation for code they've written? But then again, why bother pretending you can program when you can lift code off the net? [url]http://cboard.cprogramming.com/cplusplus-programming/132084-cplusplus-snake.html[/url] It's mostly the same code, with a few additions and renames, and some comments in your native language. | |
Re: > from a computer using a C++ program to control different I/O hardware. Do you mean from the same computer as you use for browsing the web (with it's fancy OS and all)? Or perhaps something at the other end of the scale. [URL="http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=2735"]http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=2735[/URL] This is just one of MANY … | |
Re: 1.) Describe your current job / job title. Hedge fund manager 2.) What do you like most about your job? The moolah, and lots of sheep to fleece. 3.) What do you dislike most about your job? Gold-digging wimmin tryin ta get ma wedge... 4.) Overall, do you enjoy your … | |
Re: Where is your source code? Do you have any statements before you start #include'ing files? Has it worked before, and now it's stopped working? Which version of the compiler do you have, and which version of the SDK. | |
Re: Read some books on programming (independent of a language). You'll need this if you ever want to be more than a glorified "hello world" programmer. Read some books on C++, independent of the implementation. Learn the language, not an implementation. Read some books on modern environments, not some DOS fossil. | |
Re: Which is the problem? - reading the file - storing it in an array - storing it in an array which is big enough Show us your progress first, then we help (see the announcements) | |
Re: Well common file formats are listed here [url]http://www.wotsit.org/[/url] Simply typing in say "jpg file format" into your favourite search engine would reveal as much. Windows EFS on the other hand is proprietary for sure, deliberately kept secret (perhaps), and an altogether different prospect. Perhaps [URL="http://clusty.com/search?query=windows+efs+recovery&sourceid=Mozilla-search"]this[/URL] would help. > My question … | |
Re: If you've let the [URL="http://en.wikipedia.org/wiki/Magic_smoke"]MBS[/URL] escape, then it's almost certainly done for :( | |
Re: > i know the algorithm by hand but how do i implement it in C?? That's basically all programming is. If you know how to do something on paper (the hard part), writing the code for that is pretty easy. Post your idea and your attempt at the code. | |
Re: One thing to work on is why there are a) so many other posts just like this b) which those posts seem to have faulty keyboards with all the bogus repetition of letters for no apparent reason. You'd think people reaching graduation would have stopped writing like 5 year olds. | |
Re: The short answer is padding and alignment. > short BM; > long size_of_file; To ensure efficient access to size_of_file, the compiler inserts a pair of padding bytes after BM. The common way to "fix" this is to use something like [ICODE]#pragma pack(1)[/ICODE], but there is no standard way to tell … | |
Re: Did you even show up to classes? [url]http://www.daniweb.com/forums/announcement14-2.html[/url] | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#beprecise[/url] | |
Re: In my time off, I like to collect spammer addresses whilst putting the finishing touches to my latest toy. [attach]14763[/attach] | |
Re: Did you miss this on your way in? [url]http://www.daniweb.com/forums/announcement125-2.html[/url] > i need it in sunday Looks like you've got a busy weekend ahead of you. I know I have. | |
Re: Notes on system() and equivalent functions. A guy walks up to a rack of fireworks blindfolded. After a short period of time, he mutters something and there's a huge explosion. First Onlooker: What did he say? Second Onlooker: I think it was "Is it lit yet?" | |
Re: [url]http://www.daniweb.com/forums/announcement118-2.html[/url] | |
Re: <kosh>[URL="http://www.catb.org/~esr/faqs/smart-questions.html#prune"]YES[/URL]</kosh> | |
![]() | Re: > Let me give my computer specifications: 3.12GB RAM, Nvidia GeForce 7050/Nvidia nForce 610i 512 MB graphic card, > win XP pro service pack 2, Intel Core2Duo Processor(2.20GHz) Now let me give you the spec of your machine, which that fossil compiler deals with. Then you decide whether you spend … |
Re: - run task manager - select the processes tab - order by CPU usage | |
Re: Why did you sort it? [url]http://en.wikipedia.org/wiki/Mode_(statistics[/url]) To make it easier to count identical values, because they're next to each other? | |
Re: Is this still a console program (the answer is in my reply to one of your other threads), or have you moved onto a GUI program? GUI's are typically event driven, so you don't read the keys as such, but you do get key events as part of the normal … | |
Re: [url]http://images.google.com/images?hl=en&um=1&sa=1&q=random&aq=f&oq=&aqi=g10&start=0[/url] Lots of random images | |
Re: You could try just reading your error messages carefully and figuring out what they mean. For example. warning C4183: 'Credit': missing return type; assumed to be a member function returning 'int' [code] [COLOR="Red"][B]/*What goes here?*/[/B][/COLOR] Credit(double n) { cout << "How much money would you like to add?" << endl; … | |
Re: Well iostream.h isn't the standard name (it was in the old days, but not anymore). Try [code]#include <iostream> using namespace std; [/code] Oh, and main returns int, not void. | |
Re: > This poll will close on 17th Sep 2010 at 16:22 Expecting something to happen then? > Massive solar flare to blow off earth's atmosphere Hasn't happened in 3+Bn years, so it seems unlikely to happen in the next week or two. I doubt the sun has the means to … | |
Re: > where error? Please use the code tags when posting code - can't you read this [url]http://www.daniweb.com/techtalkforums/announcement8-3.html[/url] Or see the background image in the compose message window? Also, count the { and } I count 3 { and only 2 } | |
Re: That's two posts in quick succession from you, both without a hint of any effort on your part. [url]http://www.daniweb.com/forums/announcement9-2.html[/url] | |
Re: A full install of code::blocks would have installed a version of MinGW. | |
Re: Anyone with aspirations of completing a doctorate really ought to: a) have a passion for the subject. If you had this, you wouldn't be asking this kind of question. Your approach of "I want to do a Ph.D" seems to be about the same as "I'm off down to walmart … | |
Re: > in a single loop without any conditional statement. But a loop without any conditional statement either runs zero times, or forever. Anyway, here's one answer - have fun explaining it ;) Or learn something, by trying to unravel it :) [code] #include <stdio.h> int main ( ) { int … | |
Re: Let's see, from the position of "clueless" - 3 months to learn how to program, - 1 month to learn the syntax of C, and some familiarity of the standard C library, - 6 months practice solving problems (initially trivial, but building in complexity). So after about a year, you'll … |
The End.