5,331 Posted Topics

Member Avatar for anish.prasad.7739
Re: C++

@Shol-R-Lea Well put! @Morganstevens Read Donald Knuth's seminal volume 3 of the "Art of Computer Programming, Sorting and Searching". I am considered an "expert" on database systems. Knuth volume 3 is where I learned the basics of the subject - that and the works of Codd and Date.

Member Avatar for rubberman
0
294
Member Avatar for inspire_all

@ravi_14 Good references. @inspire_all These are basic problems in concurrent programming systems. Read the text books your professor has assigned for your class. We don't do your homework for you.

Member Avatar for rubberman
0
231
Member Avatar for COKEDUDE

The easy way (single line) is to use the `char* strdup(const char* source)` function.

Member Avatar for rubberman
0
1K
Member Avatar for Neuman

Please be more clear. You want a program to use for training programmers? Or something else?

Member Avatar for Morganstevens
0
121
Member Avatar for dennis.ritchie

Please show the code. Without that, it isn't possible to answer your question. The typical swap algorithm is this swap(type& var1, type& var2) { type tmp = var1; var1 = var2; var2 = tmp; }

Member Avatar for Kristian_2
0
231
Member Avatar for daniel1977

1. You don't show what the problem is. 2. This would be better done with a `do {...} while (condition)` loop instead of your `while() {...}` loop. Example: (eliminating the priming read) do { System.out.print( "Enter an integer, or -1 to stop > " ); number = scan.nextInt( ); // …

Member Avatar for hannahaddad
0
252
Member Avatar for mohan@nano

Try these Google (or better still, DuckDuckGo) search terms: javascript tree structures

Member Avatar for mohan@nano
0
71
Member Avatar for mechbas

