5,237 Posted Topics
Re: The default should be - all member functions are public - all member data is private If you end up with public data, you're definitely doing something wrong. There's also protected, but I don't think you'll need that for this exercise, especially if it hasn't been mentioned in class yet. | |
Re: Perhaps work on the code formatting first. [url]http://cboard.cprogramming.com/networking-device-communication/117697-shouldnt-code-work-select.html[/url] | |
Re: Post some code, and convince us that you've [URL="http://msdn.microsoft.com/en-us/library/aa384096(VS.85).aspx"]RTFM[/URL] [quote=MSDN] The caller [COLOR="Red"][B][U]must free[/U][/B][/COLOR] the lpszProxy, lpszProxyBypass and lpszAutoConfigUrl strings in the WINHTTP_CURRENT_USER_IE_PROXY_CONFIG structure if they are non-NULL. Use GlobalFree to free the strings. [/quote] | |
Re: > Please help me out with some ideas so that my project should be best implemented. Not only do you want us to THINK for you, you also want us to DO it as well. So much for education. How about a simulation of how to optimise the cooking of … | |
Re: Or code::blocks, which is itself built on top of WxWidgets, and has a GUI designer [url]http://www.codeblocks.org/downloads[/url] [url]http://www.codeblocks.org/cbplugins[/url] [url]http://wiki.codeblocks.org/index.php?title=WxSmith_plugin[/url] | |
Re: You're over-thinking the problem. [code] void arrSelectSort([COLOR="Red"]float *[/COLOR], [COLOR="Green"]int[/COLOR]); int main() { [COLOR="Red"]float *[/COLOR]scores, //To dynamically allocate an array [COLOR="Green"]int[/COLOR] numScores; //To hold the number of test scores //sort the elements of the array pointers arrSelectSort ( scores, numScores ); return 0; } void arrSelectSort([COLOR="Red"]float *[/COLOR]array, [COLOR="Green"]int[/COLOR] size) { // … | |
Re: Try p+1 instead in your recursive call. | |
Re: Can you print the file, using the ancient application? If so, you should be able to do a print to a generic "text only" type printer, and capture the output in a file. | |
Re: [url]http://c-faq.com/malloc/index.html[/url] * Memory leak Calling malloc() without calling free(). * Buffer OverFlow Accesses outside the bounds of your memory. Can equally apply to arrays as well as allocated memory. A typical example is a for loop which runs to <=N rather than <N When (if ever) this actually blows up … | |
Re: Forget it Dream2code, the OP ran away just after posting it, when asked to use the code tags. | |
| |
Re: Sooner or later, you need to realise that there isn't a tutorial for everything which just matches your needs. At which point, you have to get down and start trying (and failing) to do your own thing (and not follow someone else's recipe). You're almost certain to fail at your … | |
Re: g++ --ostrich-head-in-sand prog.cpp Please tell us the name of the software you're working on, so we know to avoid it in future. I don't want to be anywhere near this train-wreck of a methodology. | |
Re: Are you going to spend more than say 5% of your time on this "protection", compared to the time you've spent on the actual product? If "yes", perhaps you need to reconsider your priorities. Is your product bug-free? If "no", perhaps you need to reconsider your priorities. Spending excessive amounts … | |
Re: Well the first question is "who are you trying to hide it from"? At some point. you're going to have to decrypt it locally so that you can send it to the server "in the clear". | |
Re: Poster evaluates to a thread posted on [URL="http://forums.devshed.com/c-programming-42/list-sort-compare-function--term-does-not-evaluate-to-a-624721.html"]two[/URL] forums. | |
Re: [url]http://www.daniweb.com/forums/thread203984.html[/url] Already annoyed beyond my willingness to care to help. | |
Re: Dunno, what does the manual say? Or even the members on the forum on the svn homepage [url]http://www.tigris.org/[/url] and click on community | |
Re: [url]http://www.daniweb.com/forums/announcement118-3.html[/url] [url]http://www.daniweb.com/forums/announcement118-3.html[/url] [url]http://www.daniweb.com/forums/announcement118-3.html[/url] [url]http://www.daniweb.com/forums/announcement118-3.html[/url] [url]http://www.daniweb.com/forums/announcement118-3.html[/url] You already missed at least FIVE places where the board asks (nay, implores) you to use code tags, but you missed them all. Try editing your posts again, and this time see if you can make them more readable. Check out some other posts on … | |
Re: And your question is what? Which OS / Compiler are you using? Which graphics library (or are you going to do it all in a console window) ? What sort of "skill" do you already have. If you've just done "hello world", then this will be a big step for … | |
Re: Nor is it likely to improve if you keep writing like a boob [url]http://www.catb.org/~esr/faqs/smart-questions.html#writewell[/url] | |
Re: > Give me a complete process to install it. What? More complete than the "complete" instructions on the WINE homepage? [url]http://www.winehq.org/[/url] And if you're still stuck, they have FAQs and Forums and IRC channels and....... | |
Re: > Sample question:- Wat will the expression ABC AB AC will become after postfix operation?? You need to post some actual C code. | |
Re: > #include <string.h> This is the old C-style header Try #include <string> #ifndef Conf_H #include "Conf.h" #endif Normally, the header include guards go inside the header file itself. | |
Re: > can i ask for a help? can you give me an idea to improve our program? another feature? Yes, no, maybe are my answers. | |
Re: Lowlife ripping off other content just to spam a sig-link [url]http://msmvps.com/blogs/carlosq/archive/2009/02.aspx[/url] | |
Re: We only give homework help to those who show effort [url]http://www.daniweb.com/forums/announcement4-2.html[/url] | |
![]() | Re: How about you give a definition (use a search engine). Because that's about as weak and useless as a question as it's possible to get. |
Re: Sure, just get as much detail from the properties as you can, then do a search for "driver + OS + whatever you know about the device" Download things which look promising, then put them on a CD / USB / floppy and see if anything installs. | |
Re: The UK "junta" spends over £1Bn per week on "indoctrination", but 1 in 6 children will leave school after 11 years in a functionally illiterate state. And that's despite the dumbing down of the education system to the point where you can get a "pass" by being able to write … | |
Re: > i wrote the whole program but there is some mistakes And until you adopt a better approach to writing programs, the same mistakes will keep arising. [url]http://cboard.cprogramming.com/c-programming/88495-development-process.html[/url] DO NOT try to write the whole thing in one edit, press "compile" whilst sacrificing some animal to the programming gods, then … | |
Re: > fout.write((char*) &temp, sizeof(temp)); This only works for [URL="http://www.fnal.gov/docs/working-groups/fpcltf/Pkg/ISOcxx/doc/POD.html"]POD[/URL] data which doesn't contain any pointers. Any class, or anything which contains pointers (even if you can't see them - so this rules out possibly all the STL types) cannot be simply saved in one step just by writing out a … | |
Re: [url]http://www.daniweb.com/forums/thread203055.html[/url] Vague question disguising sig-links? | |
Every time I go to a directory, the view (tiles, icons, list etc etc) seems to be arbitrarily assigned. The problem gets even worse with plugin USB drives as it seems to descend into chaos. I keep doing "set all folders" to look like this, but does it remember - … | |
Re: [code] class dog { enum smells { poo, flower }; smells nose ( object ); }; [/code] Instantiate the dog, then use the nose method to evaluate what a particular object smells like. | |
Re: Sure it's possible. My questions - how much C++ do you know to begin with? - which OS/Compiler are you using? - which graphics library are you using? | |
Re: To quote your sig [url]http://lmgtfy.com/?q=C%2B%2B+Preprocessor[/url] | |
Re: Independence? Freedom? From whom? [URL="http://www.brillig.com/debt_clock/"]Your $40,000 noose around your neck[/URL] That's every citizen. So ma, pa and 2 kids have more national debt than the house they live in is worth (assuming they even own it). Technically, half the population is destitute on the street with nowhere to live, and … | |
Re: Perhaps it's just been obfuscated to prevent those with little knowledge from ripping off the work by making a few simple changes to it. | |
Re: So start again at reformatting. If you figured out how to do that once, do it again. | |
Re: Follow up on old threads, before finding somewhere else to post. [url]http://cboard.cprogramming.com/windows-programming/117461-creating-executable-runtime.html[/url] | |
Re: > As it runs it seems to get slower and slower without explanation That sounds like it's consuming memory to me. You haven't said which Operating system or compiler you're using. Some come with $0 profilers. > I am very new to programming, and got drafted into trying to fix … | |
Re: Read the string from the text box, Validate it, Convert to an integer, Do some calculation, and so on...... | |
Re: Urgent lessons on recursion [url]http://www.daniweb.com/forums/thread202763.html[/url] | |
Re: Next step is to read the documentation for "Speech API". Then try some examples from the documentation to test your understanding. | |
Re: Apart from slapping "using namespace std ;" at the start of your 1500 line program, what else have YOU done? I would suggest you stop looking at this for a while (or ever again), and learn some modern C++ design, and then a modern graphics API. For example, your next … | |
Can we also have this, to complement the other quick forum links. # My threads * Subscribed Forums * All Forums A "My thread" is any thread that I've either posted or replied to. This would help in locating all the threads I am actively interested in very quickly, rather … | |
Re: > Dont give answers like this. We're here to inform and educate, not spoon-feed answers on [URL="http://www.daniweb.com/forums/post912895.html#post912895"]demand[/URL]. You TRY, we HELP - that's the deal. |
The End.