|
|
|
Help!
by VoroneTZ. 10/14/25 05:04
|
|
|
|
|
|
0 registered members (),
9,184
guests, and 0
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Looking for a decent c-lite tutorial
#233712
10/30/08 01:05
10/30/08 01:05
|
Joined: Oct 2008
Posts: 67
pewpew
OP
Junior Member
|
OP
Junior Member
Joined: Oct 2008
Posts: 67
|
I am new to c-lite  but the manual that is distributed with the language doesn't seem to detail the commands well enough (IMO). Is there any links to some decent tutorials or c-lite manuals? i've gone through the workshop package from this site already, but there are a few things is seems to miss. i am very familiar with c++, if that helps?
HURRR DERP DERP DEERRPP HURR
|
|
|
Re: Looking for a decent c-lite tutorial
[Re: dracula]
#233785
10/30/08 17:19
10/30/08 17:19
|
Joined: Jan 2008
Posts: 1,580
Blade280891
Serious User
|
Serious User
Joined: Jan 2008
Posts: 1,580
|
What about the lite-c workshops?
My Avatar Randomness V2"Someone get me to the doctor, and someone call the nurse And someone buy me roses, and someone burned the church"
|
|
|
Re: Looking for a decent c-lite tutorial
[Re: Alessandro]
#233941
10/31/08 10:06
10/31/08 10:06
|
Joined: Oct 2008
Posts: 67
pewpew
OP
Junior Member
|
OP
Junior Member
Joined: Oct 2008
Posts: 67
|
how different is c++ to c?
HURRR DERP DERP DEERRPP HURR
|
|
|
Re: Looking for a decent c-lite tutorial
[Re: pewpew]
#233965
10/31/08 12:22
10/31/08 12:22
|
Joined: Jan 2008
Posts: 1,580
Blade280891
Serious User
|
Serious User
Joined: Jan 2008
Posts: 1,580
|
But if you learn C you will have spent a lot of time learning a language that you won't use in gamestudio (unless you use C instead or lite-c), so it will be best just to do the lite-c workshop.
Last edited by Blade28081991; 10/31/08 12:23.
My Avatar Randomness V2"Someone get me to the doctor, and someone call the nurse And someone buy me roses, and someone burned the church"
|
|
|
Re: Looking for a decent c-lite tutorial
[Re: dracula]
#234063
10/31/08 21:44
10/31/08 21:44
|
Joined: Sep 2004
Posts: 130 Italy
Alessandro
Member
|
Member
Joined: Sep 2004
Posts: 130
Italy
|
Sometimes the real problem is not related to learn a programming language, but how to use it. In fact, even if I know many languages (included C and lite-c), I still have problems because, at a certain moment, I don't know how to project an algorithm to solve a specific problem. So, I think you could simply start learning C and compare with lite-c (they are similar, even the "concepts" are similar), then start inventing some easy programs in A7 (not necessary games). For example: 1) make the sum of ten numbers, then create a string with the number result (.e.g: "The result is: 123).
2) create a variable, called "myCounter", and increase it one-by-one (1, 2, 3, 4, 5, 6, etc...), then try to create another variable that maintain its internal value between 0 and 359. So we will have:
myCounter Result --------- ----------- 358 358 359 359 360 0 361 1 362 2
3) Make a program similar to the one of the point (2), but maintain the value between -180 and +180.
4) Fill an array with random numbers between 0..100, then try to order them (e.g: random numbers are: 3, 3, 9, 1 --> 1, 3, 3, 9).
5) etc...
This is the first step to learn programming, and at the same time you learn how to solve specific problems.
------------------------
>>> Difference between C and C++?
Well, Lite-C is similar to C (and not C++). C++ is object oriented (classes, objects, etc...) but C is a procedural language (only structures, functions, etc...).
Generally speaking, C language is a little bit faster than C++.
|
|
|
Re: Looking for a decent c-lite tutorial
[Re: Alessandro]
#234629
11/03/08 22:40
11/03/08 22:40
|
Joined: Oct 2008
Posts: 67
pewpew
OP
Junior Member
|
OP
Junior Member
Joined: Oct 2008
Posts: 67
|
ah ok. i am looking at making a very portable vehicular war-style game. anyone remember return fire? i have alot of the design worked out on paper, and it is very object orientated. just gotta put it through lite-c. the tutorials i am looking for are pretty much exactly what alessandro has mentioned. There is no 'in between' basic steps on how to manipulate data etc. i went through the 23 or so workshops that are on the site and they are ok. But i still need just a little more tut stuff before i start 
HURRR DERP DERP DEERRPP HURR
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|