5,331 Posted Topics

Member Avatar for mwenyenia07

1. Boot to a live cd/dvd/usb drive. 2. Do a bit copy backup of the data in /dev/sda and a separate bit copy of /dev/sda2 to another drive (an external drive would be appropriate). You use dd to copy /dev/sda, and then /dev/sda2. The bit copy of the entire drive …

Member Avatar for rubberman
0
1K
Member Avatar for MatthewYeend

Sorry, but we don't do your homework for you. Give it your best shot and post the code here with questions about problems you are still having. FWIW, I do this stuff for a living. Why should I help you cheat on your homework when I have had to learn …

Member Avatar for been.coerced
0
323
Member Avatar for ckide

How old? What CPU does it have? Yes, you can run stuff like VirtualBox on older systems without the CPU virtualization support newer CPUs offer, but the VMs will run slow and somewhat less reliably. The main thing is the number of cores the CPU has and even more importantly, …

Member Avatar for been.coerced
0
280
Member Avatar for castajiz_2

@ddanbe They probably still use ADA for system-crital cruft, but also C/C++/Java. However, since I haven't done any programming for the USN since about 1992, I can't say for sure! As a side-bar, the Oracle PL/SQL language was derived from ADA. From the Department of Obscure Tech-Geek Knowledge Department... :-) …

Member Avatar for rubberman
0
911
Member Avatar for Violet_82

No matter the OS (Windows or Linux), download and user the VLC media player. It will handle just about anything, which the normal media players on either Windows or Linux will not without installing a number of obscure codes (if available). You can get VLC at www.videolan.org.

Member Avatar for Rakesh456
0
708
Member Avatar for Aditya_8

This is wrong: void largest::enter(int a,int b,int c) { cout<<"Enter numbers n"; a=num1; b=num2; c=num3; cin>>a>>b>>c; } Try this: void largest::enter(int a,int b,int c) { cout<<"Enter numbers a,b,c"; cin>>a>>b>>c; num1 = a; num2 = b; num3 = c; } Assigning a,b,c from the member variables isn't the problem. Not storing …

Member Avatar for Ancient Dragon
0
167
Member Avatar for mR-_-EBoOo

Or, #include <stdio.h> int main() { char c; ::scanf("%c", &c); ::printf("You typed %c", c); }

Member Avatar for rubberman
0
128
Member Avatar for Jaks_maths

You need a space between the variables here: `scanf("%d%d",&m,&n);` should be this: `scanf("%d %d",&m,&n);` otherwise it is not clear that the user needs to put a white space between the two values. You can mitigate that by specifying that in the instructions. IE, "Enter order of matrix, as in 'x …

Member Avatar for rubberman
0
296
Member Avatar for davy_yg

Also, if any of the intermediate directories don't exist, you can add the -p option to mkdir. IE, `mkdir -p /red5/webapps/openmeetings/upload/files`

Member Avatar for JasonHippy
0
476
Member Avatar for toomutch

It almost sounds like the WiFi and USB port are using the same interrupt. I suspect that the WiFi is a USB device, and the other USB cruft he is using is connecting to the same internal hub. Have him contact Asus about this.

Member Avatar for rubberman
0
176
Member Avatar for wmc1956

Have you looked at the bookmarks themselves to see if they have been altered from what you thought you were saving? If so, then you should be able to correct that, but check if you save a new bookmark whether or not it was also altered. If so, then you …

Member Avatar for wmc1956
0
473
Member Avatar for Razahcy

Try using our friend Google... Or go to Wikipedia - they have good articles on these subjects.

Member Avatar for Schol-R-LEA
-1
235
Member Avatar for infatuate

Characters are 8 bit integers. Use the appropriate printf format strings. To output the hex value of a character you would use %.02x

Member Avatar for naveen1993
0
160
Member Avatar for daniel1977

Both AD & Mike2k's answers are good. I just have a small nit to pick with AD regarding proper use of member initializers in a constructor, rather than inside the body of the constructor. IE, instead of his example, I would do this: class Foo { public: Foo() : _x(0) …

Member Avatar for rubberman
0
161
Member Avatar for mnewsome
Member Avatar for rubberman
0
118
Member Avatar for naveen1993

Are you getting an error? Have you properly unmounted the device (safely remove device on Windows) before removing it? Have you run chkdsk (Windows) or fsck (Linux) on the file system contained by the device? Have you formatted it? As you can see, there are a lot of possibilities. Your …

Member Avatar for rubberman
0
91
Member Avatar for Prashant_4

