5,237 Posted Topics

Member Avatar for shyamsantra

The 'comm' command allows you to find out - lines only on the left - lines only on the right - lines common Use this to extract a list of files which are common to both directories.

Member Avatar for eggi
0
83
Member Avatar for daniyal_riaz

Sounds interesting - you should have a lot of fun doing that. What do you need us for?

Member Avatar for Colin Mac
0
164
Member Avatar for winrawr

> so why would one need to know assembly? Curiosity mostly. Being able to follow the code the compiler generates, and very rarely writing very small snippets works for me.

Member Avatar for winrawr
0
159
Member Avatar for prashanth s j
Member Avatar for Phil++
Member Avatar for ucza
Member Avatar for ucza
0
130
Member Avatar for Salem

[URL="http://linuxgazette.net/issue45/orr.html"]You had to do what with the seat?[/URL] [URL="http://bash.org/?233331"]you wake up with a new disease[/URL]

Member Avatar for roryt
0
53
Member Avatar for nm_9218

If you post some implementation, then we might be able to help you with it.

Member Avatar for Salem
0
95
Member Avatar for abhi1

Perhaps read up on ios::app means append Also, you open a file for output, then try to open it for input (does that even work?)

Member Avatar for guest7
0
406
Member Avatar for NeoKyrgyz

What you describe happens all the time with almost every function, and it isn't a problem. Perhaps you mean the alternative of where T2 tries to call X(), while T1 is already in X(). That's re-entrancy, and is a far more interesting problem. And no, you can't just "test" to …

Member Avatar for NeoKyrgyz
0
150
Member Avatar for mnmustafa

Read this [url]http://www.daniweb.com/forums/announcement8-2.html[/url] Make an effort. Read this [url]http://www.daniweb.com/forums/announcement8-3.html[/url] and post your attempt.

Member Avatar for kbshibukumar
0
121
Member Avatar for mrnutty

If n! is n * fac(n-1); Then log(n!) = n + lfac(n-1) If you use log10, it's even better :)

Member Avatar for aryansmit3754
0
140
Member Avatar for brimble2010
Member Avatar for linggs
Member Avatar for stultuske
0
220
Member Avatar for Salem

[url]http://en.wikipedia.org/wiki/Sarbanes-Oxley_Act[/url] I mean, wasn't that supposed to stop all the financial nonsense in the US? Don't be stupid, it's the wrong tool for the wrong job. Rushed through in some half-assed attempt to show the media they were doing something. The few $Bn which the likes of Enron etc were …

Member Avatar for GrimJack
0
318
Member Avatar for Lilith24

Yes, different assemblers (masm, tasm, nasm, gas) have different syntax. [url]http://www.delorie.com/djgpp/v2faq/faq17_2.html[/url]

Member Avatar for Salem
0
114
Member Avatar for iranai
Member Avatar for harryoma
Member Avatar for perl1user

Compile your c++ program with a c++ compiler. gcc prog.cpp will produce that message. Try gcc prog.cpp or g++ prog.cpp

Member Avatar for Salem
0
119
Member Avatar for vmanes

But it's only low because the global economy has been torched, not because of some military "success" (or otherwise). I bet that aspect wasn't in the sales pitch for war. > Really, what's the cause of this steep decline of oil price? Same thing that drove it up. Actual supply …

Member Avatar for Dave Sinkula
0
248
Member Avatar for perl1user

[url]http://clusty.com/search?query=calling+c+from+perl&sourceid=Mozilla-search[/url]

Member Avatar for perl1user
0
122
Member Avatar for nitu_thakkar

What's a [URL="http://www.daniweb.com/forums/thread165986.html"]search engine?[/URL]

Member Avatar for Stefano Mtangoo
-1
355
Member Avatar for RenFromPenn

> I have a text document in the same folder as the cpp file and all of the rest of it Where is the executable, in relation to the .cpp file? Where is the main project file, in relation to the .cpp file? If you've got something like [code] work/project.dsp …

Member Avatar for Ancient Dragon
0
883
Member Avatar for RenFromPenn

And your point being what? That sometimes no matter how much you google, that you can't find a ready-rolled answer? What ever happened to trying your own homework. I imagine the point is to see who's learnt something, not who's got the best google skills.

Member Avatar for Aia
0
190
Member Avatar for venomxxl

[ICODE]g++ -c cppcode.cpp gcc -c main.c g++ -o test main.o cppcode.o[/ICODE] Oh, and that might not work either. This is how to mix C and C++ [url]http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html[/url] In particular, the main() needs to be C++ so that global ctors/dtors get called.

Member Avatar for venomxxl
0
385
Member Avatar for Lightninghawk

This has some interesting possibilities [url]http://clusty.com/search?query=HP35s+internals&sourceid=Mozilla-search[/url] In particular, [url]www.hpmuseum.org[/url] seems like a good place to look around.

Member Avatar for Salem
0
196
Member Avatar for Swemp

You need to pass references to the vectors you are expecting to be updated. Otherwise, it's just [code] void foo ( int a ) { a = 3; } int main ( ) { int b = 0; foo( b ); // b still 0 here, not 3 } [/code] …

Member Avatar for Ancient Dragon
0
159
Member Avatar for harryoma

Use a for loop. That's pretty standard when you have an array, that is to use a for loop to iterate over the elements of the array.

Member Avatar for harryoma
0
92
Member Avatar for Blackeagle

