Vectors aren't contiguous blocks of memory, so you can't simply write the block of memory to a file. Instead, you'll have to manually write each element (assuming each element is itself a contiguous...
Type: Posts; User: ctrl_freak
Vectors aren't contiguous blocks of memory, so you can't simply write the block of memory to a file. Instead, you'll have to manually write each element (assuming each element is itself a contiguous...
You're missing the keyword namespace.
'Library' has a pretty broad definition.
So to answer your question, a library can be a group of compiled .obj files. Keep in mind that libraries can be linked both statically and dynamically,...
That isn't doing what you think it is.
Also unnecessary: redeclaring 'choice' inside your loop. And this doesn't require an else if:
else if (choice == 'N')
cout << "Good for you.";
(You're...
Alright, thanks for the heads-up. I think I'll try Google Summer of Code for now.
So from the looks of things, I'll be graduating highschool in June, and starting university in September. And I'd really like to have some sort of entry-level programming job in the 2 months or so...
I'd probably use ffmpeg to do the conversion process. Though as has been pointed out, AVI is a container format, not an actual codec, so depending on the format that the video and audio are in, you...
Start by reading each line of the file into a string variable. From that variable, it's up to you to decide how you want to split it up, though it really depends what you've covered in class. I'd...
>I want to ask what "std_lib_facilities.h" is ?
http://www.stroustrup.com/Programming/std_lib_facilities.h
Perhaps you intended to place an else in there somewhere?
>doesn't "endl" have to be in the end?
"What's the difference between std::endl vs. \n"
In other words, endl is functionally equivalent to a newline (which can be placed anywhere in a string)....
getline.
And std::string is a class (not a function).
>will parameters k and l be pushed before return address or after the return address?
After.
>Also the value of k will be stored in register or on the stack?
Stack.
Well, I just tried running LAME 3.98.2 through an MP3 500 times, (using 32 kb/s CBR) and it was reduced to complete noise. I ran a diff between the last two output files produced, and they weren't...
>Will it lose something every time you recompress it?
Absolutely. You don't need to be an audiophile to recognize that an audio clip has been transcoded between lossy codecs multiple times. It...
>I'm more troubled by the fact that the OP can't seem to spell Google
She's worsened since last time. Hmm.
>Okay I'll admit: not so interested in "hot swapping" the hard drive, but it's not like, inconceivable.
Yes, but what's the difference between this and RAID? I doubt hard drive manufacturers want to...
Remember,
:)
(...which makes absolutely no sense at all)
I currently have 500GB + 80GB + (laptop) 60GB, and they're all about 90% full. And I don't backup. Planning on doing something like this when I get around to buying some more hard drives:...