5,237 Posted Topics

Member Avatar for umair125

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.

Member Avatar for Salem
0
134
Member Avatar for azjherben

Perhaps work on the code formatting first. [url]http://cboard.cprogramming.com/networking-device-communication/117697-shouldnt-code-work-select.html[/url]

Member Avatar for azjherben
0
171
Member Avatar for risa

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]

Member Avatar for Salem
0
489
Member Avatar for sweetsasthi

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

Member Avatar for sweetsasthi
0
377
Member Avatar for new_divine

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]

Member Avatar for Stefano Mtangoo
0
333
Member Avatar for pltndragon

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) { // …

Member Avatar for pltndragon
-1
2K
Member Avatar for group256
Member Avatar for chargreaves

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.

Member Avatar for tdeck
-1
102
Member Avatar for Dream2code

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

Member Avatar for Dream2code
0
126
Member Avatar for mrestrepo30

Forget it Dream2code, the OP ran away just after posting it, when asked to use the code tags.

Member Avatar for Dream2code
0
149
Member Avatar for Hillrock
Member Avatar for Hillrock
0
150
Member Avatar for BattlingMaxo

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 …

Member Avatar for BattlingMaxo
0
126
Member Avatar for dumrat

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.

Member Avatar for Tom Gunn
0
431
Member Avatar for jjplaw

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 …

Member Avatar for tux4life
1
177
Member Avatar for huzeifa

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

Member Avatar for tux4life
0
85
Member Avatar for Shaitan00

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.

Member Avatar for Salem
0
358
Member Avatar for shtikk

[url]http://www.daniweb.com/forums/thread203984.html[/url] Already annoyed beyond my willingness to care to help.

Member Avatar for Salem
0
122
Member Avatar for mvksudheerkumar

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

Member Avatar for Salem
0
65
Member Avatar for Dream2code

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

Member Avatar for Dave Sinkula
0
446
Member Avatar for shtikk

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 …

Member Avatar for pspwxp fan
0
272
Member Avatar for aayush2687

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]

Member Avatar for tux4life
-1
161
Member Avatar for deepugtm

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

Member Avatar for Antman
0
214
Member Avatar for sumeetdesaeee

> Sample question:- Wat will the expression ABC AB AC will become after postfix operation?? You need to post some actual C code.

Member Avatar for Dream2code
0
204
Member Avatar for PC_Nerd

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

Member Avatar for StuXYZ
0
6K
Member Avatar for abby2589
Re: OOP

> can i ask for a help? can you give me an idea to improve our program? another feature? Yes, no, maybe are my answers.

Member Avatar for Lerner
0
104
Member Avatar for KlementHonza

Lowlife ripping off other content just to spam a sig-link [url]http://msmvps.com/blogs/carlosq/archive/2009/02.aspx[/url]

Member Avatar for Salem
-2
171
Member Avatar for nikhil2911

We only give homework help to those who show effort [url]http://www.daniweb.com/forums/announcement4-2.html[/url]

Member Avatar for vb5prgrmr
0
91
Member Avatar for sravan953

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.

Member Avatar for Stinomus
0
123
Member Avatar for dirtyhiphophead

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.

Member Avatar for caperjack
0
162
Member Avatar for The Dude

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 …

Member Avatar for Salem
0
81
Member Avatar for DNDSH

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

Member Avatar for Salem
0
131
Member Avatar for NathanOliver

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

Member Avatar for NathanOliver
0
387
Member Avatar for Embroidery

[url]http://www.daniweb.com/forums/thread203055.html[/url] Vague question disguising sig-links?

Member Avatar for AirGear
-1
90
Member Avatar for Salem

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

Member Avatar for kaninelupus
0
108
Member Avatar for theausum

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

Member Avatar for suvirj
0
151
Member Avatar for nivi_14

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?

Member Avatar for Salem
0
188
Member Avatar for tomtetlaw
Member Avatar for Salem
0
225
Member Avatar for UrbanKhoja

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 …

Member Avatar for Ene Uran
2
478
Member Avatar for jessejamesjjr
Member Avatar for sandra21

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.

Member Avatar for sandra21
0
127
Member Avatar for xyzt
Member Avatar for Toxicity

So start again at reformatting. If you figured out how to do that once, do it again.

Member Avatar for Toxicity
0
94
Member Avatar for astropirate

Follow up on old threads, before finding somewhere else to post. [url]http://cboard.cprogramming.com/windows-programming/117461-creating-executable-runtime.html[/url]

Member Avatar for ganbree
0
132
Member Avatar for melissa.johns

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

Member Avatar for jephthah
0
101
Member Avatar for fifarunnerr

Read the string from the text box, Validate it, Convert to an integer, Do some calculation, and so on......

Member Avatar for Salem
0
49
Member Avatar for narendrachandu

Urgent lessons on recursion [url]http://www.daniweb.com/forums/thread202763.html[/url]

Member Avatar for ~s.o.s~
0
207
Member Avatar for mandar2886

Next step is to read the documentation for "Speech API". Then try some examples from the documentation to test your understanding.

Member Avatar for Salem
0
70
Member Avatar for dumdumsareyum

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 …

Member Avatar for Salem
0
148
Member Avatar for Salem

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 …

Member Avatar for Salem
0
117
Member Avatar for VBNick

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

Member Avatar for Salem
0
258

The End.