How was the image created? Did you use a dvd ripper that would remove the DRM and region codes? If not, then the image will remain unplayable since DVD DRM does weird stuff that is not translatable to an image file without code to remove the DVDCSS (DVD Content Scramble …

Member Avatar for mechbas
0
408
Member Avatar for napninjanx

Do you know Java? Android Dalvik is just Java, but with a different compiler and virtual machine. If you don't know how to write Java code, then you have some learning to do. If you already know C++ or PHP, then it will not be difficult.

Member Avatar for napninjanx
0
284
Member Avatar for Samerases

You don't say what country you are in. It looks like a moderate Linux/Android fondle-slab (tablet). Not shabby, but not high-end either. Memory (RAM) is minimal (1GB), and internal memory storage is adequate (16GB), but you can add a 32GB SD card to complement that. It appears to be from …

Member Avatar for creamtown
0
154
Member Avatar for davy_yg

I would strongly recommend that you install LibreOffice instead of OpenOffice. It is much more up to date, and compatible with all OO files and file types.

Member Avatar for iamthwee
0
418
Member Avatar for ubhart

You would fail my class... :-( DO NOT fail to use curly-braces to delimit ALL conditional statements and loops. This is one of the biggest causes of system logic issues... Fix that, and I'll take another look at your code.

Member Avatar for ubhart
0
276
Member Avatar for dhananjaiswetha

Not sufficient information. When does it show this? When running? Or on boot-up POST (Power-On Self Test)? What specifically does it say? Have you recently tried to update the BIOS?

Member Avatar for dhananjaiswetha
0
74
Member Avatar for DavidB

Have you posted this to either the Adobe user forums or asked Adobe support about this? Those would be my first two steps to resolve this, or at least figure out what is going on.

Member Avatar for DavidB
0
371
Member Avatar for Yogesh_5

Sorry, but we don't do your homework for you. Make an effort, post the code, and we might help you figure out why it doesn't work... :-(

Member Avatar for rubberman
0
88
Member Avatar for Abhitellakula

Use a comm program like minicom, open a file on the remote system, and upload the file. If you just want to write it to the comm port, you can copy it directly to the port from a command line (cmd.exe): copy file com1:

Member Avatar for rubberman
0
174
Member Avatar for malladiram

Right... Sorry. How long did you leave the device in a drawer until you needed it again? Or is it REALLY yours? Forgetting your phone unlock code (a 4-digit PIN) is something like forgetting to put your pants on before leaving for work - not really likely, popular jokes notwithstanding... …

Member Avatar for rubberman
0
70
Member Avatar for Harvey-St

Alternatively, you may need to reconfigure your router/firewall to allow incoming connections via ports 5060 and 5061. There may be other ports that you need to open as well, but I'm not sure if you need them, for example SIP directory services (port 5059).

Member Avatar for simonrobert
0
543
Member Avatar for iamthwee

Since it is FOSS (free, open source) it is doubtful any one acquired it. According to DistroWatch, it has been discontinued. It was a French fork of Ubuntu. My guess is that there was just not enough community behind it to keep it going.

Member Avatar for JasonHippy
0
264
Member Avatar for rubberman

Here is a great article and video from the Free Software Foundation (FSF) about using FOSS (Free and Open Source Software) to do complex audio/video editing tasks: http://www.fsf.org/blogs/community/how-i-made-a-video-for-libreplanet-using-all-free-software

Member Avatar for JasonHippy
3
448
Member Avatar for davy_yg

I run a LOT of systems in virtual machines (thousands in the Amazon cloud for example), and we use ssh to connect to these systems. Note that the sshd service on the systems you want to connect with may either limit connections from known hosts, and/or require a private key …

Member Avatar for rubberman
0
215
Member Avatar for admiri92

It used to be said that C++ is C with classes. In fact, early C++ compilers would simply generate C code and then compile that. Before C++ was generally available, I used to write C code much like what C++ compilers would generate at that time. Honestly, I much prefer …

Member Avatar for rajii93
0
540
Member Avatar for napninjanx

1. Plugging the drive into another computer may infect that one also, especially if it is also running a Windows OS. 2. Yes, they may have your IP address, but if you are using DHCP, that will change when you reinstall the operating system. 3. Once infected, change all user …

Member Avatar for Tcll
0
280
Member Avatar for ckide

I've always considered Java to be C++ with training wheels, garbage collection notwithstanding. As a matter of fact, Java's garbage collection (gc) is a major contributor to performance issues for Java applications that are long-running and serious resource users. I wrote a reference-counting gc for C++ back in the 1990's …

Member Avatar for invadev
0
310
Member Avatar for Dang_1

It is simple enough to write your own function to do this. Pass in the password to the function, and have it generate a string of '*' characters of the same length that it returns. Call this function `string obfuscatePswd(const string& pswd)`. Then your code becomes this: `cout << obfuscatePswd(password) …

Member Avatar for Ancient Dragon
0
498
Member Avatar for catastrophe2

There are two approaches to this sort of problem (I'm not going to get into details how to do it). One is an iterative computational process - slow when numbers get big. The other is a recursive algorithm where you start with a moderately sized array of the numbers and …

Member Avatar for catastrophe2
0
235
Member Avatar for lewashby

If you have SELinux enabled then try this: setsebool -P samba_export_all_ro on

Member Avatar for mister_X_men125
0
218
Member Avatar for logicslab

This appears to be a system configuration problem. The file /mnt/repodata/repmod.xml is either not available, not readable, or not writeable. In any case, normally, it would not be in /mnt, so I expect that you did something to alter the configuration of yum that caused this. Since I don't find …

Member Avatar for logicslab
0
296
Member Avatar for <iostream>

Good luck! You are going to need it! There is a reason why they are called "dead"lines - if you miss them, you are dead... I think you have some serious grovelling to do at your professor's feet.

Member Avatar for rubberman
0
134
Member Avatar for pankajagar2002

There are a gazillion X11/postscript fonts, including arial. for Linux. You just need to install them. Look at your package manager to find them. Just because they aren't installed by default doesn't mean they aren't there or available to be downloaded as needed. There are also bitstream fonts as well. …

Member Avatar for iamthwee
0
764
Member Avatar for DS9596

Not much, is it? First, go to Wikipedia and read the article on prime numbers and the Sieve of Aristhostenes. We don't do your homework for you, and generating the prime numbers as specified in the SOW (statement of work) is the biggest part of this exercise.

Member Avatar for Schol-R-LEA
0
163
Member Avatar for Alaa_6
Member Avatar for happygeek

Telecom companies that sell these devices often install applications that are not in the basic load from the device manufacturer. This is the most likely vector for such infections. Myself, I will NEVER purchase a phone directly from a phone company, but will purchase an unlocked one that I can …

Member Avatar for creamtown
0
836
Member Avatar for ahmad_9

And your question is what? You are showing the assignment, but not your work... :-(

Member Avatar for Ancient Dragon
0
130
Member Avatar for Shanndy

You can change the power profile. It may be set on whatever serves for conserving battery. You can change that to a "balanced" profile, so that when the computer needs more CPU to run applications such as your games, it will speed up the processor. I think you can change …

Member Avatar for rubberman
0
320
Member Avatar for abey ella

You need to disable the routing capability of the asus, and simply use it as a WiFi access point that is connected with the d-link. This may not be simple. Multiple routers in a LAN is possible, but difficult to set up and deal with. I have such a situation …

Member Avatar for nomanseo
-2
175
Member Avatar for ravi_14
Member Avatar for Banfa
0
207
Member Avatar for sims88

Time to do some web searching I think. These are well-known subjects and there is a lot of information out there, but in any case, you need to understand at least three subjects quite well. 1. Image processing. 2. Cryptography 3. Steganography. The last could be considered a branch of …

Member Avatar for rubberman
0
108
Member Avatar for Tcll
Member Avatar for lilbrownmpole

Make an effort and post your code here. We don't do your homework for you.

Member Avatar for Schol-R-LEA
0
157
Member Avatar for diehsi

I assume you are not using an external power supply, but are depending upon the USB port to provide adequate power for the device? If so, that is not a good idea. On most computers only 1 or 2 ports have enough power for a hard drive. Try it with …

Member Avatar for pritaeas
0
185
Member Avatar for Pink12

An audio CD uses .WAV files and is of a specific format. You are basically creating a data CD with mp3 files I think. Get something like Alcohol 52% or Alcohol 120%. Alcohol 52 is free. Alcohol 120 is not. That is the best CD burner that I have found …

Member Avatar for Xlphos
0
167
Member Avatar for abey ella

Yes. No. You decide what interests you, design it, write it, get graded honestly on it...

Member Avatar for rubberman
0
65
Member Avatar for hassan.kiani.10

And your question is what? Sorry, but we don't do your homework for you. Just FYI: 1. There are 24 hours in a day. 2. There are 60 minutes in an hour. 3. There are 60 seconds in a minute. You get to do the math! :-)

Member Avatar for talha ijaz
0
213
Member Avatar for Shft

Consider Java as C++ with training wheels. Multiple inheritance - no. Interfaces - yes (consider them as pure virtual classes without any method implementation or constructor/destructor methods). The best way to learn Java if you already know C++ pretty well is to study existing code.

Member Avatar for JamesCherrill
0
119
Member Avatar for nana.k.denise

Well, first of all you are missing some logic and a } for this line: `if (isset($_POST['Login'])){` BTW, what version of PHP are you running?

Member Avatar for nana.k.denise
0
188
Member Avatar for It tech

So, understand what the various functions/processes need to do (RTFM), and then write out how you would, in simple words, how you would go about performing those processes - this is called "pseudo code". Then consider how you would do that in a C++ class-based environment where strings have their …

Member Avatar for David W
0
338
Member Avatar for Sifiso21031085

Get it repaired? Either you have a hardware problem keeping the system from booting, or there is a software problem with the operating system. I would suggest trying to boot into the BIOS - hold down the F2 key when you power it up. If that doesn't work, then it …

Member Avatar for 07knev
0
142
Member Avatar for frost021

Please explain what you want to do with them, except whether or not you can put them both in 1 computer. The answer to that is "of course". One will be the system/boot drive. The other a data drive, unless you instruct the BIOS to boot from the second drive.

Member Avatar for anaesarora
0
260
Member Avatar for hillary.vitzthum

The End.