5,237 Posted Topics
Re: > Hi i am hacking a pong game into a racing game. Well there's your problem - you started from the wrong place! Write some new code to do what you actually want to do. I doubt many people would want to wade through 500+ lines of a broken pong … | |
Re: [url]http://c-faq.com/cpp/safemacros.html[/url] | |
Re: [url]http://www.daniweb.com/forums/announcement118-2.html[/url] Fine - make start, then post back when you're really stuck. A generic parser for C++ would be hard work, so do you have example files which might relax the need to make a 1st class job of the parsing (say no nested classes). Let's get the simple stuff … | |
Re: I've written more coherent stuff by falling asleep on the keyboard than that. [url]http://www.catb.org/~esr/faqs/smart-questions.html#writewell[/url] > 2.balance enquiry You have $0 > 3.fund transfer Read an amount, and add to balance. > 4.view mini transaction.. Your turn | |
Re: Nice to know.... [url]http://cboard.cprogramming.com/cplusplus-programming/125948-vector-delete-problem.html[/url] Not to mention [url]http://cboard.cprogramming.com/cplusplus-programming/125850-linked-list.html[/url] [url]http://cboard.cprogramming.com/cplusplus-programming/125947-reading-writing-data-file.html[/url] Are you being careful enough? [url]http://www.catb.org/~esr/faqs/smart-questions.html#forum[/url] Or just trying to grab as much attention as possible? [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] | |
Re: Quite a lot of hours :) [url]http://www.squidoo.com/10000-hour-rule[/url] | |
Re: > By the way, just use the strncpy() function. strncpy_s() is non-standard, non-portable, not a good choice to use. And the use of either in a C++ program (when the OP has already used std::string for something) is just bone-headed :) EVERY char array and char* needs to be turned … | |
Re: > cmd_info->infile = malloc(strlen(args[i]) * sizeof(char)); You need strlen(x) + 1 chars to copy a string. | |
Re: What's your host operating system? | |
Re: This will tell you all you need to know for writing your own drivers [url]http://www.microsoft.com/whdc/devtools/wdk/wdkpkg.mspx[/url] This will tell you all you need to know about actually talking to the tablet (I guess) [url]http://linuxwacom.sourceforge.net/[/url] Since you mentioned that it is a serial port, chances are the protocol is pretty simple. There's … | |
Re: [url]http://www.daniweb.com/forums/announcement14-2.html[/url] If ever a poster deserved to fail for such blatant attempts at cheating (or lack of effort), then yours is right up there! > and i have to do this assignment because its my last hope to pass the course And then what? Getting a job on the back … | |
Re: [ICODE]$ find . | xargs stat -c "%Y %n"[/ICODE] If you save the result of this in a temp file, then do the same later on. Then do a diff between the two files to see what changed. Or consider this, if you have it. [url]http://linux.die.net/man/1/dnotify[/url] | |
Re: Serious alright, you completely missed these posts. Announcement: Please use BB Code and Inlinecode tags Announcement: We only give homework help to those who show effort | |
Re: > If so, how can two programs access the same file at once? I thought we were talking about streams, not files. A stream is a conduit between a producer (say your keyboard), and a consumer (your program). A stream can be redirected, so instead of the producer being a … | |
Re: Your main() needs to declare an ARRAY of int's. Then have a loop to fill the array. Reverse it, then print it (another loop) | |
Re: Before you start storing and analysing, make sure you can actually read the file successfully. Say by being able to print out the following as each line is read. Rank = 1, bName=Michael, count=33316, gName=Amanda, count=23744 And for each invalid line (you might have to add some yourself to test … | |
Re: Why is your ctor calling 'get' functions? | |
Re: Rewrite your app so it conforms to [URL="http://en.wikipedia.org/wiki/Principle_of_least_privilege"]http://en.wikipedia.org/wiki/Principle_of_least_privilege[/URL] Unless your app absolutely needs admin, then there's no reason why it should need it just because the programmers are too lazy. Too many shoddy programs running with elevated privileges is one of the reasons why there's so much spam and malware … | |
Re: Great, another "teacher" who thinks "stupid programming tricks" is a way to teach students. > other than recursive any other way? Any other restrictions, before we decide to waste any more time thinking about this pointless question? | |
Re: Sure, just go [URL="http://www.allbusiness.com/finance/123842-1.html"]here to find out more[/URL] [URL="http://www.mcdonalds.com/"]We're hiring talented and motivated individuals[/URL] | |
Re: > I have to have Tetris made in Java in 3-5 weeks, but I haven't started, and have no idea how to start. Week 1, Draw a shape Week 2, Move the shape with the keys Week 3, Rotate the shape with the keys Week 4, Detect completed lines in … | |
Re: [url]http://www.databasejournal.com/features/mssql/article.php/3738276/Storing-Images-and-BLOB-files-in-SQL-Server-Part-4.htm[/url] | |
Re: How many characters per row (and how many rows)? Is that fixed, or are you supposed to work it out from reading the file? Consider [ICODE]char map[4][8];[/ICODE] as being just enough for holding the 4-lines of map you posted. | |
Re: [url]http://clusty.com/search?query=shrink+wrapped+application&sourceid=Mozilla-search[/url] | |
Re: Well you could try writing it yourself. "I did a web search and found a bar program, please write a foo program for me". is only marginally better than a 1-line begging post "Please write a foo program for me". It might look like [URL="http://www.daniweb.com/forums/announcement14-2.html"]effort[/URL], but it only took you … | |
Re: [url]http://www.nondot.org/~sabre/os/articles/TheBootProcess/[/url] | |
Re: Which OS? 16-bit DOS 32-bit Win32 32-bit Linux Which assembler? Nasm a long list of others I can't be bothered to list | |
Re: [url]http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments[/url] Revision control is seldom wired directly into the IDE. There's a similarly large list of choices. [url]http://en.wikipedia.org/wiki/Comparison_of_revision_control_software[/url] FWIW, I'm using Eclipse and Git. | |
Re: Stop spamming, and claiming that your homework is the most important thing in the universe. [url]http://www.daniweb.com/forums/thread275902.html[/url] | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#bespecific[/url] [url]http://lmgtfy.com/?q=google+dance[/url] But I suspect you're just another drive-by spammer of links with a bunch of keywords in your posts. | |
Re: [url]http://www.daniweb.com/forums/announcement9-2.html[/url] Way, way too much to ask IMO. Personally, I'm content to sit back and watch you fail. Because the last thing anyone in industry needs is someone sitting beside them with some half-assed qualification obtained by getting others to do the work for them. So post some actual effort … | |
Re: > Can anyone help me get started? [url]http://www.catb.org/~esr/faqs/smart-questions.html#prune[/url] Well you managed to find the ON switch for your PC, so I suppose there might be some hope for you ;) [ICODE]#include <iostream>[/ICODE] There you go, first line's done. | |
Re: [url]http://www.daniweb.com/forums/announcement118-2.html[/url] [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] | |
Re: [url]http://ww1.microchip.com/downloads/en/devicedoc/41190c.pdf[/url] See the table page 44. Are you sure you're allowing enough time for a conversion to take place? Also page 47 - A/D Acquisition Requirements There is a minimum delay between acquisitions which your back-to-back conversions would seem to be violating. | |
Re: The "portable" equivalents would be: [url]http://pdcurses.sourceforge.net/[/url] [url]http://en.wikipedia.org/wiki/Ncurses[/url] Either provide a fairly fine-grained control over terminal/console type applications. | |
Re: Why don't you post your initial thoughts (or if you will, "guesses"). Then we can tell you if you're on the right track (or way off base). Learning how to break down a wordy description into classes is a practised skill - you won't get there by waiting for everyone … | |
Re: > char a_char; Well you asked for only one char, and that's what you got. Consider a char array (or better, a [ICODE]std::string[/ICODE]) if you want to store many chars in the same object. | |
Re: [url]http://www.daniweb.com/forums/announcement4-2.html[/url] | |
Re: You know something is wrong when an error number has it's own URL ;) [url]http://www.0x800c0133.info/[/url] | |
Re: > If 'names' is memory location 3000, are the letters necessarily stored like this? Yes. > And "Dean" and "Viky" is hold as two another array of characters in another place in memory. No. The OP had a true 2D array, so all the data is contiguous in memory. Your … | |
Re: You need to show us an example of how you're drawing text on the screen at the moment. There are many and varied ways of doing this, so simply guessing "I do it this way" might be of no use to you at all. | |
Re: Does system::string have anything in common with std::string ? In which case, perhaps it has a method like this. [code] ifstream waveFile ( open.FileName.c_str() ); [/code] | |
Re: If it's a file of simple words, why not just [ICODE]in>>array[k];[/ICODE] rather than trying to read (poorly) one character at a time. | |
Re: [url]http://sourceforge.net/apps/mediawiki/cpwiki/index.php?title=Indentation[/url] Your code is basically unreadable without a lot of effort on our part. The kind of effort which makes us find something else to do. | |
Re: You forgot to ask a question. Note that questions along the lines of "can you write..." are not the sort of questions which will draw a response you'd like. You also didn't read this. [url]http://www.daniweb.com/forums/announcement14-2.html[/url] | |
Re: Knock yourself out [url]http://sourceforge.net/search/?type_of_search=soft&words=text+editor[/url] | |
Re: [url]http://cboard.cprogramming.com/c-programming/125718-mpi-send-message.html[/url] [url]http://forums.devshed.com/c-programming-42/mpi-send-message-693881.html[/url] Any more places where people are wasting time repeating the same answers? Help on forums is a finite resource, so for you to go around wasting that by getting the same answers from different people is pretty darn selfish IMO. | |
Re: Nearly 30 posts, and you still don't know the rules? [url]http://www.daniweb.com/forums/announcement8-2.html[/url] [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url] Read that, to see if you can come up with a better question than a vacuous "help please". | |
Re: > I just started learning assembly When, yesterday? > and tomorrow I have an exam When did you know you had an exam coming? - weeks ago I bet. But somehow it wasn't a problem until it's too late to do anything about it. [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] [URL="http://www.daniweb.com/forums/announcement125-2.html"]It's the 4th quarter, 98 … |
The End.