Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Joined: Mar 2002
Posts: 42
S
Junior Member
OP Offline
Junior Member
S
Joined: Mar 2002
Posts: 42
so i want to learn to program what langauge first? i know some html and some g code and maybe some BASIC but whats an easy to learn useful programing language?

Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Learn some C++ at least then you'd be able to program for both *nix and Windows. Or if you feel you're too lame to do that, learn some VB... But eventually you'll get into C++, heh..


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Joined: Mar 2002
Posts: 42
S
Junior Member
OP Offline
Junior Member
S
Joined: Mar 2002
Posts: 42
so any web resources on C++? or is it best to buy a book or take a class? i got a friend whos father has been programming for a looong time(writes software for banks) if i get really stuck im sure i could get some pointers from him smile.

< heads off to google to do a search >

Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
well a good start is online tutorials and free shells. You can start by just testing out c in basic linux scripts and ****... How i got started is that i helped a few friends program some linux backdoors and false daemons for warboxes and some exploits and ****...

((as many of you know I was one of the first to type up a laymens report on PDG_Cart, Cisco Routers, etc))

If you need any help feel free to ask and i'll help you out. As for shells, look for something that has Pico access, i can't ****ing stand VI..


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
oh yeh, and for note, classes are well worth it, but you have to umm "aquire" some software :x


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Joined: Mar 2002
Posts: 42
S
Junior Member
OP Offline
Junior Member
S
Joined: Mar 2002
Posts: 42
you dont like VI huh? eheh i can find software this is not a problem..

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
The best way to answer your question on what language to start with first is with a bit of information. With that information, I'll tell you what to start with and why.

1) Are you a smart study (able to self-teach, good ability to grasp concepts)
2) Why and for what do you want to program
3) How important is easy and fast programming verses harder and slower programming.
4) Do you want to program for windows, linux, or cross-platform (like Java and Perl)?

I think with that I can answer your question intelligently rather than enforcing my personality and circumstance specific opinions on you.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Mar 2002
Posts: 42
S
Junior Member
OP Offline
Junior Member
S
Joined: Mar 2002
Posts: 42
silent rage-

1. yes very much so.
2. ive always been intriqued by programing and would like to fully understand it.
3.doesnt matter to me right now i have alot of time on my hands.
4.i mainly use windows so would prolly be a windows thing.


i looked at some c++ tutorial earlier today and with my past CNC programing experience it just clicked seems natural. now i didnt say i can go write a program but it makes good sense to me.

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Get Microsoft Visual C++ 6.0

Comparison between VB and VC++

1) Both are very popular and you'll have no problem with finding learning materials and example code.
2) VC++ is a bit harder to learn
3) VB programming is a bit faster
4) VC++ is more powerful and flexible and can have less overhead than VB


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Mar 2002
Posts: 42
S
Junior Member
OP Offline
Junior Member
S
Joined: Mar 2002
Posts: 42
whats the diff between C++ and VC++ ? i looked for Microsoft VC++ and it was all menu driven it looked like. i was under the impression this would be more like just plain text? or is that where the visual? part comes in? anyway used to writing NC programs from scratch but those were just X and Y coordinates and g code. or canned cylces whatever you want to call it.

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
huh, well, I chose VC++ cause you said "easy to learn" in your first post. But hey, if you don't like that gorge of a GUI VC++ has, then consider GIMP perhaps. I think that's the gcc equivilent for windows. I don't know if it has an IDE or not. LCC is good too (that's what I use), but it is only for C - not C++. You can also go to the Borland website and get there free Borland Command-Line Compiler, it is for C and C++ - absolutely no GUI, just compiler/linker type stuff.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Mar 2002
Posts: 48
S
Junior Member
Offline
Junior Member
S
Joined: Mar 2002
Posts: 48
If I were you, I'd ask myself a question:

Do I want rapidly deployable applications with fewer options, or do I want in-depth applications with a multitude of options that I will spend more time on?

If you want rapid deployment, learn PHP and Perl. Both free, both SIMPLE to learn. Took me 30 minutes to get the basics of Perl down.

