people playing: 230, servers online: 71, games played: 135,977,216 Top Player: Shmevin

  Toribash Community » Clans » Organiζations
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old 4 Weeks Ago   #11
patrickooo
Chatterbox
 
4th Dan Black Belt
Join Date: Aug 2011
Posts: 5,314
Clan: Vector



I just added that in case they didn't know
And thank you


Also I'd love to teach some stuff if I have to, I know a lot of things and I even have my own notes if anybody needs help with anything maybe problems or anything, I can always help.
I just didn't reach advanced coding yet.
█████ Vector █████
█ ███████ █
patrickooo is offline   Reply With Quote
Old 4 Weeks Ago   #12
Lost
Senior Member
 
7th Dan Black Belt
Join Date: Aug 2016
Posts: 546



Aight well when you are ready just apply for teacher wait another week or two though
Lost is offline   Reply With Quote
Old 4 Weeks Ago   #13
patrickooo
Chatterbox
 
4th Dan Black Belt
Join Date: Aug 2011
Posts: 5,314
Clan: Vector



Nah I won't apply for teacher I still need to learn advanced coding.
And since this org exists I was hoping I could receive some help.
█████ Vector █████
█ ███████ █
patrickooo is offline   Reply With Quote
Old 4 Weeks Ago   #14
+Elite
I Am Truly Anarchic
 
Anarchy Belt
Join Date: Jun 2015
Posts: 728



we need more people in the discord.
Elite is offline   Reply With Quote
Old 3 Weeks Ago   #15
•Redundant
(o/
 
4th Dan Black Belt
Join Date: Mar 2011
Posts: 4,593
Clan: ishi



https://repl.it/Lbb2/5
“Ultimately any ego is an illusion, so we can be whoever we want” Isaac 2015
i
like
dongs

Last edited by Redundant; 3 Weeks Ago at 10:45 PM.. Reason: oops
Redundant is offline   Reply With Quote
Old 3 Weeks Ago   #16
lxor
LXOR,CODE NINJA
 
Blue Belt
Join Date: Aug 2011
Clan: [T]



hey man, good job trying to get people into programming. i just wanna try to clear some stuff up in your tutorial because you're misleading in places. i'm not an expert so there's likely to be some stuff that i miss too but hopefully this'll help you be a little clearer

to start off with, you're telling people to delete code and then replace it with exactly the same code - if your intent is that they type it out manually instead of copy/pasting you should probably make that explicitly clear

wrapping code in [center] tags is pretty ugly and negates alignment, which is important for readability - that's probably worth changing


using namespace std; is mandatory to use <iostream> cout, cin and a lot of other things are defined in it.

you don't need to - for example, this does the same thing:
Code:
#include <iostream>

int main()
{
    std::cout << "Hello, world!" << std::endl;
    return 0;
}
so things like the keywords int are located in the std "book"

keywords are a part of the language itself, not imported from a namespace. "int" will always be available even if you don't use std

I won't explain int main () very much until the next tutorial but int means integer.

this on its own isn't very useful information to someone who is new to programming - it's probably better to leave it out completely or give a quick overview of the concept of a function and a return value

cout << "hello world" << endl;
This whole line I am going to explain at once. Cout means it is being outputted to the screen. The << arrows are always represented after cout.
"hello world" is in quotes because it is what is going to be put on the screen.
Finally endl; means end line so your line doesn't fall into another part of the script. If you aren't getting it so far its ok there will be more explaining to these things in the next tut.

cout is the standard output stream. values passed into this will show up in standard output - in this case (but not always) the standard output will show up on your screen. the shift operator << roughly means "format the following value for output, then pass it into the stream".

"hello world" is in quotes because it's a string - it's data rather than instructions for the compiler in the way the rest of the code is. if you had no quotes, you wouldn't be able to compile your code - you'd get an error telling you that the computer doesn't know wtf a 'hello' is.

endl tells your output stream to move on to the next line - i'm not sure what you mean by "so your line doesn't fall into another part of the script" but that doesn't sound like what it actually does

return 0;
Main function has to return a value because it is declared as "int main" which means "main function should return integer data type"

you should maybe also mention that returning anything that is *not* 0 from main() means you're signalling an error, and since you're not really doing any processing it should stay 0 for now

if main is declared like "void main", then there's no need of return 0.

this is bad practice - for almost all work that almost all c/c++ programmers will do, int main is correct
lxor is offline   Reply With Quote
Old 3 Weeks Ago   #17
Lost
Senior Member
 
7th Dan Black Belt
Join Date: Aug 2016
Posts: 546



Redundant ACCEPTED

Last edited by Lost; 3 Weeks Ago at 06:02 AM..
Lost is offline   Reply With Quote
Old 3 Weeks Ago   #18
Moonshake
 
Master Belt
Join Date: Jul 2011
Posts: 2,375
Clan: NO



im an elite hackre cani join
>:)
Moonshake is offline   Reply With Quote
Old 3 Weeks Ago   #19
Lost
Senior Member
 
7th Dan Black Belt
Join Date: Aug 2016
Posts: 546



Ummm no lol
Make an app and maybe then you can join.

Last edited by Lost; 3 Weeks Ago at 06:04 AM.. Reason: <24 hour edit/bump
Lost is offline   Reply With Quote
Old 3 Weeks Ago   #20
Smaguris
Help Squad
 
10th Dan Black Belt
Join Date: Jan 2014
Posts: 1,486
Clan: Adventure



Member Application
Name: Smaguris
GMT/UTC: GMT 0
Reason For Joining: Hope that this can somehow help me learn something new or I can help someone else learn.
Personal Interests/Hobbies: Computing (duh), biking, car modifying
Age: 19
Experience:
Web: HTML, PHP, CSS, JavaScript
Other: C#, SQL
Learning: Java
Smaguris is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:41 PM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game