User profile: Caligulaminus

User info
User name:Caligulaminus
Location:52°31'15.00"N, 13°24'33.00"O
History
Joined:
Number of posts:171
Latest posts:

Returning number of characters without using strlen
[code] int StringLength(char []); int StringLength(char x); [/code] Notice anything different abou...

Making Functions
[quote]does this fix that issue? [/quote] No. You need to indent your code. Now it is readable and ...

++ + ++
[quote=hooshdar3]But what is the logic? [/quote] No logic. It's undefined.

int[5,5,5,5]
[quote]It translated without an error. [/quote] And [tt]int[5,5,5,5][/tt] translates to [tt]int[5][/...

Cout << doesn't work within loop
It's [code]for (int i=0; i<=3; i++) [/code] not [code]for (int i=0; i++; i<=3) [/code]