1. Learn C++. Possible alternatives: C, C#. If you are a fag: Java, Haskell or Python.
2. Learn Calculus
3. Learn Linear Algebra
4. Learn classical physics
5. Learn a 3D API. OpenGL or Direct3D.
6. Learn how to play sound get input etc on your target system.
7. Read about game engines and how to make them.
8. Make Game
9. Profit
1. Learn C++. Possible alternatives: C, C#. If you are a fag: Java, Haskell or Python.
2. Learn Calculus
3. Learn Linear Algebra
4. Learn classical physics
5. Learn a 3D API. OpenGL or Direct3D.
6. Learn how to play sound get input etc on your target system.
7. Read about game engines and how to make them.
8. Make Game
9. ??????
10. Profit
Name:
Anonymous2007-08-13 7:08 ID:pVlPR8Zt
10. Profit (even though you will be paid less than a vanilla applications programmer).
Name:
Anonymous2007-08-13 7:13 ID:NW4TPeJ5
1. Learn C++. Possible alternatives: C, Haskell. If you are a fag: Java, C# or Python.
2. Learn a 3D API. OpenGL.
3. Learn how to play sound get input etc on your target system.
4. Read about game engines and how to make them.
5. If you need some mathematics or other crap, use Google for a tutorial
6. Make Game
7. ????
8. Profit (haha just kidding you'll release it as OSS or your are a faggot)
Name:
Anonymous2007-08-13 7:23 ID:pVlPR8Zt
5. Learn a 3D API preferably Direct3D, or you'll end up like >>4, a homeless games programmer with an odour comparable to RMS.
Also "your are" makes no sense.
It's "you are" or "you're"
>>1 Calculus is overrated. Everyone just cheats and approximates anyways.
Name:
Anonymous2007-08-13 23:12 ID:LtFOniNw
>>1 probably meant that to be a joke, but it really isn't a whole lot to learn. 1-4 is standard knowledge for nerds, you should learn it anyway. 5-7 you can teach yourself using the internet.
Making the game is still a lot of work, but learning everything you need to get to that point isn't impossible.
Name:
Anonymous2007-08-14 3:35 ID://YBkojP
1. Give up now. If you came to 4chan to learn how to be a games programmer you're not smart enough to succeed.
...
7. Read about game engines and how to make them.
8. Make Game
9. Spend years fruitlessly trying to weasel your way into the gaming industry, getting raped in back alleys in Silicon Valley and Vancouver
10. Watch people who are better connected than you (and attractive women who can't code their way out of a paper bag) get all of the jobs instead of you
11. Become a fry-cook
12. Profit!
Name:
Anonymous2007-08-16 15:04 ID:TXYedfwr
OP here, yeah my own plan is slightly different too:
8. Make game
9. Live on welfare while programming free games for many years
10. ?????
11. ))))))))
12. Profit
Name:
Anonymous2007-08-16 15:49 ID:RnikqNev
1) Design the game
2) Answer questions that 1) brings up
3) Years of work
4) Game
5) ????
6) Profit!
1. Learn C++. Possible alternatives: C, C#. If you are a fag: Java, Haskell or Python.
2. Learn Calculus
3. Learn Linear Algebra
4. Learn classical physics
5. Learn a 3D API. OpenGL or Direct3D.
6. Learn how to play sound get input etc on your target system.
7. Read about game engines and how to make them.
8. goto 1
Name:
Anonymous2007-08-16 16:34 ID:icVNIPKQ
Stop wasting your time, buy flash and make a game you can actually sell.
1. Learn C++. Possible alternatives: C.
2. Learn Calculus
3. Learn Linear Algebra
4. Learn classical physics
5. Learn SDL
6. Learn OpenGL.
7. Read about game engines and how to make them.
8. Never use goto
while (true) {
1. Learn C++. Possible alternatives: C, C#. If you are a fag: Java, Haskell or Python.
2. Learn Calculus
3. Learn Linear Algebra
4. Learn classical physics
5. Learn a 3D API. OpenGL or Direct3D.
6. Learn how to play sound get input etc on your target system.
7. Read about game engines and how to make them.
}
Name:
Anonymous2007-08-16 19:28 ID:Vvp0MxVV
>>31
bad advice. sometimes, goto is the right way. especially in c/asm
6.4.5~:
A character string literal is a sequence of zero or more multibyte characters enclosed in double-quotes, as in "xyz". A wide string literal is teh same, except prefixed by the letter L.
Name:
Anonymous2007-08-17 18:20 ID:ea0iEFL8
what do u think strcmp strcat etc stands for ????? string maybe??
Strings are not built into the C programming language. You have functions that have been written to adapt to the needs of strings, but there is no predefined handling of strings in C. In reality, strings need not be terminated with null characters; this is merely a convenience feature of C.
Name:
Anonymous2007-08-17 21:38 ID:zG2CVXS5
>>55
Get a life, fucktard. Always posting on 4chan with nothing else to do with your pathetic 'life'. Very sad.
>>58,59
You do not understand programming, get out.
C has the so called ``C strings''
C strings are defined by the standard.
you're full of shit.
C strings are bult in the C programming language.
You do not need any functions to have strings.
In reality, strings do not exist.
And it is not a feature of C.
Why do i even bother replying to you?
ps. If C does not have strings, please, please tell me what "fuckyou" is.
char a single byte, capable of holding one character in the local character set
int an integer, typically reflecting the natural size of integers on the host machine
float single-precision floating point
double double-precision floating point
In addition, there are a number of qualifiers that can be applied to these basic types. short and long apply to integers:
short int sh;
long int counter;
(...)
5.5 Character Pointers and Functions
A string constant, written as
"I am a string"
is an array of characters. In the internal representation, the array is terminated with the null character '\0' so that programs can find the end. The length in storage is thus one more than the number of characters between the double quotes.
(...)
No, I'm not K&R. the above, though, was quoted from the book. Even though it's true, strings are not built in in the C programming language, still, the fact that string constants ARE defined in the C language, and moreover, that the internal representation of string constants is fixed (plus all the string functions in the C standard use this same representation), does point to this idea:
The internal representation of strings as array of characters plus '\0' is specified in the C standar.
>>74
that fuckwid zG2CVXS5 assumed your post was done by me so he flamed you without really looking at the content -- good example of a troll.
a pointer to a char would be
char c;
&c
Name:
Anonymous2007-08-18 0:48 ID:Hm9AnNFr
>>73
SICP does have a really really nice cover....
Name:
Anonymous2007-08-18 0:50 ID:JtiCdoIc
>>73 I was expecting more from people that wank over the SICP cover.
You were expecting *Scheme*rs... to know *C*. That makes sense.
Name:
Anonymous2007-08-18 1:25 ID:Hm9AnNFr
>>77
Any schemer that doesn't know C isn't worth his salt.
Name:
Anonymous2007-08-18 1:42 ID:Psr8ZSUN
This whole argument degraded into semantics. A C string is an array of characters, pointed to by a char*, terminated by a null char. It's not a language construct, perhaps not even a "standard", but by the terms of every single string handling function defined in ANSI C, it's very much a recommendation.
Name:
Anonymous2007-08-18 5:56 ID:KS2Nq+I7
You're all fucking insane. "asd" evaluates to something of type char *, const char * if you really want to push it, plus the compiler storing characters "asd" plus a byte 0 somewhere in the executable that gets loaded, possibly but not necessarily as read-only memory. It's not an array, it doesn't say anything about its length, and most of all, >>73 was obviously trolling because L"asd" is a different expression and (int *) "asd" is "asd" (a pointer to char) which is being casted to int *.
while (true) {
1. Learn C++. Possible alternatives: C, C#. If you are a fag: Java, Haskell or Python.
2. Learn Calculus
3. Learn Linear Algebra
4. Learn classical physics
5. Learn a 3D API. OpenGL or Direct3D.
6. Learn how to play sound get input etc on your target system.
7. Read about game engines and how to make them.
8. true = false
}
You people are arguing the meaning of ``strings.'' Truly pathetic anonymous.
Truly a discussion on Computer Science!
Name:
Anonymous2007-08-18 12:29 ID:AbPJ/560
>L"test"
>(int*)"test"
>
>No longer an array of chars IS IT?
The first one is an array of whatever wchar_t is for that platform. The second one is an array of chars, casted to an array of int. In this case, you're casting a 5-char array, of which I can pretty much guarantee that sizeof int is not an even multiple.
Name:
Anonymous2007-08-18 15:20 ID:YOXx/DrH
>>82
Faggot. I always wondered what kind of faggot would waste a line of code and make the code look ugly doing that (and obscuring loops since the line before indenting is not the loop declaration), and now I know. You would be that kind of faggot.
>>93
There's no such type as "array of chars", nor "array of int". There are pointers, though.
There's no such type as "array of chars", nor "array of int". There are pointers, though.
Ah true, my bad. Still not strings though.
Name:
Anonymous2007-08-18 18:39 ID:KS2Nq+I7
>>95
Of course they are not strings. I'm cgmoAS42.
Name:
Anonymous2007-08-18 20:46 ID:94SevuIy
>>94 There's no such type as "array of chars", nor "array of int". There are pointers, though.
You are an idiot for saying that. Apparently arrays and pointers being interchangable in many situations confuses some of the more feeble minds.
Name:
Anonymous2007-08-19 4:18 ID:phrHsXz6
Gawd, this is horrible.
Pointer => Variable that's value corresponds to a physical address in memory
Array => A set of contiguous elements
A function evaluating a Pointer to an Array has to know when to terminate. The reason '\0' is chosen is because the byte following the last character evaluates to false without any further manipulation of the expression. The manner in which the end of an Array is detected is entirely implementation dependent.
Game over. Insert coin. Insert coin again. Reset to zero credit.
A function evaluating a Pointer to an Array has to know when to terminate. The reason '\0' is chosen is because the byte following the last character evaluates to false without any further manipulation of the expression. The manner in which the end of an Array is detected is entirely implementation dependent.
How's that related to what the expression "asd" is in C?
>>99
"asd" has type array of char, although in most contexts it will be converted to an expression of type pointer to char that points to its first element.
"asd"
HAS NO FUCKING TYPE
IT IS A C STRING
GET IT THRU YOUR FUCKING SKULLS
Name:
Anonymous2007-08-19 19:14 ID:FiTiDkwb
>>104
Since when does C differentiate between pointers and arrays for string immediate values, and more importantly, since when does it have a separate array type for vectors? Arrays only matter for matrices.
Name:
Anonymous2007-08-19 19:20 ID:NjuhW38U
Holy fuck. Well over half this thread is over whether C strings are really strings or not. I can't decide whether this is EPIC or FAIL.
I can only hope that more game programmers never produce shit. Too much shit goes out the door nowadays.
Name:
Anonymous2007-08-20 16:35 ID:1mHx1Yvt
I <3 goto, because using it pisses so many people off
although in a professional setting i wouldn't use it unless needed also C# is king of faglands, i prefer it over all the other fag languages. c# is wonderful if you have to make your own tools for said game