If you want in depth, take the route these guys suggest: C++. Go to your library, find the oldest, most beat up C or C++ book. Beat it up some more; make sure it looks old. Take it to the front desk and say that you think it's too old to be of any use anymore, and ask if you can have it or any other old 'puter books. This is what I do - I have 3 bookcases of books I didn't pay for at home.

Have fun!

Oh yeah - remember this word, "man", before you post anything to a message board wink it'll save you time.

Joined: Mar 2002
Posts: 257
Member
Offline
Member
Joined: Mar 2002
Posts: 257
hmmm i suggest Dev-C++ its for windows its deved by a load of linux geeks and u can even have it look like its on linux - hehe Gnome look! well no thats not the fun part the good part its free and u can dl it from download.com allthough a sad part is that it does not include all header files with it! frown

but thise are easely aquired over the net!


The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean, "Someone who loves to program and enjoys being clever about it."
--------------------
"Its not a bug, its a feature" (Epic Games)
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
Offline
UGN Elite Poster
P
Joined: Mar 2002
Posts: 1,136
C and C++ are gonna be your best bet for learning to do systems and socket programming. Java is also good, because it's essentially as powerful as C++, and is extremely portable. It will run on almost any OS without any change in code. Some good Java tutorials can be found at http://rrfn.promodtecnologies.com/otherfiles.htm

Joined: Apr 2002
Posts: 730
UGN Supporter
Offline
UGN Supporter
Joined: Apr 2002
Posts: 730
Hey scallion, where might i be able to get perl or PHP. What is PHP, i've never heard of it, lol... im new here i guess.


2 people can keep a secret as long as one is dead
Joined: Mar 2002
Posts: 11
B
Junior Member
Offline
Junior Member
B
Joined: Mar 2002
Posts: 11
Quote:
where might i be able to get perl or PHP.

i am not sure but perl is for programming in linux commands and shell.
http://www.activestate.com/ http://perl.com http://hackingtruths.box.sk/perl.htm http://perl.com/pub/q/documentation http://www.hotscripts.com/Perl/

Quote:

What is PHP, i've never heard of it, lol... im new here i guess.


here is how php.net describes php as:

"What is PHP?
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section."
http://www.php.net http://www.php.net/tut.php http://www.php.net/docs.php http://phpworld.com/ http://www.hotscripts.com/PHP/

i am kinda new to programming too. the only thing i know is html, css, java script, and basic.

Joined: Mar 2002
Posts: 562
UGN Supporter
Offline
UGN Supporter
Joined: Mar 2002
Posts: 562
Java Script and Basic if known in depth are not bad places to start at all. First off, Basic is in fact a full language. Do you know VB or Qbasic? Qbasic can be found on your windows install disks. just browse them. You can also find a compiler on line for qbasic.

As for java script. It is a decent place to start. It builds good habits, and can give you a general idea on how programing usallyt works. Once you learn one language, the rest are just different commands and different ways of doing the same.

For example, if then statments
do while loops
and on and one.

Joined: Mar 2002
Posts: 42
S
Junior Member
OP Offline
Junior Member
S
Joined: Mar 2002
Posts: 42
i know some basic. i have programmed using g-code which is basically cnc machine stuff. it is mainly canned cylces and geometry but really basic stuff.

i had a vic 20 back in the day and played some with basic then but it didnt really set in i read the manuals and typed in some programs but didnt go too far with it.

thats about all my exposure has been to this stuff.

Joined: May 2002
Posts: 6
M
Junior Member
Offline
Junior Member
M
Joined: May 2002
Posts: 6
I'd have to say that a class is the best way to learn c++, I tried learning on my own.(hehe failed miserably) I picked up a little perl, html, basic on my own. But c++ and java are a little complicated cause they're object oriented. If you can catch on to that though you're all set. To answer your question, I'd start with C basics, then jump into C++.

Joined: Apr 2002
Posts: 135
? Offline
UGN Member
Offline
UGN Member
Joined: Apr 2002
Posts: 135
C++ is really nothing special. it's not like C is a 85 chevy nova and C++ is brand-new ferrari. The thing about C++ and all OO-languages is that they were created to serve the requirements of huge applications and have 100s of thousands of lines of code. That's the main difference between c and C++. jus look at bugtraq an securityfocus and tell me how many exploits you see written in c++? not very many if any at all. unless you are planning on writing the next Quake engine or making the next microsoft office you don't really need C++ or any other OO-language. stick with C.


