5,331 Posted Topics

Member Avatar for carmen.golz.9

As indicated by deceptikon, with the leading double quote, it is legimate C++, but not GOOD C++ code. The newline tokens will not flush the output stream. Instead of the trailing "\n\n" tokens, it should be `<< endl << endl` which will cause the output stream to print the data …

Member Avatar for deceptikon
0
192
Member Avatar for malik.epperson

An approach I have used in the past quite effectively was to create an array with the data in the list, sort that, and then use the sorted array to recreate the linked list. Sorting a linked list directly is a real PITA, and AD's suggestion is one possible method. …

Member Avatar for malik.epperson
0
1K
Member Avatar for deven (emile)
Member Avatar for khess

Good post Mike2K! Got an up-vote from me for that... :-) We run Linux servers for our production systems, exclusively, mostly CentOS 6.x - we have thousands of physical servers running in data centers world-wide, and thousands more running on virtual servers in the Amazon cloud. Windows? Well, it runs …

Member Avatar for rubberman
0
3K
Member Avatar for S.M.

Honestly, I do not recommend dual-booting operating systems. I have found it to be prone to serious problems. Myself, I use a virtual machine manager, such as VirtualBox, to create multiple virtual machines, with their own virtual HD wherever I want it. It preserves the fabled KISS principal. -) FWIW, …

Member Avatar for rubberman
0
249
Member Avatar for gerhardus01

Not quite right JorgeM, I think! (Caveate Emptor). I think the poster is referring to an internet domain, such as xyzzy.com. He has registered his domain (xyzzy.com) and wants it to be visible on the general internet, correct gerhardus01? To do this, you need a static IP address from your …

Member Avatar for rubberman
0
642
Member Avatar for RikTelner

If you want to figure out how to write your on DOS (Disc Operating System), look at FreeDOS - an open source version of MS-DOS: http://www.freedos.org/

Member Avatar for RikTelner
0
717
Member Avatar for Sahil89

Personally, I think they should rename it as "Not-so-safe Mode"! :-) That is a good way to fubar your system... Hopefully you verified that this is not a file critical to other system functions?

Member Avatar for rubberman
0
1K
Member Avatar for ZER09

The open source MySQL database can handle this sort of load very easily. There is also PostgresSql which is more "Enterprise" capable. I use both, as well as Sybase and Oracle. For small Linux database loads, MySQL works very well! I use it to store system performance data in large …

Member Avatar for rubberman
0
278
Member Avatar for kjalal

Your posts are not particularly enlightening (so to speak). I assume you are having difficulties starting your computer. Have you tried holding down the power button for at least a number of seconds until the light goes out? I had that problem the other day with my laptop, and that's …

Member Avatar for rubberman
0
145
Member Avatar for TheFearful

Too much code, and not enough information. What is the "drive" function supposed to do, for example? What do you mean by a "recursive" quick sort? Do you mean a reverse sort - largest to smallest? Or do you mean a recursive sorting algorithm?

Member Avatar for TheFearful
0
214
Member Avatar for Damian_2

@ Ancient Dragon I would suggest that the students vector be a static member of the Student class, although your suggestion is also valid. However, having it a static member of the Student class means that other classes and functions can access it, whereas if it is declared in main() …

Member Avatar for rubberman
0
436
Member Avatar for champmanking

Yes, it is an instance variable, and only affects the instance you set it in. Make it a class static variable, and that should do what you want.

Member Avatar for champmanking
0
735
Member Avatar for SpottyBlue

That's a good start on the Use-Case diagram. It still isn't complete. For example, in item #3, "Passenger seeks information on fare, train timings, and availability of tickets.", you only have one use-case, that of availability. So, go back through all of the points and make sure you cover all …

Member Avatar for rubberman
0
415
Member Avatar for Vasthor

As shown by Labdabeta, make sure you "guard" your header files from multiple inclusions.

Member Avatar for Vasthor
0
389
Member Avatar for ESTEBE

Try manually mounting the partition at /dev/sda4 without all the options you are using, but with a read-only option. What Linux OS are you trying to use to recover your data? I assume that you are booting from a Linux CD or DVD? Or is your system dual-booted?