> *10000000000000000000 What's this do - apart from arithmetic overflow?

Member Avatar for StuXYZ
0
115
Member Avatar for RenFromPenn

Do you have a manual for the C library functions? Are you using it? At the moment, you just seem to be typing in stuff without even beginning to think about what you're really saying.

Member Avatar for Aia
0
347
Member Avatar for korento

> I want to buy an EEE PC with Windows. Does it come with a licenced copy of windows on CD? Does it have the authentication sticker, containing the 25-character code? If so, you're good. Any XP installation CD will do, all you need is the authentication code for that …

Member Avatar for caperjack
0
153
Member Avatar for clutchkiller

> int rePass(0); //first password Most passwords are strings, not int's > goto PassCheck; Use a while loop.

Member Avatar for Comatose
0
111
Member Avatar for sydetys

Use CreateProcess() It's the one native to your OS, and will ultimately give you the most control over what happens. Use system() if you require no more sophistication than would be provided by a batch file. In other words, very basic "run & forget" approach.

Member Avatar for Freaky_Chris
0
255
Member Avatar for mustaine85

You have to read up on the (sometimes strange) rules about quoting and variable substitution in various shells. Try say [ICODE]sed $i's/$/'$age'/g' birthday.csv[/ICODE] Or maybe [ICODE]sed "${i}s/$/${age}/g" birthday.csv[/ICODE]

Member Avatar for mustaine85
0
90
Member Avatar for u8sand

You have to allocate for each * in turn, starting with the outermost one, and working your way inwards. [code=c++] Graphics::Graphics() { Width = 10; Height = 10; TextArray = new char*[Height]; for ( int h = 0 ; h < Height ; h++ ) { TextArray[h] = new char[Width]; …

Member Avatar for u8sand
0
97
Member Avatar for dinklebaga

Well the first thing you need to tell us is which OS you're using, and which compiler. As you've already discovered, this kind of direct access to the hardware is highly specific to your own circumstances.

Member Avatar for dinklebaga
0
162
Member Avatar for blurrycustoms

> HELLO I AM snip snip heard it all before snip snip First you need to learn how to read - specifically, forum rules and not hijacking year old threads with pitiful "me too" posts. Then learn some bloody netiquette by not YELLING ALL OVER THE PLACE!!!! - sheesh [url]http://www.catb.org/~esr/faqs/smart-questions.html#writewell[/url] …

Member Avatar for ARUN(MCA)
0
146
Member Avatar for cppnewb
Member Avatar for cppnewb

> Again we really need more information Specifically, your operating system and compiler. And try to be more specific than say "windows" and "borland", as there are many versions of both.

Member Avatar for cppnewb
0
102
Member Avatar for Ronen444

> Why should i put a ; ? Because it needs it. However, it might be better placed at the end of InputHandler.h (say at the end of a class declaration), rather than in your C++ code just to make the compiler shut up.

Member Avatar for Narue
0
277
Member Avatar for microarab

> whereas windows seems to place it in the middle of a system c-drive. In a single-drive system, you can easily get into the state of "swap a page out to disk, load a page of data for a program". This creates a hell of a lot of head movement. …

Member Avatar for tigerbright
0
134
Member Avatar for Richy321

[quote=c0x draft] 17.6.4.3.3 Global names [global.names] 1 Certain sets of names and function signatures are always reserved to the implementation: — Each name that contains a double underscore _ _ or begins with an underscore followed by an uppercase letter (2.11) is reserved to the implementation for any use. — …

Member Avatar for Salem
0
126
Member Avatar for kennycason
Member Avatar for FlashCreations

[url]http://en.wikipedia.org/wiki/MD5[/url] MD5 isn't really that safe anymore. > I will not go into specifics but the users will have access to very sensitive data Like banking or medical details? Many countries have legal requirements for compliance (and such like). > I need to have the best and most secure protection …

Member Avatar for kanaku
0
120
Member Avatar for cake

Your average s/w engineer can work regular hours (for the most part). A DBA would probably have to work a shift pattern, and perhaps even be "on call". If you want a job which can drag you out of bed at 3am on xmas morning, then that has a premium …

Member Avatar for Salem
0
219
Member Avatar for tom_jerry042

Read this [url]http://www.daniweb.com/forums/announcement8-3.html[/url] Then allocate some memory for s before trying to write data.

Member Avatar for iDeveloper
0
157
Member Avatar for lyndonmo

Try listing it on [URL="http://cgi.ebay.com/Crossbeam-APM-8400-4-Gig-RAM-80Gb-HD_W0QQitemZ300271024188QQcmdZViewItemQQptZCOMP_EN_Security_Firewall?hash=item300271024188&_trksid=p3286.c0.m14&_trkparms=66%3A2|65%3A16|39%3A1|240%3A1318"]ebay[/URL] as well.

Member Avatar for Salem
0
27
Member Avatar for shankmuchlove

This kind of question gets asked a lot. And it usually gets the same kind of answers as well.

Member Avatar for verruckt24
0
76
Member Avatar for PhiberOptik

[url]http://en.wikipedia.org/wiki/Comparison_of_free_software_licences[/url] So many to choose from.

Member Avatar for Salem
0
57
Member Avatar for Lamar Cole

[URL="http://www.youtube.com/watch?v=j9J9rTZJBmw"]Love Is A Battlefield[/URL]

Member Avatar for grumpier
0
103

The End.