Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
May
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Sponsored Links
Latest Postings
Topic Options
Rate This Topic
#9461 - 03/19/02 03:47 AM starting a program
Joined: Mar 2002
Posts: 8
intrigued Offline
Junior Member
intrigued Offline
Junior Member

Joined: Mar 2002
Posts: 8
Online
I don't think I was clear with my last post. Let me see if I can be more clear. When you write a program how do you do it? Is DOS the most compatable way to write a program? I have an MASM32 compiler but don't I want to write in Dos first and then compile it? If you were to write a program in C++ How would you start? Could you start it in DOS? If you could, can you show me how you would do it and could you also indicate how you would space your lines for each part of the program? You don't just type this: program new;#include("stdlib.hhf");begin new; stdout.put("start new program",nl);end new; Don't worry about what the program is, if I wrote that as one line what would happen? Would it seperate itself into the: start/header/body/end ? Spacing appears to be the same for most languages. I would assume that the program will not work if the format is incorrect. Can you give me a sample of how you would write a small program in DOS and how you would go about each step? I hope this makes my question more clear. If you could would you also give an example of how you would write one in a compiler (Assembly MASM32 or C++) if you could. Thanx intrigued

Top
Sponsored Links
#9462 - 03/19/02 04:06 AM Re: starting a program
Joined: Feb 2002
Posts: 7,194
Gremelin Offline
Community Owner
Gremelin Offline

Community Owner

Joined: Feb 2002
Posts: 7,194
Portland, OR; USA
C++ or VB for programming..


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Top
#9463 - 03/19/02 04:29 AM Re: starting a program
Joined: Mar 1983
Posts: 55
Skull Offline
UGN Elder
Skull Offline
UGN Elder

Joined: Mar 1983
Posts: 55
Iowa
most compiler have a gui interface which you can just load though normal windows. Even my old old borland c++ compiler has a windows app. Then you just write the code in that program, and hit compile, the compiler does the rest.

Skull,


Trust me, if i started killing people, there'd None of you left
Top
#9464 - 03/19/02 05:12 AM Re: starting a program
Joined: Mar 2002
Posts: 8
intrigued Offline
Junior Member
intrigued Offline
Junior Member

Joined: Mar 2002
Posts: 8
Online
If you use C++ what do you do? Can you open a DOS window?

Top
#9465 - 03/19/02 06:41 AM Re: starting a program
Joined: Mar 2002
Posts: 52
Snake Offline
Junior Member
Snake Offline
Junior Member

Joined: Mar 2002
Posts: 52
NZ
Go learn c++ before you ask those sorts of questions. heh. c++ can do alot, and if you use it right you wont need to open a DOS window.

Top
#9466 - 03/19/02 07:16 AM Re: starting a program
Joined: Mar 2002
Posts: 8
intrigued Offline
Junior Member
intrigued Offline
Junior Member

Joined: Mar 2002
Posts: 8
Online
The reason why I'm asking these questions is because I don't own a copy of C++ or VB. I'm trying to learn High level Assembly. I'm trying to check the install to make sure that it works. Everything checks out in Command.com when I test them seperatly but when I try to compile to test the whole system out I get an error saying
  • compiling hw.hla to hw.asm
  • using command line [hlaparse -v -sm hw.hla]
  • HLA (High Level Assembler) Parser
  • Version 1.30 Build 4452 (prototype)
  • File: hw.hla
  • Could not open hw.hla
  • Assembling hw.asm via [ml/c/coff/Cp hw.asm]
  • Microsoft (R) Macro Assembler Version 6.14.8444
  • Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
  • Assembling: hw.asm
  • MASM :fatal error A1000: cannot open file : hw.asm
  • Linking via [link-subsystem:console @hw.link-out:hw.exe C:\hla\hlalib\hlalib.lib hw.obj]
  • Microsoft (R) Incremental Linker Version 5.12.8078
  • Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
  • LINK : fatal error LNK1104: cannot open file hw.link
Any help, I would be greatful. Thanx intrigued

Top
#9467 - 03/19/02 08:16 AM Re: starting a program
Joined: Feb 2002
Posts: 7,194
Gremelin Offline
Community Owner
Gremelin Offline

Community Owner

Joined: Feb 2002
Posts: 7,194
Portland, OR; USA
lol... well lets see, you can PURCHASE a copy, or you can use kazaa http://www.kazaa.com to download it, however we do not reccommend it.

We reccommend using either VB or C++ (VC++ is included with VB6 Studio Enterprise.


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Top
#9468 - 03/19/02 12:18 PM Re: starting a program
Joined: Mar 2002
Posts: 109
thebluegiant Offline
Member
thebluegiant Offline
Member

Joined: Mar 2002
Posts: 109
http://spiff.tripnet.se/~iczelion/

You may as well get one of these IDEs and look around the webboard. Ah yes, and download the DOCUMENTATION for masm. That should make it a lot easier.


"There is no end. There is no beginning. There is only the infinite passion of life."
--Fellini
Top
#9469 - 03/19/02 01:21 PM Re: starting a program
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
It appears you don't know how to use your HLA compiler correctly and the program is unable to find the files you require.

High Level Assembly is a good choice though if you're starting to learn assembly. However, it is strongly recommended you learn C or C++ or spankin awful VC++ before learning ANY assembly.

If you are wanting to go hardcore like that, here's your best choice (assuming you use windows). It's free.
http://www.cs.virginia.edu/~lcc-win32/

If you choose to download that and have any questions, feel free to ask them in the C/C++ forum.

You'll find example LCC programs (currently 2) at my site. http://serialcoders.sytes.net


Domain Registration, Hosting, Management
http://www.dollardns.net
Top
#9470 - 03/19/02 08:12 PM Re: starting a program
Joined: Mar 2002
Posts: 61
AK Offline
Junior Member
AK Offline
Junior Member

Joined: Mar 2002
Posts: 61
hehe, you got high ambitions. but tryin to learn assembly if you don't even know how to write a simple c++ app is simply not gonna work. don't listen to everything those SuperL337 h4x0rs tell you on IRC or some stupid tutorial. you gotta learn the basics first.

Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics45,724
Posts80,892
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 38,888
Gremelin 7,194
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
0 registered members (), 4 guests and 2 spiders.
Latest News