Member Avatar for ESTEBE
0
147
Member Avatar for mixelplik

"Never mind - God I why do I always figures this crap out right after I post?" Probably because we all figure out our errors right after we ask someone about them - having a bit of time to rethink what we did... Welcome to the Homer Simpson Society "Doh!". …

Member Avatar for rubberman
0
180
Member Avatar for harshi22

What James said. In addition, there are abundant sources of documentation on how to implement b+ trees on the web, and in printed books. Try some Googling on your own! This came up on a quick Google search for b+ trees: http://en.wikipedia.org/wiki/B%2B_tree

Member Avatar for rubberman
0
138
Member Avatar for happygeek

Myself, I use Linux to create a system bit-image of both Linux and Windows system discs. I copy the image to an external hard-drive using the dd command piped to gzip to compress it, and if something mungs the system it is an image of, I can restore it pretty …

Member Avatar for rubberman
0
511
Member Avatar for Beggersewen

Chimei is a major Taiwanese electronics manufacturer. Their monitors have a decent reputation, and I believe they have a good (3 year) warranty. If you can get one at a competitive price, it should do you well.

Member Avatar for rubberman
0
156
Member Avatar for Ankit_8

What James said. Also, if we give you the code, do we get your degree? :rolleyes:

Member Avatar for rubberman
0
314
Member Avatar for TheBrick

It may be the swiss-army knife of modeling tools, but I have been working happily with Sparx Enterprise Architect (found at www.sparxsystems.com) for years. They fully support relational and entity-relational diagrams, as well as UML, and other design methodologies. They have a reasonably priced student license (assuming you are a …

Member Avatar for rubberman
0
159
Member Avatar for Hussan

Go here for official nVidia GeForce driver downloads: http://www.geforce.com/drivers

Member Avatar for rubberman
0
224
Member Avatar for archie.herbias

I have also found that if you go into the System->Preferences->Display page, you can usually get it to find the new display device (projector) and set that to be the output device, or set the display to mirror the output on both the laptop and projector at the same time.

Member Avatar for archie.herbias
0
1K
Member Avatar for cadam940

It looks like a fairly straight forward recursive algorithm. Work it through in words (pseudo code) what you need to solve it.

Member Avatar for rubberman
0
375
Member Avatar for narvey ann

Ah, prime numbers! One of my favorite subjects when I was studying public key encryption algorithms back in 1984-1985. I wrote some interesting prime factorization algorithms that were quite efficient so I could generate Goedel numbers from random strings, and extract the strings from the numbers in turn. Over the …

Member Avatar for rubberman
-1
238
Member Avatar for HmHoney
Member Avatar for Purav_1

What deceptikon is trying (in his inimcable way) that you need to first try to solve the problem, post the code here, and wait and see if we decide to help you... :-) We will, if you make an honest effort to work it out - we do NOT do …

Member Avatar for rubberman
0
95
Member Avatar for lestatde.lioncourt.9279

Was this a socketed chip, or soldered into the board? If soldered, did you do it yourself, or have someone else do it? Soldered chips in systems like this need to either be reflow soldered, or done very, very carefully. Myself, I can solder pretty well, but I wouldn't try …

Member Avatar for rubberman
0
156
Member Avatar for shashidhargm

Good find caperjack! :-) Gets an upvote from me, and I work for Nokia Mobile Phones! :-)

Member Avatar for rubberman
0
223
Member Avatar for sohail.butt.144

In C++, interface classes are pure virtual classes. There is no such thing as an interface class per-se in C++, unlike Java and some other languages. The advantage is that you can have default behaviors (not all methods need to be pure virtual) that can be used or overridden by …

Member Avatar for rubberman
0
105
Member Avatar for haroon.khaliq

Show your code and logic, and then we may be able to help you get through the knottier parts.

Member Avatar for rubberman
0
154
Member Avatar for james.young.5015

Note that the java compilers generally require that the last line is terminated with a new-line sequence. Try adding an empty line after the end of the code. Many C/C++ compilers have the same problem.

Member Avatar for rubberman
0
130
Member Avatar for aditya.rohilla.50

