Thread: Floppy Disk

  1. #1
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719

    Floppy Disk

    Hello, I was just wondering if it would be possible to copy a program to a floppy disk to be able use on another computer with the same operating system. Also, would the program be able to run on that computer that doesn't have a compiler? Thanks.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  2. #2
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903

    Smile #include<cstdlib>

    Code:
    system("copy c:\\myprogram  a:\\myprogram");
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  3. #3
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    OK. Where would I put that?
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  4. #4
    He's trying.
    Join Date
    Apr 2005
    Location
    Missouri, US
    Posts
    70
    Do you mean, if you create a program, will it run on another computer?
    Of course...Different editions of Windows for sure, and quite possibly Linux if it's a simple console program.

    As for copying programs from a floppy to hard disk, you can do it with a batch file or (easier) just type the command or click-and-drag.

    (Unless you meant doing this from C++, in which case, see previous post)

  5. #5
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    All I want to do is put the program on a floppy disk to be able to use on another computer. Both computers are Windows. I guess I could just click-and-drag like you said. It's only a simple console program. But just curious.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  6. #6
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by Nazca
    Do you mean, if you create a program, will it run on another computer?
    Of course...Different editions of Windows for sure, and quite possibly Linux if it's a simple console program.
    wrong. it depends on the platform. I.E. the processor and system running on it. it it was comiled for win32 running on an intel processor, it'll work on another win32 platform running on an intel processor.

    it will not however, work on linux. sure you can take standard code and compile it seperately on the two systems, but the same binary won't work for the two.

    » system("copy c:\\myprogram a:\\myprogram");
    I don't think that's what they meant... the best way would be to simply copy and paste the *.exe from wherever it is to a floppy and then run it from the floppy (or copy it to disk first and then run it)
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  7. #7
    He's trying.
    Join Date
    Apr 2005
    Location
    Missouri, US
    Posts
    70
    Ahhh, sorry. Forgot that the actual compilation & binaries were important.

    Next I'll remember, then - Ty.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compression/Decompression Wave File and MP3
    By cindy_16051988 in forum Projects and Job Recruitment
    Replies: 51
    Last Post: 04-29-2006, 06:25 AM
  2. reading floppy disk sector
    By fatrix in forum C++ Programming
    Replies: 4
    Last Post: 12-03-2004, 11:20 PM
  3. floppy disk filesystems
    By Leeman_s in forum Tech Board
    Replies: 5
    Last Post: 12-10-2003, 04:54 PM
  4. floppy disk boot sector
    By krishnancbalak in forum C Programming
    Replies: 2
    Last Post: 06-13-2003, 09:53 AM
  5. Formatting Output
    By Aakash Datt in forum C++ Programming
    Replies: 2
    Last Post: 05-16-2003, 08:20 PM