UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
August
Su M Tu W Th F Sa
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
Amazon Gift Card Generator/KeyGen?te
by Gecko666
08/22/14 09:21 AM
Latest Reviews
Topic Options
Rate This Topic
#9461 - 03/18/02 07:47 PM starting a program
intrigued Offline
Junior Member

Registered: 03/10/02
Posts: 8
Loc: 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/18/02 08:06 PM Re: starting a program
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7192
Loc: Portland, OR; USA
C++ or VB for programming..
_________________________
Donate to UGN Security here.
UGN Security, Back of the Web, Elite Web Gamers & VNC Web Design Owner

Top
#9463 - 03/18/02 08:29 PM Re: starting a program
Skull Offline
UGN Elder

Registered: 03/01/83
Posts: 55
Loc: 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/18/02 09:12 PM Re: starting a program
intrigued Offline
Junior Member

Registered: 03/10/02
Posts: 8
Loc: Online
If you use C++ what do you do? Can you open a DOS window?

Top
#9465 - 03/18/02 10:41 PM Re: starting a program
Snake Offline
Junior Member

Registered: 03/02/02
Posts: 52
Loc: 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/18/02 11:16 PM Re: starting a program
intrigued Offline
Junior Member

Registered: 03/10/02
Posts: 8
Loc: 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 12:16 AM Re: starting a program
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7192
Loc: 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, Elite Web Gamers & VNC Web Design Owner

Top
#9468 - 03/19/02 04:18 AM Re: starting a program
thebluegiant Offline
Member

Registered: 03/02/02
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 05:21 AM Re: starting a program
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: 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 12:12 PM Re: starting a program
AK Offline
Junior Member

Registered: 03/13/02
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

Moderator:  Infinite 
Featured Member
Registered: 08/22/14
Posts: 1
Forum Stats
2148 Members
46 Forums
34027 Topics
69194 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27189
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Gecko666, defghi795767, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 296 Guests and 301 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!