5,237 Posted Topics

Member Avatar for Hidden_mistakes

> 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 …

Member Avatar for Salem
0
102
Member Avatar for urbangeek
Member Avatar for phin

[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 …

Member Avatar for Salem
0
100
Member Avatar for alok4u

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

Member Avatar for alok4u
0
81
Member Avatar for tarheelfan_08

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]

Member Avatar for tarheelfan_08
0
117
Member Avatar for mckrm
Member Avatar for Salem
0
125
Member Avatar for rena0514

> 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 …

Member Avatar for Salem
0
186
Member Avatar for nunos

> cmd_info->infile = malloc(strlen(args[i]) * sizeof(char)); You need strlen(x) + 1 chars to copy a string.

Member Avatar for nunos
0
174
Member Avatar for yahooak
Member Avatar for miklavcicmatic

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 …

Member Avatar for miklavcicmatic
0
86
Member Avatar for Helpgirl

[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 …

Member Avatar for Ancient Dragon
-2
154
Member Avatar for Dream2code

[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]

Member Avatar for Dan08
0
156
Member Avatar for manjotpahwa

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

Member Avatar for jephthah
0
156
Member Avatar for mahela007

> 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 …

Member Avatar for Rashakil Fol
0
125
Member Avatar for blind122

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)

Member Avatar for turrence27
0
186
Member Avatar for Marine4God

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 …

Member Avatar for Salem
0
916
Member Avatar for casjackkwok2001
Member Avatar for Senefelder

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 …

Member Avatar for Salem
0
928
Member Avatar for pramoda.ma

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?

Member Avatar for Ancient Dragon
0
5K
Member Avatar for therambo

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]

Member Avatar for Salem
0
110
Member Avatar for Xeros606

> 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 …

Member Avatar for white feather
-1
104
Member Avatar for khan17

[url]http://www.databasejournal.com/features/mssql/article.php/3738276/Storing-Images-and-BLOB-files-in-SQL-Server-Part-4.htm[/url]

Member Avatar for Salem
0
63
Member Avatar for mariosbikos

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.

Member Avatar for mariosbikos
0
293
Member Avatar for fkcares

[url]http://clusty.com/search?query=shrink+wrapped+application&sourceid=Mozilla-search[/url]

Member Avatar for fkcares
0
74
Member Avatar for blackmagic01021

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 …

Member Avatar for blackmagic01021
0
208
Member Avatar for Nicholas_Roge
Member Avatar for NotNull
0
158
Member Avatar for mjacqu3

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

Member Avatar for NotNull
0
89
Member Avatar for QueenKirsty

[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.

Member Avatar for Nick Evan
0
127
Member Avatar for Muhammadlodhi

Stop spamming, and claiming that your homework is the most important thing in the universe. [url]http://www.daniweb.com/forums/thread275902.html[/url]

Member Avatar for Nick Evan
-5
136
Member Avatar for Michael2

[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.

Member Avatar for Nick Evan
-1
85
Member Avatar for FreddieMerqury

[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 …

Member Avatar for Ezzaral
0
142
Member Avatar for sana zafar

> 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.

Member Avatar for Excizted
0
151
Member Avatar for Muhammadlodhi

[url]http://www.daniweb.com/forums/announcement118-2.html[/url] [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url]

Member Avatar for Salem
-2
364
Member Avatar for riccardo-m

[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.

Member Avatar for riccardo-m
0
124
Member Avatar for riahc3

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.

Member Avatar for jephthah
0
1K
Member Avatar for Zubz15

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 …

Member Avatar for Salem
0
138
Member Avatar for loadload

> 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.

Member Avatar for tetron
0
123
Member Avatar for rockybtechit
Member Avatar for AndreRet
1
123
Member Avatar for aerophil

You know something is wrong when an error number has it's own URL ;) [url]http://www.0x800c0133.info/[/url]

Member Avatar for thewebhostingdi
0
246
Member Avatar for deanus

> 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 …

Member Avatar for deanus
0
148
Member Avatar for deadliest

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.

Member Avatar for Salem
0
151
Member Avatar for inisca

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]

Member Avatar for jonsca
0
134
Member Avatar for laudaisoi

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.

Member Avatar for laudaisoi
0
946
Member Avatar for Sabryan
Member Avatar for bandit711

[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.

Member Avatar for bandit711
0
165
Member Avatar for ohnow

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]

Member Avatar for ohnow
0
80
Member Avatar for nitgru1123

Knock yourself out [url]http://sourceforge.net/search/?type_of_search=soft&words=text+editor[/url]

Member Avatar for CppBuilder2006
-2
83
Member Avatar for Mena samy

[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.

Member Avatar for Mena samy
0
189
Member Avatar for empror9

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".

Member Avatar for Salem
0
121
Member Avatar for simona_ragazza

> 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 …

Member Avatar for Salem
0
99

The End.