As said, just install Linux (either on your HD or a virtual machine) and get started! You can ask for help here, or you can go to http://www.linuxforums.org/forum and post there - it is a Linux only forum (the other one I help on) and there are a LOT of …

Member Avatar for rubberman
0
199
Member Avatar for hayuff_cao

Burn and boot a live Linux CD/DVD image disc (a recent distribution that supports NTFS partitions). Then, assuming the disc is /dev/sdb (your normal system disc should be /dev/sda, but use fdisk -l to see for sure), use this command: fsck -f /dev/sdbN where N is the number of the …

Member Avatar for rubberman
0
322
Member Avatar for Rahul47

It all depends upon the word size of the architecture. A 32-bit system will be 4 byte aligned. 64-bits will be 8 byte aligned. This is a definite case of caveat programmer (programmer beware)! :-) A lot of new developers have been bit by this.

Member Avatar for ddanbe
0
214
Member Avatar for gunel555

What operating system is this for? In any case, you can get it here: http://freecode.com/projects/minicom

Member Avatar for rch1231
0
157
Member Avatar for martin3885

What deceptikon said. The window manager probably supports drag+drop, (pretty standard these days) but both source and destination applications have to handle the drag and drop events respectively, otherwise nothing will happen such as you want. "Wrapping" the application in another window buys you nothing. Even with C#, your application …

Member Avatar for rubberman
0
244
Member Avatar for singularity~

A couple of issues. MPI is a parallel computation framework. Where do you distribute the work to other members of the computational cluster? What I see is what would run on one system (cpu/core etc). Anyway, go here for more help/tutorials and such: http://www.mcs.anl.gov/research/projects/mpi/

Member Avatar for rubberman
0
200
Member Avatar for somyms

Mapping physical neural networks to computer constructs is PhD level R&D - some of the smartest people on the planet have been working on this problem for years. As I said in another thread, you do it, and then you get a Nobel Prize in Medicine... :-) I think that …

Member Avatar for rubberman
0
204
Member Avatar for mnewsome

What do you mean by "receiver"? Do you mean to be able to simply use it as a WiFi access point? This is not hard to do. I have done that with one of my Linksys routers. You disable the routing capabilities and the DHCP server, and connect it to …

Member Avatar for rubberman
0
936
Member Avatar for Iurie

The images are too small and are unclear when expanded to a reasonable size. Please repost the images at a larger scale.

Member Avatar for Iurie
0
224
Member Avatar for tawanda_1

Suzie is being nice to you - we are not supposed to solve your homework assignments for you, though I think she just gave you a foot up to help you get started. :-)

Member Avatar for ann.mughal.5
0
305
Member Avatar for ifeanyiben

You don't say if this is a Windows or Linux/other system? For Windows, both triumphost and Slavi have good suggestions. For Linux systems, both C++ and Java compilers are available in the standard package repository for your distribution. For a Windows IDE, some people like codeblocks. Myself, I prefer eclipse. …

Member Avatar for rubberman
0
155
Member Avatar for pdk123

What is the map using for the key? The SN? If so, then it should be the last element in the collection, and you should be able to use the map::crbegin() method on the map (reverse iterator to quickly access the biggest SN since it will be the key for …

Member Avatar for rubberman
0
191
Member Avatar for debasis29

There are a number of methods to do this. One is to create a chroot environment for each process. You can restrict precisely what applications can be run there, and associated them with specific system directories. This is somthing like what L7Sqr mentions about "sandboxing" the applications, instead of separate …

Member Avatar for debasis29
0
198
Member Avatar for symon_1
Member Avatar for Rahul47
0
238
Member Avatar for willyah

A complex number is expressed as a number with 2 parts, the real part, and the imaginary part. Usually both are notated as either floats or doubles. This means that the complex number is a structure, and your allocation is actually more or less correct in that you need to …

Member Avatar for rubberman
0
161
Member Avatar for willyah
Member Avatar for Ancient Dragon
0
187
Member Avatar for CHINMAYA_1

Not only do a, b, and c need to be declared, they also (in Rahul47's example) need to be initialized to non-zero values. So, in your case, that IS the problem! :-)

Member Avatar for rubberman
0
121

The End.