Also, the toupper() function won't affect non-alpha characters, such as numbers. So, to be succinct: /* This is pseudo-code. */ posn = 0; while (!end-of-string) { string[posn] = toupper(string[posn]); ++posn; } There are number of means to code the loop including `for (int i = 0, j = strlen(string); i …

Member Avatar for naveen1993
0
238
Member Avatar for COKEDUDE

:-) Good point! This would be more appropriate: size_t sz = 10 * sizeof(int); int *array = (int*)malloc(sz); memset((void*)array, 0, sz); /* This does the same thing. */ int *array = (int*)calloc(10, sizeof(int)); Modern compilers will at least flag the lack of a cast with a warning. Better safe than …

Member Avatar for deceptikon
0
350
Member Avatar for manchurianCEO

If you remove an SD card (or USB thumb drive, or other device) from your computer without doing the "safely remove" thing, you are likely to lose EVERYTHING on the device. The OS caches device writes, so until you select "safely remove", or on Linux "unmount/eject", the device will be …

Member Avatar for Xlphos
0
321
Member Avatar for mehak70

@mehak70 Trying to hack WiFi routers? Sorry, not allowed to help you with that here... :-( If you are just looking for anonymous browsing, try Tor or other VPN services.

Member Avatar for rubberman
0
335
Member Avatar for moaz.amin.37

To my mind, the main reason to use class static variables and methods is to control the namespace, and keep what are effectively global variables from polluting the system root namespace. Decepticon was spon on with his examples, I think. IMO, class statics are more flexible than using specific name-spaces, …

Member Avatar for deceptikon
0
850
Member Avatar for kabiru.abdullahi.509

Momerath gave you a great hint. Remember, we DO NOT do your homework for you! FWIW, it is also a variant of the "Traveling Salesman" problem. I think you have some research to do before attacking this problem. :-)

Member Avatar for jwenting
0
148
Member Avatar for vinodvinu

