Thread: Downloading files

  1. #16
    Registered User
    Join Date
    Aug 2005
    Posts
    56
    I apologize, actually my computer was just running out of resources, but I am wondering if there is a function that can hide the window into the taskbar or completeley.

  2. #17
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    >> I am wondering if there is a function that can hide the window into the taskbar or completeley. <<

    http://cboard.cprogramming.com/showthread.php?p=482228

  3. #18
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    > No, you guys are missing the point
    Well if you want to carry on building your houses on sand, then feel free to ignore all the basic problems which need to be addressed in your code, and just charge ahead to your 'solution'.
    No doubt you'll have the fun of solving them all over again in your next program.

    > file[read] = '\0';
    > cout << file;
    Well this will be a splendid mess with a binary file!

    > actually my computer was just running out of resources
    You mean, your errant code is eating away at them and not freeing things up properly...
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #19
    Registered User
    Join Date
    Aug 2005
    Posts
    56
    First of all, I apoligize for being rude, I didn't mean to. I really do appreciate the help. I am only a beginner.



    > actually my computer was just running out of resources
    You mean, your errant code is eating away at them and not freeing things up properly...
    Actually, I have an old computer with 127 MB RAM. With Netscape, DAP, and Zonealarm, I areally have nothing left except error messages about running out of system resources (and that dreaded blue screen).

  5. #20
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I have an old computer with 127 MB RAM
    What? I've never heard of anyone having 127MB of RAM! You mean 128MB.

    That's pretty much what I have too.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  6. #21
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    They probably have an intel chipset with integrated video. Probably the Intel 810 chipset. Thus, it'll report 127 because at a minimum the video snags 1mb of it.


    Quzah.
    Hope is the first step on the road to disappointment.

  7. #22
    Registered User
    Join Date
    Aug 2005
    Posts
    56
    Sorry that I have to resurect this post, but I have an urgent question. Is the program that I wrote (with the help of you guys) illegal to use? I ask this question because basically it is downloading off of a website without pwermission. But here is my theory:

    When going to a URL that has a file, for example: http://www.cprogramming.com/index.html, I am downloading the index.html to my web browser, and the web browser runs it. Just like a movie file on a website. But, as most of you figured it out by now, my program downloads the file to my disk drive, rather than my web browser. So I am still downloading the file in the exact same way, just as free as it was is visiting the URL. Therefore, in conclusion I see that it is not illegal because the exact connection is made as if visiting the URL.

    Please tell me if my theory is wrong, I would really appreciate it. I don't want to do anything stupid, the only point of the program was for convenience, not stealing.

    BTW, the file is available at www.qboxindustries.com.

    Thanks in advance

  8. #23
    Banned
    Join Date
    Jun 2005
    Posts
    594
    i never heard of such crap , anyways when your web browser
    downloads a webpage it is saved on your hard drive, have you
    never heard of temporary internet files before?

  9. #24
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    No, it's not illegal. There are several web download programs such as Wget. However, if you are crawling a website, you should respect robots.txt.

  10. #25
    Registered User
    Join Date
    Aug 2005
    Posts
    56
    Thank you for the reply, what I meant about "being downloaded to your web browser," I assumed that the TEMP files are directly associated with the web browser, and you can't run those files anyways. So basically, it is all part of the web browser. I can't run those temp files while I'm offline, what good will it do me without the program?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error opening files in a different dir
    By Ozzie in forum C++ Programming
    Replies: 3
    Last Post: 10-09-2008, 06:55 AM
  2. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  3. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM
  4. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  5. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM