Help with Programming!!!

Get help on programming - C++, Java, Delphi, etc.
Ult1ma
Registered User
Posts: 5
Joined: 03 Dec 2004, 02:00
Location: Johannesburg

Help with Programming!!!

Post by Ult1ma »

S'up Programmers?!

I'm studying BSC Computer Science 2 become a programmer, but I want 2 learn even more, so if any programmers wants 2 share tips + tricks, tutorials, advice or info on C++, Java and Delphi, please give me a shout :)

Ult1ma
z7.Ult1ma
halo
Registered User
Posts: 2412
Joined: 30 Apr 2003, 02:00
Location: on a ring, far,far away
Contact:

Post by halo »

sorry, thats out of my legue. if you need help with VB, im your man
Image
RuadRauFlessa
Registered User
Posts: 20576
Joined: 19 Sep 2003, 02:00
Location: Bloodbank

Post by RuadRauFlessa »

Hew man what else is this section for. I am looking at extending this section with some nice tutorials and such. I will finish the first over the holiday when I have some time.
:rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock:
Spoiler (show)
Intel Core i7-2600k @ 3.4GHz
Corsair Vengence 2x4GB DDR3 2000MHz
Thermaltake Toughpower 850W
ASUS nVidia GTX560 1GB
CoolerMaster HAF 932
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: Help with Programming!!!

Post by rustypup »

I'm studying BSC Computer Science 2 become a programmer, but I want 2 learn even more, so if any programmers wants 2 share tips + tricks, tutorials, advice or info on C++, Java and Delphi, please give me a shout :)

Ult1ma
1) Get yourself a couple of books on OOAD
2) Get yourself a couple of books on structural programming
3) Get yourself a couple of books on patterns, regex
4) Read

Finally, practice, practice , practice..... NullPointerException is your friend...
RuadRauFlessa
Registered User
Posts: 20576
Joined: 19 Sep 2003, 02:00
Location: Bloodbank

Re: Help with Programming!!!

Post by RuadRauFlessa »

rustypup wrote:NullPointerException is your friend...
:lol: :lol: :lol: :lol: :lol:

I gotta remember that one next time I try and find one

:lol: :lol: :lol: :lol: :lol:
:rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock:
Spoiler (show)
Intel Core i7-2600k @ 3.4GHz
Corsair Vengence 2x4GB DDR3 2000MHz
Thermaltake Toughpower 850W
ASUS nVidia GTX560 1GB
CoolerMaster HAF 932
amdretard
Registered User
Posts: 1177
Joined: 26 Oct 2002, 02:00
Location: Cape town

Post by amdretard »

help i need the answer to this question for tomorrow

difference between an algorithm and a programming language

please help
My friends think i need a life. What do you think?
hexXie
Registered User
Posts: 872
Joined: 01 Jan 2005, 02:00
Location: DNA Sequencing Labs

Post by hexXie »

An algorithm is the simplified version or 'summary' using simple symbols to project or give a basic outline of a program/idea,

whereas a programming language consists of a series of symbols/statements used in a specific manner to be formed into a source program to be utilised for the generation of a desired output.

Hope it helps(just a basic summary!) :wink:
Everyday, I browse the forums just to make sure that there still are people more pathetic than me.
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Post by rustypup »

amdretard wrote:difference between an algorithm and a programming language
Essentially scope....

An algorithm is a very specific piece of code that provides extremely restricted functionality, eg... it would typically provide very simple output in a sort function.... (greater than/less than comparison).

A programming language is the medium used to code the algorithm. It provides a structured syntax which is readable to a programmer. The structure of the language and its syntax permits the programmer to produce , shall we say, a verbose program, which the compiler is capable of interprating and rendering back into machine code, (binary executable), which is not readable....
Most people would sooner die than think; in fact, they do so - Bertrand Russel
UsMarshal
Registered User
Posts: 790
Joined: 08 Nov 2004, 02:00
Location: Randburg
Contact:

Post by UsMarshal »

If you ever need any C# help, give me a shout, been using this new langauge since it appeared in a production environment. Very nice. :lol:
Garret
Registered User
Posts: 826
Joined: 18 Feb 2004, 02:00
Location: Johannesburg

Post by Garret »

UsMarshal wrote:If you ever need any C# help, give me a shout, been using this new langauge since it appeared in a production environment. Very nice. :lol:
nice one.
eraser
Registered User
Posts: 2951
Joined: 04 Mar 2005, 02:00
Location: On top of old smokey all covered in cheese...
Contact:

Post by eraser »

wats up peps...

i'm a newbie in programming but i was just curious, how do u get your program 2 auto detect the systems resolution nd adjust itself? i have a problem wif that cause my program is compiled on my resolution (1024x768) nd i want the program on 800x600 but its 2 big!!

pls help...
Uranium
Registered User
Posts: 275
Joined: 30 Apr 2003, 02:00

Post by Uranium »

What language? It doesn't depend on your resolution when you compiled it, but on the size you told it when you created the window. Or you could just tell it to maximise it.
UR@|\|1U|\/|
My PC:
AMD Athlon64 3500+
2GB DDR400 RAM
GeForce 6800GT 256MB
120 GB SATA HDD
jack-da-ripper
Registered User
Posts: 1
Joined: 10 Apr 2005, 02:00

