Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JamesCC

    Renaming files via C++ ; Is it possible ?

    You can do this with a simple dos command: Click on the Start Menu, go MS-DOS prompt then type in cd (path to your files) rename *.* *_001.tif You will probably need to play around with this but that is basicaly what you need to do :)
  2. JamesCC

    MS Visual C++ vs. Borland C++

    Borland sticks to the standard more so when you start to become advanced in C++ you will not be some screwed up C++ programmer :) That happened to me. I learnt on Visual C++ and when I tried compiling my programs on other compilers I got a thousand errors :( Luckley im starting to recover...
  3. JamesCC

    BOOTable device

    If your program is compiled then go into notepad and enter the name of your program then save the file as autoexec.bat on the floppy disk, make sure you change the File type to Any file NOT! .txt or it wont work, then copy your program onto the floppy. If your program is not compiled and just...
  4. JamesCC

    Multitasking

    If you want to access a non Qbasic application then you will have to use system() or learn ASM :P If you want to display directory contents try: sysmem ("dir > output.txt") this will save all output from the dir command into output.txt you can then load output.txt and display it :)
  5. JamesCC

    How to run an exe...

    Opps i forgot some thing, Since you said you are using Qbasic you will need an interpretor, i have the Qbasic4.5 source on my computer but it wont help you very much since you will need to make your OS specific calls.
  6. JamesCC

    How to run an exe...

    Its quite easy. You must simple load the executable into memory using BIOS calls as follows. mov ah, 02h mov al, 01h mov ch, 0h mov cl, 2h mov dh, 0h mov dl, 1h mov bx, 1000h int 13h This will load the second sector from the disk and place it at memory possition 1000h. There is no error...
  7. JamesCC

    someone could translate this code?

    In most compilers you can convert it to Assembly in Borland Free compiler you can do bcc32 -S filename.cpp I would of converted your code but your missing some type defs.

Part and Inventory Search

Back
Top