I KNOW EVERYTHING. ASK ME.
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
heh, even in C you can write huge programs if you want. It'll just take a highly developed programming method which works quickly for you. Shoot, I've seen huge (even graphical) programs written in nothing but ASM even.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Apr 2002
Posts: 135
? Offline
UGN Member
Offline
UGN Member
Joined: Apr 2002
Posts: 135
yeah, I mean if operating systems can be written in C then why bother with C++, how much more "POWER" can you get out of it?


I KNOW EVERYTHING. ASK ME.
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
Offline
UGN Elite Poster
P
Joined: Mar 2002
Posts: 1,136
The vast majority of games, and nearly all high-performance 3D games are programmed in C with bits of assembly thrown in

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
yah, in my personal unproffessional opinion, programming in C/ASM is ideal. C is high level enough to make things fast and convenient enough to make the big programs. Then you use ASM to optimize essential parts. IMHO pure ASM programming is not necessary since C compilers do a d�mn fine job if you use a good one.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Dec 2002
Posts: 8
Junior Member
Offline
Junior Member
Joined: Dec 2002
Posts: 8
Linux Backdoors? Trojans for Linux you mean?

Daemons? like MailerDaemon?

Sowwi me noob wink

Joined: Dec 2002
Posts: 3,255
Likes: 3
UGN Elite
Offline
UGN Elite
Joined: Dec 2002
Posts: 3,255
Likes: 3
Quote:
Originally posted by Moffesto:
Hey scallion, where might i be able to get perl or PHP. What is PHP, i've never heard of it, lol... im new here i guess.
You are joking right? As much as we talk about it lately

http://www.php.net

Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
<snicker> newb today 'eh?

http://www.php.net/ works, although most of the time if you're looking for a major resource, the address is http://[resource].org/.


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Joined: Nov 2002
Posts: 1,146
Likes: 1
Ice Offline
UGN News Staff
Offline
UGN News Staff
Joined: Nov 2002
Posts: 1,146
Likes: 1
hmm someone answer this = )
I know Qbasic Very well, Learned it 1 year in High School and Currently taking it agian but higher grade level of course
Anyways would Visual Basic be the Next step ???
Or dive into C/C++ ??


Good artists copy, great artists
steal.

-Picasso
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
Offline
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
you might consider visual basic as the next step, however, not visualbasic.net, there would be to many differences


"It's better to burn out, than to fade away."
Joined: Nov 2002
Posts: 1,146
Likes: 1
Ice Offline
UGN News Staff
Offline
UGN News Staff
Joined: Nov 2002
Posts: 1,146
Likes: 1
so what Program Exactly should i learn in the Ladder ??
I know QBasic pretty good, I know html pretty good

Provide some sites 2 = )

Back what Visiaul Basic u talking about ??


Good artists copy, great artists
steal.

-Picasso
Joined: Mar 2002
Posts: 599
UGN's Resident Homo
Offline
UGN's Resident Homo
Joined: Mar 2002
Posts: 599
i'm saying that moving from qbasic to visual basic 6 or before would be easier than trying to go from qbasic to visualbasic.net


"It's better to burn out, than to fade away."
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
Offline
UGN Elite Poster
P
Joined: Mar 2002
Posts: 1,136
I think Java is definitely the language to learn. It's fairly simple to learn, it's powerful, doesn't allow common programming errors you may write in C/C++, secure, and portable. For tutorials, resources, and discussion check out my site. http://www.javaspot.net

Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
java is also slower than C/C++ and uses more resources and should be avoided if at all possible IMHO. Shoot I may even consider java slower than VB.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Mar 2002
Posts: 1,136
P
UGN Elite Poster
Offline
UGN Elite Poster
P
Joined: Mar 2002
Posts: 1,136
Are you kidding? Sure it's slower than C/C++, but not noticably unless you're writing apps that require ultra-high performance. With the resources available to computers today, the overhead is negligible. I'm not one for bloated code, but Java code gets compiled cleanly and runs on any OS. Sure, programs use more resources than C programs, but it's that way with any language other than assembly and there are enough available resources that it doesn't matter. As for speed and resource usage, it's good enough that amazon.com uses servlets as the backend. Google did a massive study on the different technologies, spending about 50k in determining what they should use. They ended up going with PHP with the IonCube Accellarator, because the servers they run are FreeBSD and threads support on FreeBSD isn't that great.