Post by jack-da-ripper »

if u need a few tips on delphi, then shot me halla da
eraser
Registered User
Posts: 2951
Joined: 04 Mar 2005, 02:00
Location: On top of old smokey all covered in cheese...
Contact:

Post by eraser »

@ Uranium... i'm using delphi! tried setting the size but it doesnt work!!

@ jack-da-ripper... do u haf any suggestions? 8O
draggon
Registered User
Posts: 98
Joined: 29 Sep 2004, 02:00
Location: Durban North

Post by draggon »

Ult1ma wrote:
I'm studying BSC Computer Science 2 become a programmer, but I want 2 learn even more, so if any programmers wants 2 share tips + tricks, tutorials, advice or info on C++, Java and Delphi, please give me a shout
Which University are you at?, I am at UNISA also studying BSc Computer Science - Software Engineering. I have level 1 experience in C++ and Delphi. If you need help please be a bit more specific of the language you are programming in and the problem you are having, and maybe myself or someone else will help you.
Last edited by draggon on 11 Apr 2005, 10:24, edited 1 time in total.
draggon
Registered User
Posts: 98
Joined: 29 Sep 2004, 02:00
Location: Durban North

Post by draggon »

@ eraser --- does'nt it have to do with form size property. (I am not at my Delphi computer right now. Will check-up)
sun_walka
Registered User
Posts: 1134
Joined: 11 Jan 2005, 02:00
Processor: Intel Core i5-4670K 3.4GHz
Motherboard: MSI Z87-G41 PC-Mate
Graphics card: VisionTek Radeon R9 290
Memory: Crucial Balistix Sport 32GB DDR3
Location: Saskatoon, Saskatchewan, Canada
Contact:

Post by sun_walka »

LOL rustypup, you should permenantly turn on your sig. :lol:

It provides alot of programming er, "help" indeed. :)
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Post by rustypup »

sun_walka wrote:LOL rustypup, you should permenantly turn on your sig. :lol:

It provides alot of programming er, "help" indeed. :)
ha... check out The Daily WTF for the in depth version..... :wink:
Most people would sooner die than think; in fact, they do so - Bertrand Russel
stain1
Registered User
Posts: 42
Joined: 31 Dec 2003, 02:00
Location: Windhoek- Namibia

Post by stain1 »

draggon wrote: I am at UNISA also studying BSc Computer Science - Software Engineering.
Same here ...
There are only 3 types of people in this world- those who can count and those who can't
Law
Registered User
Posts: 1569
Joined: 12 Sep 2003, 02:00
Location: UND

Post by Law »

well if you need help with java i can help. just finished making a chat program for networks. Just tell Neon_chameleon to get me to come online.
Image

MAY THE CHEESE BE WITH YOU!
{PK} Law
syntheticdarkness
Registered User
Posts: 6
Joined: 01 Mar 2005, 02:00
Contact:

Post by syntheticdarkness »

I need help with delphi.

The if then else statement need help fast.
this is how it is so far how do i get it right.
also needed the {{{{{procedure TForm1.bmpOKClick(Sender: TObject);}}}}} this line without the{{{}}} is also appreciated



procedure TForm1.bmpOKClick(Sender: TObject);
begin
if sPassword = Password;
then lblResult.Caption :='Valid login';
else lblResult.Caption :='INVALID';
end;


may the force be with you
Slasher
Registered User
Posts: 7525
Joined: 23 Aug 2003, 02:00
Location: 5th rock from the sun.

Post by Slasher »

I think there shouldnt be all the
;
at the end of each...

Just make if If spassword = password
then lblResult.Caption :='Valid login'
else lblResult.Caption :='INVALID'
end;

Or at least not at the end of the first IF line...

Thats waht I remember from Turbo Pascal, cant gaurantee it will work... try it...

Good luck...
My BF2142 Stats:
Image


Slasher : Former member of www.PCFormat.co.za
I have reached the end of my near 5 year forum life. Farewell good days...

slasher (at) webmail (dot) co (dot) za
eagerBeaver
Registered User
Posts: 475
Joined: 18 Sep 2004, 02:00
Location: Durban
Contact:

Post by eagerBeaver »

Yea, there should be a ";" at the end of each line except when in a loop.
ZING!
DarkPond
Registered User
Posts: 87
Joined: 06 Oct 2004, 02:00
Location: the Windy City
Contact:

Post by DarkPond »

Code: Select all

procedure TForm1.bmpOKClick(Sender: TObject);
begin
if sPassword = Password then
    lblResult.Caption :='Valid login';
else 
    lblResult.Caption :='INVALID';
end;
okay i changed it to how i lay it out. there should be no ';' at the end of your IF line. i lay it out like this and then don't have a ';' on the same line as the IF
Dark Throne


Av by SybAGreY
proaTt
Registered User
Posts: 384
Joined: 02 Oct 2004, 02:00

Post by proaTt »

procedure TForm1.jpgOKClick(Sender: mRt);
begin
if sPassword = Password then
lblResult.caution :='Valid login';
else
lblResult.caution :='INVALID';
end; is are end be

code source

dont know why but aint working
Post Reply