Topic: [HELP] Coding
hey communtity , i was wondering if someone could tell me or give me USEFUL downloadlinks on how to code, as i would like to make a server where u can log into ur account.... thx
You are not logged in. Please login or register.
Teeworlds Forum → Support → [HELP] Coding
hey communtity , i was wondering if someone could tell me or give me USEFUL downloadlinks on how to code, as i would like to make a server where u can log into ur account.... thx
The best way would be to buy a c++ book
im sry no i said links
Here you go: http://net.pku.edu.cn/~course/cs101/200 … nguage.pdf
In fact this is a book, but it's in form of a pdf.
Well, it takes much time to write stuff including everything of a complicated programming-language.
Therefore I doubt any free downloadable document is as good as a good c++ book.
Especially without any knowledge about programming a more profound book might lead to better results.
Btw @Ghost: Your link is about c and not c++, isnt it?
ok thx but what program do i open it with???
ok thx but what program do i open it with???
Start with learning on how to code, they will explain you.
Youtube
(Hey, Books... Hum... Copyright...)
@ Slayer: did he ask for c++? I don't think so. Also this book is good for learning the very basics. C++ is an addition to C (C++ compilers will compile almost any C code). So learning the C basics is a very good start.
@ Slayer: did he ask for c++? I don't think so. Also this book is good for learning the very basics. C++ is an addition to C (C++ compilers will compile almost any C code). So learning the C basics is a very good start.
He was asking in a teeworlds (a game coded in c++) forum for help to learn coding, with the purpose to modify something.
Therefore i thought he wants to modify teeworlds, and he should learn c++ for it.
But if he doesn't want to learn c++, he should tell us which language (maybe it isn't C either? oO)
ok thx but what program do i open it with???
Do you want to know how to open the online pdf file?
ermm... thx guys i want whatever c thats makes u upgrade weapons and log into accounts. no i dont know how to open pdf or whatever online. i have no-idea bout coding myself, but i hope to learn so yeah the best is probs to start at the basic's thx guys i am 100% english guys and yeah slayer ur correct i do want to modify tw so if ur right it will be c++ that i need. thx
ermm... thx guys i want whatever c thats makes u upgrade weapons and log into accounts. no i dont know how to open pdf or whatever online. i have no-idea bout coding myself, but i hope to learn so yeah the best is probs to start at the basic's thx guys i am 100% english guys and yeah slayer ur correct i do want to modify tw so if ur right it will be c++ that i need. thx
It's not something you learn in 5 hours. It takes a lot of time (months), so if you want to invest yourself into this, you need to be motivated.
no i dont know how to open pdf or whatever online
Are you serious? You never heard regarding Adobe Reader or something like that?
to start at the basic's
Would even mean that it would be hard to code on TW without previous basic knowledge. I even think it's no bad idea to start with C so you should have already some clue wtf "static" or "char" should mean. If you still would do something regarding TW then you can maybe try your luck with the Nodes fork (mod) as base. Cause major parts are still in C since it's 0.5.2 based and it's even not fully dead (at least I hope so ). It even looks like it would not move to C++ too fast . Motivation is really important and if you code on something you like it's better then to just study synthetic stuff.
Greetings,
Mo(2)
Would even mean that it would be hard to code on TW without previous basic knowledge. I even think it's no bad idea to start with C so you should have already some clue wtf "static" or "char" should mean. If you still would do something regarding TW then you can maybe try your luck with the Nodes fork (mod) as base. Cause major parts are still in C since it's 0.5.2 based and it's even not fully dead (at least I hope so wink). It even looks like it would not move to C++ too fast big_smile. Motivation is really important and if you code on something you like it's better then to just study synthetic stuff.
1. 0.5.2 was written in C++ AND C, so he has to learn both to modify this version
2. 0.6 is fully written in C++. C++ IS NOT C (who excepted this?). Why the heck should he waste time learning a language he doesnt need?
Example: You want to learn english, so you start learning latin to learn some basics? Srsly....
in 0.6 are much things which are very C... like using malloc and free. Also the C casts. So knowing about all the C low level crap is important to understand teeworlds
0.5.2 was written in C++ AND C
Yes. But as I wrote: Major parts are in C.
In Nodes:
74 files are cpp (38 files of it are for the client)
131 files are c (46 files are for the client).
so he has to learn both to modify this version
Depends on what he like to modify. And before he can modify something he had to understand what's going on there and know some basics anyway. If he learn for months just some synthetic stuff and don't get a clue how to touch the real stuff in the TW code I'm pretty sure he would give up before he had done something usefull first.
Greetings,
Mo(2)
Slayer *gV* wrote:0.5.2 was written in C++ AND C
Yes. But as I wrote: Major parts are in C.
In Nodes:
74 files are cpp (38 files of it are for the client)
131 files are c (46 files are for the client).
And Nodes is based on 0.5. In 0.6, the whole code is now written in C++, no C anymore. Although, I have to agree with Sushi on this point:
in 0.6 are much things which are very C... like using malloc and free.
In 0.6, the whole code is now written in C++, no C anymore.
Yes. But I'm not sure if it really makes sense to take a C++ handbook, start with hello world and try modifying straight ahead without some coding experience besides that. You already wrote that it would took months. And I agree. I would even write it would took many months. TW is already grown - and you have to read into somebody else code (without too much // at all). So there would be many months without result and I'm pretty sure motivation would decrease. I think it's easier to play with C to get some first results, motivation and as a nice side-effect some basic knowledge.
Dune wrote:In 0.6, the whole code is now written in C++, no C anymore.
Yes. But I'm not sure if it really makes sense to take a C++ handbook, start with hello world and try modifying straight ahead without some coding experience besides that. You already wrote that it would took months. And I agree. I would even write it would took many months. TW is already grown - and you have to read into somebody else code (without too much // at all). So there would be many months without result and I'm pretty sure motivation would decrease. I think it's easier to play with C to get some first results, motivation and as a nice side-effect some basic knowledge.
I totally agree with that, but what are you gonna tell him? "You will not learn to code because you're not motivated enough?" He doesn't realize the time it will take him to learn programming.
Example: You want to learn english, so you start learning latin to learn some basics? Srsly....
omg ur absoultly right about this slayer why the fuck would i need to learn latin or somethin if im english??? wtf man?? And yes i want to mod 0.6 so i do need to have c++ not C. 0.5.2 was awesome but its in the past now guys, develpoment moves on!!! hardly any1 plays 0.5.2, and i certaintly dont because for me the graphics are (dare i say it) shite. and all srv's hosted have like 150 ping, its bad!!! i need C++ for 0.6.
I'm pretty sure he would give up before he had done something usefull first.
omg stop sayiny that i will give up, do u not understand, i want to learn how to fuckin code??? why would i go through all the and not even do anything im sticking with the coding until i finally modify tw!!! stop putting me down!!! thats not support and certaintly dune needs to stop too, his title is "Support staff" so dune do urself a decent job and "support" people with there problems!!!! thumbsup to slayer thats what i call "support Staff"!!!!
I totally agree with that, but what are you gonna tell him? "You will not learn to code because you're not motivated enough?" He doesn't realize the time it will take him to learn programming.
!!!!!!!!!!!!!!!!!!!
Example: You want to learn english, so you start learning latin to learn some basics? Srsly....
omg ur absoultly right about this slayer why the fuck would i need to learn latin or somethin if im english??? wtf man?? And yes i want to mod 0.6 so i do need to have c++ not C. 0.5.2 was awesome but its in the past now guys, develpoment moves on!!! hardly any1 plays 0.5.2, and i certaintly dont because for me the graphics are (dare i say it) shite. and all srv's hosted have like 150 ping, its bad!!! i need C++ for 0.6.
How can you argue with that when you don't know anything about what you're talking. C is not the latin for C++, and there is not that much difference between both. It would still take you many months to master C++, like half a year, especially when you got no other experience with coding.
You do not know yet if you'll like coding or not, you seem to only aim some kind of title, but you need to LIKE programming, because you would have to spend a lot of time doing that, as a hobby.
Once you know C, there is a very little step to C++ in my opinion, at least for what you need for modding 0.6. So one time more: listen to our advices, C++ isn't very different from C.
OMG how do u not understand i dont care if i wont like it i want to learn how to do it!!!!! jesus christ how many times srsly do i have to tell you?
OMG how do u not understand i dont care if i wont like it i want to learn how to do it!!!!! jesus christ how many times srsly do i have to tell you?
If you tell me I wanna be able to play the four seasons perfectly at piano, I answer you it's gonna take you some years of learning, and that you should be motivated for it. It's not a matter of wanting to be able to, it's also a matter of liking to play piano. If you haven't got this love for playing piano, you're gonna suffer a lot learning.
Teeworlds Forum → Support → [HELP] Coding
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.