There's no way java is slower than VB. Profile equivalent programs and the java one will be a lot faster. The MFC overhead is just too great in VB, though it's still not noticeable to the average person.

Joined: Nov 2002
Posts: 1,146
Likes: 1
Ice Offline
UGN News Staff
Offline
UGN News Staff
Joined: Nov 2002
Posts: 1,146
Likes: 1
I think i am ganna start learning Visual Basic, The windows Version. It looks almost exactly the same as Qbasic but a little more complicated and a little more commands. What is VB actually used for mostley ?? I know alot of the Trojans out there are made in VB


Good artists copy, great artists
steal.

-Picasso
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Well, I just did a speed test. This test did not involve the use of objects. All I did was loop from 0 to 10 million. Within the loop I incremented a long variable by one. Here's the results:

VB: 672 milliseconds
Java: 47 milliseconds
C: 16 milliseconds

This next test has to do with the fact java is forced to use objects, while VB and C may use the API. Again, we have a loop going from 0 to 10 million. However, this time within the loop, we have a single line where we store the system tick count into a long variable. (Java: System.currentTimeMillis)

VB: 1094 milliseconds
Java: 1313 milliseconds
C: 94 milliseconds

Conclusion. C kicks [censored]. Java as a language is faster than VB. VB's access to API's makes it capable of going faster than Java.

Also, in response to pergesu's popular argument concerning speed and system resources. I don't give a damn how fast you are. When it comes to intensive code, such as compression, encryption, sorting large lists, or anything that involves a heck of a lot of data, - the faster the better. The faster our computers get, the higher our demands become, so things are kept in balance.


Domain Registration, Hosting, Management
http://www.dollardns.net
Joined: Nov 2002
Posts: 18
Junior Member
Offline
Junior Member
Joined: Nov 2002
Posts: 18


"It's not what you do, it's how you do it"
Joined: Aug 2002
Posts: 68
S
Junior Member
Offline
Junior Member
S
Joined: Aug 2002
Posts: 68
OK, Here's the DL on programming languages:

1. C++ is great - there's minor differences b/t ANSI C++ and VC (MS) C++, just the same as GNU (G++) has it's differences. It's a fast, good language that most exploits are written in - so you can do something other than print out exploits and pretend to read them.

2. Java is not slower than C++. The Virtual Machine that's installed on your system. On some systems, it's faster, on others, it's slower. And, it depends on what VM you install; embedded devices use Micro Runtime Edition or something like that. It's damn fast, but limited. J2RE is also PDQ. Writing your code tightly and efficiently is also a must. Java is good because it's 100% portable 99% of the time.

3. Perl/PHP - Not similiar at all, but often grouped together. Perl is a scripting/sysadmin language (IMO) which is unsuited for the internet. It's hideous to read too. PHP, on the other hand is secure, fast as hell, free, and interfaces well with common databases. Just one problem: bad coding habits are easy to pick up with this language. Watch out. (i.e. register_global, non-strict datatypes)

4. HTML/JavaScript/DHTML - These should be a whiz to learn after the above 3; you'll get the hang of it if you've been programming as long as I have.

Also, common languages (Ruby being determined as "common") always have tutorials on the web. Use google. PageRank actually works.

Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
YES, our bbs is not suited for the internet!!


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
Joined: Aug 2002
Posts: 68
S
Junior Member
Offline
Junior Member
S
Joined: Aug 2002
Posts: 68
In my opinion, no.

Perl was designed as a scripting language primarily - it was hacked and kludged to be used with the internet.

Page 1 of 2 1 2

Link Copied to Clipboard
Member Spotlight
Posts: 43
Joined: November 2002
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
unreal 1
Crime 1
Ice 1
Dartur 1
Powered by UBB.threads™ PHP Forum Software 7.7.5