Search:

Type: Posts; User: ctrl_freak

Search: Search took 0.00 seconds.

  1. Vectors aren't contiguous blocks of memory, so...

    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...
  2. You're missing the keyword namespace.

    You're missing the keyword namespace.
  3. 'Library' has a pretty broad definition...

    '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,...
  4. That isn't doing what you think it is. Also...

    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...
  5. Replies
    5
    Views
    2,836

    Alright, thanks for the heads-up. I think I'll...

    Alright, thanks for the heads-up. I think I'll try Google Summer of Code for now.
  6. Replies
    5
    Views
    2,836

    Programming job for a highschool graduate

    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...
  7. Replies
    8
    Views
    1,487

    I'd probably use ffmpeg (http://ffmpeg.org/) to...

    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...
  8. Replies
    1
    Views
    993

    Start by reading each line of the file into a...

    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...
  9. Replies
    5
    Views
    1,879

    >I want to ask what "std_lib_facilities.h" is ?...

    >I want to ask what "std_lib_facilities.h" is ?
    http://www.stroustrup.com/Programming/std_lib_facilities.h
  10. Replies
    5
    Views
    1,879

    Perhaps you intended to place an else in there...

    Perhaps you intended to place an else in there somewhere?
  11. Replies
    4
    Views
    1,086

    >doesn't "endl" have to be in the end? "What's...

    >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)....
  12. Replies
    4
    Views
    1,073

    getline...

    getline.

    And std::string is a class (not a function).
  13. Thread: stack

    by ctrl_freak
    Replies
    1
    Views
    1,185

    >will parameters k and l be pushed before return...

    >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.
  14. Replies
    6
    Views
    3,869

    Well, I just tried running LAME 3.98.2 through an...

    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...
  15. Replies
    6
    Views
    3,869

    >Will it lose something every time you recompress...

    >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...
  16. Replies
    11
    Views
    4,909

    >I'm more troubled by the fact that the OP can't...

    >I'm more troubled by the fact that the OP can't seem to spell Google
    She's worsened since last time. Hmm.
  17. Replies
    108
    Views
    13,263

    >Okay I'll admit: not so interested in "hot...

    >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...
  18. Replies
    108
    Views
    13,263

    Remember, :) (...which makes absolutely no...

    Remember,

    :)

    (...which makes absolutely no sense at all)
  19. Replies
    108
    Views
    13,263

    I currently have 500GB + 80GB + (laptop) 60GB,...

    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:...
Results 1 to 19 of 19