+ 1

What is the difference between (Pascal Case) and (Camel Case) in c++? [SOLVED]

What is the difference between (Pascal Case) and (Camel Case) in c++?

15th Apr 2020, 7:41 PM
Ali Muhammed
8 ответов
+ 4
Pascal case would be: string s = "HiMyNameIsCeePlusPlus"; The first letter is capitalized Camel case would be: string s = "hiMyNameIsCeePlusPlus"; The first letter is NOT capitalized It's the same with all different programming language.
15th Apr 2020, 8:18 PM
CeePlusPlus
CeePlusPlus - avatar
+ 2
BiBo _Playz if I am correct, that is the only difference
16th Apr 2020, 1:19 AM
CeePlusPlus
CeePlusPlus - avatar
+ 2
Thanks for the answers, CeePlusPlus!
16th Apr 2020, 1:20 AM
Ali Muhammed
+ 2
BiBo _Playz you’re welcome :)
16th Apr 2020, 1:21 AM
CeePlusPlus
CeePlusPlus - avatar
+ 1
So Pascal case is a subset of Camel case so to say. Thx, Martin Taylor, didn't know that!
15th Apr 2020, 10:23 PM
HonFu
HonFu - avatar
+ 1
CeePlusPlus is there any difference except that camel case start with a lower case letter and pascal case start with upper case letter? or is it just a name that doesnt affect the variable?
16th Apr 2020, 1:16 AM
Ali Muhammed