Jump to content


Photo

Programming Languages


  • Please log in to reply
86 replies to this topic

#21 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 11 February 2002 - 05:36 PM

quote:
Originally posted by PandukhT:
HArout jan harst chka aper , problem unenas indz asa, do xom gides te yes vonts em tirapetum et lezunerin.



Movses jan, yes shat lav gitem te du vonts ec tirapetum ayd lezuner@, dra hamar el qez chem hartsnum.

#22 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 11 February 2002 - 05:43 PM

quote:
Originally posted by SAS:
Harut,
Movsesn asum e arden 1000-ic avel post es arel:
Da &isht e, te Movses@ "vred...post a anum"?
Yete na &isht e, ba el zhamank kmna lezu sovorelu?...
Isk yete lurj, apa da kaxvats e any banic, te INCHOV es zbaghvelu?
Chkan LAV "Programming Languages", kan konkret problemner:Amen mi xndir pahanjum e ir lezun:
Bayc du hayerenic karchir` mnacatsn ancoghik baner en...
____
SAS



SAS jan, inch anem? es HyeForum@ esents virusi nman mtela mejs, chem karum azatvem.
hankarts mi or chgam estegh, yerazits Movses@ galis a, esets satanayi kotoshnerov, u sksum a indz kheghtel. asum a:
"ure eir, ara!? ure eir, ara!?"
de, yes el stipvats galis em.
ba? esents baner.
======
SAS jan, ba du der chgites te yes inch programner em grum hayerenov?!!?
hayerenov C u C++ em kzatsnum.

#23 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 11 February 2002 - 05:45 PM

btw, i just learned that starting the next term, which starts on March, i'm going to have to take OOP, C++.

couldn't finish learning one, the next one is coming up.

adang baner.

#24 Sip

Sip

    Buffet Connoisseur

  • Members
  • PipPipPipPipPip
  • 8,365 posts
  • Gender:Male
  • Location:Online

Posted 11 February 2002 - 07:02 PM

It's pretty strange starting with OOP and C++ without C

Maybe they'll start with the C part first. Just make sure it's an intro class and you'll be fine.

[ February 11, 2002: Message edited by: Sip ]

#25 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 14 February 2002 - 02:23 PM

quote:
Originally posted by Sip:
It's pretty strange starting with OOP and C++ without C

Maybe they'll start with the C part first. Just make sure it's an intro class and you'll be fine.

[ February 11, 2002: Message edited by: Sip ]



actually it is C++ only.
and it's intro class.
here, in this college, courses are already mapped for each major.
so, there is almost no chance that you will take something unnecessary or out of order.

#26 Sip

Sip

    Buffet Connoisseur

  • Members
  • PipPipPipPipPip
  • 8,365 posts
  • Gender:Male
  • Location:Online

Posted 14 February 2002 - 02:26 PM

At UCLA CS, they have 2 main courses: CS 31 and 32. 31 starts with basic programming with C/C++ (much like what you would do with BASIC) and then CS 32 does the OOP stuff. You won't have much trouble understanding OOP since Visual Basic is all object oriented !!! (as opposed to BASIC, QuickBasic, GWBasic, and all the older ones).

#27 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 14 February 2002 - 02:34 PM

Sip jan, i remember learning that VB is NOT object oriented programming language.
they say it is object-based, because it does not fully support hirarchy, so it's not OOP language.

i just looked over future terms' scheduals, and there are two more courses that will teach C/C++. they are called OOP II and Advanced Programming With C.
the one that i'm going to take now is called OOP I.

#28 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 14 February 2002 - 02:36 PM

besides programming languages, we also have a lot of System Analysis classes and Database classes.

some suggest that those classes are going to be much interesting, and that it would be wise to master those areas more than solely become a programmer.

what do you guys think?

#29 Azat

Azat

    Veteran

  • Members
  • PipPipPipPipPip
  • 8,969 posts
  • Gender:Male
  • Location:Los Angeles, CA
  • Interests:wine, beer, food, art, jokes

Posted 14 February 2002 - 02:53 PM

Sip, VB is not oop. In advanced VB you can pretty much write apps that are very close to being oops apps, but VB fundamentally is not.

Harut, System analysis is okay. I found it interesting, but it is now great, however I personally love database coding and admin and working with HUGE databases. It is fun.

SQL is a very easy and basic language, but you can do miracles with it.

DBA work is very cool as well.

Also, I would be scared to jump into OOP with C/C++ without having a good foundation in C. I had 2-3 years of C knowledge and experience when I had to first learn C++ and it was a challenge.

#30 MosJan

MosJan

    Էլի ԼաՎա

  • Admin
  • PipPipPipPipPip
  • 28,391 posts
  • Gender:Male
  • Location:My Little Armenia

Posted 14 February 2002 - 04:46 PM

Harout-> SAS jan, inch anem? es HyeForum@ esents virusi nman mtela mejs, chem karum azatvem.
hankarts mi or chgam estegh, yerazits Movses@ galis a, esets satanayi kotoshnerov, u sksum a indz kheghtel. asum a:
"ure eir, ara!? ure eir, ara!?"
de, yes el stipvats galis em.
ba? esents baner.


tnashen ba shut aseyir yes el gitem ban chi statsvum indz mot sirt@s hangstatsav, uremn azduma qez vra He hA


ColerID ches tesel inch tsuyts talsi ???

de asem imatsy HArout Aper ^(666)^

#31 Sip

Sip

    Buffet Connoisseur

  • Members
  • PipPipPipPipPip
  • 8,365 posts
  • Gender:Male
  • Location:Online

Posted 14 February 2002 - 05:35 PM

Granted, VB is not trully OOP but it follows the same philosophy. You basically deal with objects each having properties (data), methods (functions) ... on top of that you have event-based control.

In my experience, people who know VB can grasp OOP much much easier than people who start off (and spend years) with pure functional languages such as C. In any case, I am not a big fan of pure OOP

#32 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 21 February 2002 - 04:22 PM

i'm surprised!!!

listen what my VB professor said just yersterday, during the last meeting before final.

as he summed up the results of the term and told us what we should have learned from this course, he said something like this:

"this course was not designed to teach you VB programming language. we did not attampt to make to a VB programmers. the main objective of the course was to introduce to us the basic concepts of the programming. VB was chosen for this course only because it is easy language and it is easy to show the fundamentals of the programming to newcomers".

i was sort of disappointed that i didn't know this before.
parzvum a, we might take real VB course later.

and what should i do now? stop spending my time on VB and start concantrating on C++, or along C++ i also should keep studing VB?

i'm all confused now.

#33 Sip

Sip

    Buffet Connoisseur

  • Members
  • PipPipPipPipPip
  • 8,365 posts
  • Gender:Male
  • Location:Online

Posted 21 February 2002 - 05:26 PM

Harut jan, the more you know the better!

Down the road, it is good to concentrate on one but learn a bit of everything to get a good idea of how things work. Later on, you'll realize that VB, C++, Pascal, Java, Eifel, blah, blah, are basically the same! They all fall into the realm of "context free" languages that work great for "programming" the type of computers we have.

The way you write each will seem different at first, and they all have some specific differences but basically they are the same.

So I'd say learn a bit of both (or others like Java as well) and then decide which one you like.

VB is great for making business like applications. C/C++ on the other hand, is more general purpose and can be used for anything, especially if you want speed. It also gives the programmer much more control (over everything) than VB. Java was geared more towards the web but now it is becomming a very general purpose language.

I don't like Java much and I don't believe in it. The initial commercials sounded great but it just adds too much overhead compared to C/C++. Also, industry backing (like Microsoft) will have a big impact on what will happen to Java but the way Microsoft is pushing C# (C-sharp) and C/C++, I think they are here to stay for a while ... also remember that almost all of UNIX/Linux/Windows is written in C, so C will be here for a long long time.

[ February 21, 2002: Message edited by: Sip ]

#34 Garo

Garo

    Veteran

  • Admin
  • PipPipPipPipPip
  • 1,096 posts
  • Gender:Male
  • Location:Los Angeles

Posted 21 February 2002 - 07:34 PM

I use Delphi (http://www.borland.com/delphi) most of the time and would suggest you to take a look at it. It's not as popular in the US as in the Europe but this is only because of the marketing issues.

#35 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 21 February 2002 - 07:51 PM

quote:
Originally posted by Sip:
Harut jan, the more you know the better!

Down the road, it is good to concentrate on one but learn a bit of everything to get a good idea of how things work. Later on, you'll realize that VB, C++, Pascal, Java, Eifel, blah, blah, are basically the same! They all fall into the realm of "context free" languages that work great for "programming" the type of computers we have.

The way you write each will seem different at first, and they all have some specific differences but basically they are the same.

So I'd say learn a bit of both (or others like Java as well) and then decide which one you like.

VB is great for making business like applications. C/C++ on the other hand, is more general purpose and can be used for anything, especially if you want speed. It also gives the programmer much more control (over everything) than VB. Java was geared more towards the web but now it is becomming a very general purpose language.

I don't like Java much and I don't believe in it. The initial commercials sounded great but it just adds too much overhead compared to C/C++. Also, industry backing (like Microsoft) will have a big impact on what will happen to Java but the way Microsoft is pushing C# (C-sharp) and C/C++, I think they are here to stay for a while ... also remember that almost all of UNIX/Linux/Windows is written in C, so C will be here for a long long time.

[ February 21, 2002: Message edited by: Sip ]



well, i guess i still have a lot to go before decideing which one is good for me.
i don't know any language yet, except a bit of VB.

in any ways i hope i'll make the correct desision.
verchivercho, i have good friends like you guys, who will help me out.

#36 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 21 February 2002 - 07:59 PM

quote:
Originally posted by Garo:
I use Delphi (http://www.borland.com/delphi) most of the time and would suggest you to take a look at it. It's not as popular in the US as in the Europe but this is only because of the marketing issues.


yesterday i picked up my books for coming term. two of which are "C++ How To Program" from Deitel & Deitel, and "Object-Oriented Programming Using C++" from Course Technology.

i briefly went over the intros, and somewhere there it mentions that link. it says we can download a free copy of Borland C++ from there.
i haven't checked it out yet. i'll do it now.

but i don't understand one thing.
does it matter which compiter i use? isn't C++ C++ whatever i use it with?

i got Visual Studio 6. is it good or bad?

#37 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 21 February 2002 - 11:31 PM

guys, i need help with VB. i'm writing a small program for final. but i want to be a little fancy.

i have wrote this.

quote:
Private Sub cmbResult_Change()
Dim intLoop As Integer
Dim intLenght As Integer
intLenght = Len(cmbResult.Text)
For intLoop = cmbResult.ListCount - 1 To 0 Step -1
If intLenght = Left(cmbResult.List(intLenght)) Then
?????????????
End If
End Sub


what should i put instead of the question marks to set focus to a particular item in the list.

can anybody help, please?
thank you

#38 Harut

Harut

    Վերնագիր

  • Members
  • PipPipPipPipPip
  • 5,734 posts
  • Gender:Male
  • Location:հորիզոն...
  • Interests:uninterested...

Posted 22 February 2002 - 02:06 PM

sorry guys, i had made mistake.
here is the correct code.
but i still need something for Q marks.

quote:
Private Sub cmbResult_Change()

Dim intLoop As Integer
Dim intLenght As Integer

intLenght = Len(cmbResult.Text)
For intLoop = cmbResult.ListCount - 1 To 0 Step -1
If cmbResult.Text = Left(cmbResult.List(intLoop), intLenght) Then
????????????
End If

End Sub



#39 cis_academy

cis_academy

    Junior Member

  • Members
  • Pip
  • 3 posts
  • Location:Glendale
  • Interests:Art

Posted 22 February 2002 - 04:38 PM

Here is how You can find a good book on OOP[VB]

steps

: Type in Your browser window - Google then
: Google Search - Black Book C++ then
: Search Results are - Coriolis then
eBookstore
Barnes & Noble - C++ Black Book then
: Click - Barnes & Noble.com - C++ Black Book
: C++ Black Book Steven Holzner see, then
: Click - Steven Holzner see
: Output - Below are 1 - 25 of the 74 titles sorted in
bestselling order.

1.

Visual Basic 6 Black Book: Indispensable Problem Solver with Cdrom

#40 Garo

Garo

    Veteran

  • Admin
  • PipPipPipPipPip
  • 1,096 posts
  • Gender:Male
  • Location:Los Angeles

Posted 22 February 2002 - 05:12 PM

quote:
Originally posted by Harut:
guys, i need help with VB. i'm writing a small program for final. but i want to be a little fancy.

i have wrote this.



what should i put instead of the question marks to set focus to a particular item in the list.

can anybody help, please?
thank you



What is the purpose of this sub?
There are 2 ways to make an item selected
1. listbox has a property that stores the selected item's index. you can change this property and assign the correct value.
2. list items have boolean property 'selected' which is true for the selected item. Assign true to that item's 'selected' property and it'll become selected.

I'm not sure about the exact syntax in VB.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users