Assuming you want a free tool, then I would suggest that you check out [Blender](http://www.blender.org). Not sure about #3, but #2 (multi-track audio) it handles. It is a professional quality tool - mostly used on Linux or OSX (Apple) systems, but it has a Windows version as well. Other Linux …

Member Avatar for cguan_77
0
354
Member Avatar for A_3

Standard libraries are stuff that all C compilers have to support in order to considered "standards compliant". The functions you need are things like `FILE* fopen("COM:", "rw");` (for Windows), or `FILE* fopen("/dev/tty", "rw");` (for Linux/Unix), and this function is declared in the header file stdio.h. That will open the device …

Member Avatar for A_3
0
209
Member Avatar for xingar

If you go to the command line window (terminal), you should be able to find the hidden files/directories with the command "ls -a". To search recursively, add the "R" (recursive) option, as in "ls -aR". That one will generate a LOT of output if done from the root directory (/), …

Member Avatar for rubberman
0
415
Member Avatar for nmunemo

Structures are like classes, but where all of the member variables (salesid, customer_name, etc) are public. As Sky said, post your answer here - we don't do your homework for you.

Member Avatar for Sky Diploma
0
133
Member Avatar for norman.allen.948

I am running the most recent versions of Chrome and Windows 7 Ultimate (corporate system - IT keeps them patched almost daily). No problems here, though if it has changed since Friday last (2 days ago) I wouldn't know. I'll be updating tomorrow, so if it has broken, I'll report …

Member Avatar for ishaan3731
0
349
Member Avatar for old_apache

YouTube basically (mostly) uses Adobe Flash media. It has been improved over the years (but is still, IMO, a piece of crud). Yes, can skip to wherever you want in the stream. I do that all the time.

Member Avatar for old_apache
0
234
Member Avatar for Emma_3

Show your data file please. Also, you are reading the data, but never outputting it.

Member Avatar for Moschops
0
283
Member Avatar for emmanuel1610

We don't do your homework for you... :-( Create the diagram and write the note. Then, post them here and we may help you.

Member Avatar for rubberman
0
96
Member Avatar for paulas6

What Rik said - HP's are notorious for overheating. Some of my colleagues at work have ones that keep shutting down unexpectedly. We changed the performance settings from "Performance" to "Balanced" and that made them much more stable. IE, they would only ramp the CPU up to full speed when …

Member Avatar for rubberman
0
211
Member Avatar for jhender4880
Member Avatar for learner_new

The 'ld' command is the linker for GCC compilers, such as MingW. If you installed Ming in a normal manner, it should be on your system as well. Possibly you deleted it? Or installed MingW in a non-standard manner?

Member Avatar for learner_new
0
4K
Member Avatar for m.a.u.

I use VirtualBox happily to run Linux systems under Windows, and Windows systems under Linux. That said, there are ways to create bootable USB drives with storage capacity that you can use to boot without getting either into Wubi, or dual-booting the system. You can also create a live USB …

Member Avatar for m.a.u.
0
314
Member Avatar for davy_yg

This is not particularly helpful. How many of the steps in the "how-to" list in http://neanderslob.com/2013/09/27/how-to-install-open-meetings-on-ubuntu-12-04/ did you successfully get through?

Member Avatar for JasonHippy
0
772
Member Avatar for begueradj

The command-line (CLI) package installation tools for Debian-based distributions (which Ubuntu is one of) are the aptitude tools, such as apt-get. Read the Ubuntu documentation on their site. They go into this stuff in great detail.

Member Avatar for mike_2000_17
0
237
Member Avatar for begueradj

Since the file system is read-only, you cannot. You need to remount the file system in read-write mode, and you need to be root or sudo to do that.

Member Avatar for rubberman
0
181
Member Avatar for thecoolman5

How long do you think this will take? FWIW, there are functions that will let you inject characters into the keyboard buffer so that they can be read by a program just like you had typed them in yourself. I haven't done this in a monkey's age (about 20 years …

Member Avatar for thecoolman5
0
118
Member Avatar for neeraj_shri

As AD said, Turbo-C++ is antiquated and not likely suitable for this. You CAN use Mingw's gnu c++ compiler for this, though you will need to install the MySQL shared or static libraries and header files. You might be able to use a recent Visual Studio C++ compiler (you can …

Member Avatar for rubberman
0
88
Member Avatar for andreas.petrou.967

If they are .docx files, then they are in a pseudo xml format, with parts that are MS proprietary data (binary blobs). You would be able to read simple text and formatting data I think, but linked data, such as images and such are another matter entirely.

Member Avatar for rubberman
0
201
Member Avatar for Kcollier

We don't do your homework for you. Make an effort and post the code here along with the errors you are experiencing. If it seems to us that you are making an honest effort to do the work, we will help you. If not, then you are on your own... …

Member Avatar for rubberman
0
116
Member Avatar for klevis.shkembi

Time to get back to basic calculus I think... Gah! I have forgotten so much! :-)

Member Avatar for David W
0
124
Member Avatar for troverman

Did you just disconnect it, or did you go to the "remove device" icon in your Windows (I assume you are running Windows) menu bar docking bay and ask it to safely remove the device from the os (same as unmounting it in Linux)?

Member Avatar for troverman
0
229
Member Avatar for COKEDUDE

Line breaks in Windows files are a cr+lf (carriage-return + line-feed) pair of bytes. For Linux/Unix systems, it is a simple line-feed character. So, scan for a line-feed, and then inspect the immediately previous character to see if it is a carriage-return. If it is, then break there and throw …

Member Avatar for rubberman
0
815
Member Avatar for dennis.ritchie

Interesting that a poster with the handle which is the name of one of the inventors of the C programming language does not know the basics of the language. Talk about hubris! @dennis.ritchie - please change your handle. I find it offensive! I knew Dennis back in the 1980's. You …

Member Avatar for Ancient Dragon
0
213
Member Avatar for vinay L

The sarcasm of my colleagues notwithstanding, my magic wand stopped working this morning. :-) Learn by doing, reading, and studying the works of others who are known to be competent in the field. Best single C++ reference work? The ARM (Annotated Reference Manual) by Ellis and Stroustrup. Stroustrup invented the …

Member Avatar for rajii93
0
207
Member Avatar for dasd

The question is whether the images themselves have been compromised, or if some malware on the system is blocking access to them. I would suggest that you boot a live linux cd/dvd/usb drive, mount the windows partition, and then see if Linux can access the photos. If so, then it …

Member Avatar for mechbas
0
358
Member Avatar for davy_yg
Re: wget

Is your VM connected to your local network? What are the contents of its /etc/resolv.conf file (post the contents here)? What is the address of your LAN's router? Who is your ISP? Do you know what their DNS server addresses are? If not, go to the admin web page of …

Member Avatar for Assembly Guy
0
354
Member Avatar for Sai Ravi Teja

What JasonHippy said. To elaborate: Segfaults are caused by accessing invalid memory. The most common causes are: 1. Trying to read/write to a null pointer. 2. Over-writing the memory allocated to a variable. 3. Trying to access the member of an array beyond the end of the array, or (less …

Member Avatar for Ancient Dragon
0
127
Member Avatar for vahidgholami820

What David_W said. This is not a beginner problem. First, you need to understand something of file system structures. Next, you need to understand how to relate that to program code. Other than re-iterating your class assignment, you haven't done anything that lets us think you understand the scope of …

Member Avatar for rubberman
0
523

The End.