5,237 Posted Topics
Re: Do you close f_in at the end of the loop? What do you do with buf_ptr ? | |
Re: Are these real LEDs, or just red and green circles drawn on the screen of your PC. | |
Re: Yes, PNG is a good format. Yes, you will have compatibility problems with standard MS tools if you go far enough back in versions. > So, instead of 15:47:12 Maybe HH_MM_SS format ? | |
Re: Lots of USB info - [url]http://www.lvr.com/[/url] | |
Re: > printf("==========================="); > fnGotoxy(25,8); I know these seem important, but they're not. Just rip them all out until you've got the core program working, after which it's dead easy to put them all back again. Such eye candy only makes the code a lot longer than it needs to be, … | |
Re: > (hours_worked[i]-35)=overtime_hours[i]; result = value; copies value INTO result, not the other way round. | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] Not to mention [url]http://www.daniweb.com/forums/announcement118-3.html[/url] > i just need it so badly..in just a few hours i need it for a class..but my logic aren't working in the last few weeks.. So have you learnt anything about managing your time better, and seeking help in a more timely fashion? | |
Re: > Give me a chequebook balancing program. How presumptuous of you that you think you can just roll in here and demand that we do your homework. True or false - this applies to you as well as all the other noobs? Announcement: [URL="http://www.daniweb.com/forums/announcement118-2.html"]We only give homework help to those … | |
Re: see cprogramming.com for same Q&A. see [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url] for why | |
Re: 1. Read the rules on homework - you make an effort to answer them, and we'll help you understand your mistakes 2. Read the rules on posting code. Your score so far - ZERO!!!!! | |
Re: I would have hoped after 40 posts that you would have figured this out. Or at least read it. [url]http://www.daniweb.com/forums/announcement113-3.html[/url] | |
Re: > void swap(int arr[], int i, int j Because this isn't declared as taking 3 references. | |
Re: Asked here - [url]http://www.daniweb.com/forums/thread171525.html[/url] | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#bespecific[/url] I bet this has been mentioned before. [url]http://www.daniweb.com/forums/announcement8-3.html[/url] Maybe a few more times for good measure [url]http://www.daniweb.com/forums/announcement8-3.html[/url] [url]http://www.daniweb.com/forums/announcement8-3.html[/url] Still not clicked it, once more for the house then! [url]http://www.daniweb.com/forums/announcement8-3.html[/url] | |
Re: > printf("Error: can't open file.\n"); Use perror("can't open file."); It'll tell you WHY it can't open the file. | |
Re: One while loop to input a guess, then 3 tests. | |
Re: "You didn't check any boxes, which makes it tough to say much about you. How about a Punk? That's what you are." Close enough. | |
Re: I take it that you've got 40 years to do this then. [url]http://www.robocup.org/[/url] Perhaps researching machine vision, feature extraction and scene analysis. Even standing in one spot, looking in one direction, produces a hell of a lot of images when you take changes of crowd and lighting into consideration. | |
Re: > for(int h = 0; h <= b;) How long is the loop going to run before h > b ? Check ALL your fopen calls for success. Check your scanf functions for success. | |
Re: Yes, it's been suggested many times before, and implemented elsewhere. Still nothing :( | |
Re: Not every machine is blessed with a C++ compiler. Some really small devices only have C. | |
Re: Well that depends on your OS. Your average desktop with an OS which runs each process in a separate address space will reclaim the space when the program exits. But if you're programming on say a mobile phone, where there is no virtual memory, and not a lot of operating … | |
Re: Maybe post your formula for converting F to C? You didn't do 5/9 by any chance, which would be 0 As opposed to say 5.0/9.0 which is nearer to what you want. | |
Re: LOL - "improve", that's a good one. Like cout << "Written by Naomi" << endl; being 'improved' to cout << "Written by nobody" << endl; With such metaphoric use of English, you should be in advertising, or politics. | |
Re: The "how to post code" seems to be eluding your attention. As a result, your post is eluding our attention. | |
Re: It was in the C forum, but nobody said anything. [url]http://www.daniweb.com/forums/thread170785.html[/url] But then again, I didn't understand what all the 5th and 6th stuff was all about. > So, a pointer to the first position is like the polygon pointer above, and another is made that is in the fifth … | |
Re: Or install a compiler which is actually compatible with your real OS (and not just compatible with the 20th century emulation of a dead OS). | |
Re: The only weird thing is h.search isn't a valid variable name. As for the rest, have you read these? [url]http://msdn.microsoft.com/en-us/library/aa365740.aspx[/url] Do you see where 16 comes from? [url]http://msdn.microsoft.com/en-us/library/aa364418(VS.85).aspx[/url] | |
Re: <yoda> Mmm, too late 3 years are you - still relevant you think not, mmm? </yoda> | |
Re: Be sure to let us know how that works out for you. [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url] | |
Re: Not only did you bump a long-dead thread, everything you said is way off base. [url]http://en.wikipedia.org/wiki/Reverse_engineering[/url] is specifically allowed in some cases, say interoperability. You wouldn't have a vast choice of PCs nowadays if someone hadn't RE'd the original IBM BIOS to produce a clone. Likewise (for those with short … | |
Re: [url]http://letmegooglethatforyou.com/?q=Is+there+a+free+program+available+to+make+ISO+images+of+CD%2FDVDs%3F[/url] | |
Re: You'd be better off posting your code on their forums. [url]http://forum.thegamecreators.com/?m=forum[/url] Someone there is likely to know the precise details of how to use the API, and correct your mistakes. Unless you happen to get lucky and find a DarkGDK expert here, it's unlikely that anyone is going to do … | |
Re: 1. main returns int. 2. a 10 character buffer is nowhere near long enough to store 10 integers expressed as a string. I would suggest char c[BUFSIZ]; and update the fgets call accordingly. Checking the return result of sscanf would be a good idea as well. > its basically ignoring … | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#writewell[/url] Your script kiddie speak may impress your friends, or it may just be a sign of laziness. Either way, it doesn't matter. Why? Because clear and effective communication is everything! [url]http://www.cnn.com/TECH/space/9909/30/mars.metric.02/[/url] Computers are in everything, and hence software is in everything. You might consider such things as - communications … | |
Re: When you jump to wrong, increment a counter and compare. | |
Re: Why do you need the password? The easiest way to get the password is to ask the user for it, and explain why you need it. passwords are usually stored as hashes (a one-way function). [url]http://en.wikipedia.org/wiki/Cryptographic_hash_function[/url] There is no simple function to go in the other direction. | |
Re: > (1) Describes the steps involved in the problem solution Find a computer. Surf the web to find a forum. Join a forum and post your homework. Ignore all [B][URL="http://www.daniweb.com/forums/announcement14-2.html"]We only give homework help to those who show effort[/URL][/B] posts. [url]http://www.catb.org/~esr/faqs/smart-questions.html#homework[/url] | |
Re: > Can you tell me the difficulty level of base exam? If I told you it was very easy, would you slow down your study pace? | |
Re: No you can't do that. Some platforms provide a specific "truncate" function to allow you to make a file shorter by removing stuff from the end. But there is no API which allows you to turn say [COLOR="Green"]hello world[/COLOR] into [COLOR="Green"]goodbye world[/COLOR] in such a way that the file will … | |
Re: Well down is easy, you stop at a constant. But counting up, the place where you stop is a variable. Consider passing the current value AND the target value as parameters. | |
Re: Well getline (hence the name) gets a line, not a word. while( cin >> str ) is perfectly OK if you want the usual white-space semantics for separating words. | |
Re: [url]http://letmegooglethatforyou.com/?q=Artificial+Immune+Recognition+System[/url] | |
Re: Check for special cases first, then attempt to validate the state using your existing approach. | |
Thanks to this muppet, all the programming forums have been trashed for the evening until a mod shows up and deleted all that crap. :@ :@ :@ :@ | |
Re: sscanf with a bunch of %x formats ought to do it. | |
Re: Add executable file formats to the list as well. |
The End.