Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

What programming Language should I start with?


  • Please log in to reply
88 replies to this topic

#31 St_Anger

St_Anger

  •  Avatar image
  • Members
  • 90 posts
  • OFFLINE
  •  
  • Location:UK
  • Local time:02:36 AM

Posted 01 April 2005 - 06:15 PM

hello, sorry to butt in, but do you need a compiler to write c++? And what application do you use to write c++ in?

BC AdBot (Login to Remove)

 


#32 Grinler

Grinler

    Lawrence Abrams


  •  Avatar image
  • Admin
  • 45,363 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:02:36 AM

Posted 01 April 2005 - 08:22 PM

Yes you would need a compiler. A good free one is dev-c++ by bloodshed.

#33 St_Anger

St_Anger

  •  Avatar image
  • Members
  • 90 posts
  • OFFLINE
  •  
  • Location:UK
  • Local time:02:36 AM

Posted 05 April 2005 - 03:00 AM

sorry, i got another question. What sort of programs can you write using c++?

#34 jgweed

jgweed

  •  Avatar image
  • Helper Emeritus
  • 28,473 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Chicago, Il.
  • Local time:02:36 AM

Posted 05 April 2005 - 03:23 AM

Just about any program can be written in c++. A good introduction you might want to read is:

http://www.cprogramming.com/begin.html

Because C++ is so widely used, there is plenty of information, tutorials, and information on the Web.

Regards,
John
Whereof one cannot speak, thereof one should be silent.

#35 St_Anger

St_Anger

  •  Avatar image
  • Members
  • 90 posts
  • OFFLINE
  •  
  • Location:UK
  • Local time:02:36 AM

Posted 02 May 2005 - 02:22 PM

Sorry to be a pest, but can PERL be used for making applications(like c++) or is it strictly for web design? Also does it require a compiler?

#36 jgweed

jgweed

  •  Avatar image
  • Helper Emeritus
  • 28,473 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Chicago, Il.
  • Local time:02:36 AM

Posted 02 May 2005 - 02:41 PM

Yes you will need a compiler, as well as familiarity with at least one programming language, and you can code applications with it, though C++ is a better language to learn.

http://www.perl.com/download.csp

Regards,
John

Edited by jgweed, 02 May 2005 - 02:42 PM.

Whereof one cannot speak, thereof one should be silent.

#37 Grinler

Grinler

    Lawrence Abrams


  •  Avatar image
  • Admin
  • 45,363 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:02:36 AM

Posted 02 May 2005 - 05:12 PM

Actually i am pretty sure perl is an interpretive language which means it does not actually get compiled.

#38 raw

raw

    Bleeping Hacker


  •  Avatar image
  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:02:36 AM

Posted 02 May 2005 - 07:04 PM

PERL compiles "on the fly".
Here's the same program in 3 languages so you can decide which is easier to learn.

Bash shell script
#!/bin/sh

echo "hello world!!";

PERL
#!/usr/bin/perl

print"hello world!!\n";

C (must be compiled after writing)
#include <stdio.h>

main()
{
	printf("Hello World!!\n");
	return 0;
}

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#39 Grinler

Grinler

    Lawrence Abrams


  •  Avatar image
  • Admin
  • 45,363 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:02:36 AM

Posted 02 May 2005 - 09:23 PM

Or in php :

<?

echo "Hello World";

?>


#40 St_Anger

St_Anger

  •  Avatar image
  • Members
  • 90 posts
  • OFFLINE
  •  
  • Location:UK
  • Local time:02:36 AM

Posted 03 May 2005 - 10:01 AM

what application do you use to write PERL in?

#41 raw

raw

    Bleeping Hacker


  •  Avatar image
  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:02:36 AM

Posted 03 May 2005 - 03:55 PM

i use vi.
Windows users would use notepad i suppose.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#42 Xerxes

Xerxes

  •  Avatar image
  • Banned
  • Member rank image
  • 64 posts
  • OFFLINE
  •  
  • Local time:02:36 AM

Posted 05 May 2005 - 05:32 PM

I'd suggest C & C++,

PHP and XHTML is good for web designs and such,

Perl is good too, I'm going after it soon

Java is also good, but It's actually up to you.

You must think what you want to use them for, read some samples google " Hello world in all programming languages " or something similiar and see the diffrences.

Read basic tutorials on those you find intresting, read information on some of them what they use, how it works and such.

You will find something good. C is very used at the moment and almost every program is done in it and same with C++.

Good luck.

#43 St_Anger

St_Anger

  •  Avatar image
  • Members
  • 90 posts
  • OFFLINE
  •  
  • Location:UK
  • Local time:02:36 AM

Posted 03 June 2005 - 03:47 AM

Just a little problem. Thanks in advance. But why is Bloodshed refusing to run my program because 'Project is not compiled'. I don't understand, i go to Execute>Compile the compile window comes up and compiles, or so i think it does. So then i go to 'Run' and it says that the project is not compiled. It's extremely annoying. Why is this happening? The program looks simpler than the 'Hello World' one. Any ideas? Thanks.

#44 90sir

90sir

  •  Avatar image
  • Members
  • 21 posts
  • OFFLINE
  •  
  • Location:Auckland, New Zealand
  • Local time:08:36 PM

Posted 17 October 2005 - 09:02 PM

sorry to drag up an old thread, just a few questions

i'm at uni doing electrical engineering and one of the papers is programming, they're teaching us C++, (i think :thumbsup: ) using Borland
although you wouldn't think so from the above statement :flowers: i'm doing ok at it

i've learnt data types, selection, iteration and have started arrays/ strings
it can get quite complicated when you put all those things into one program!

does it get any harder in terms of maths?

although i've written basic programs using this stuff, is it possible to write anything decent lol? (suppose it's only as good as my imagination haha)

#45 groovicus

groovicus

  •  Avatar image
  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:01:36 AM

Posted 17 October 2005 - 11:49 PM

The math at times can get very difficult, but if you are a student of electrical engineering, I would imagine that you are getting instruction in calculus.. that's about as hard as it gets at the lower levels. The hardest program I did was an analog clock, and that was because I didn't have any calculus to calculate how the clock hands moved. I did manage to find enough samples on the web that I was able to do it.

If you get into asymptotic analysis of algorithms, then you may get into some mathematical sequences that are a little bit heady at first, but they can be memorized. And if you have had any kind of discreet math, then you will have no problems at all.

Once you have some basic programming skills, it is quite possible to put together useful programs. One of the very firs programs I did was one to generate MD5 hashes of a list of files. It's clunky, but it works, and I still use it frequently. It depends what you want to do. Once you are finished with oyu class, you should be able ot create some decent small applications, depending on what you want to do. One of the most useful skills, IMHO, is the ability to do some research and find something similar to what you are trying to accomplish, and then modify it.

I'm not sure if this helps you any. :thumbsup:




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users