Lyper
Pls am new here and I wanna ask some questions about website designing
Jose
Pls am new here and I wanna ask some questions about website designing
This group is about C and C++ programming, not about website designing
Jose
that's also what I thought, I found it too fussy and nearly unreadable for me
Is nearly unreadable for most of us... even Herb Sutter says about it in the first presentation of Cfront 2
Lyper
Pls am new to programming and using Qbasic
Lyper
So when I become pro ,should I use java or c++
The
Haskell
KRYZ
So when I become pro ,should I use java or c++
with time you will make ur choice. keep pushing
Lyper
It seems that programming is harder than html
KRYZ
nothing is easy, your determination will determine the end
John
Is nearly unreadable for most of us... even Herb Sutter says about it in the first presentation of Cfront 2
There's just too many "template", "typedef", and seems that the "could-be-essential" parts are always enclosed by "#ifdef this #else that"
Jose
There's just too many "template", "typedef", and seems that the "could-be-essential" parts are always enclosed by "#ifdef this #else that"
That's not meant to be read, that code was crafted to abuse the preprocessor (the ifdef) and metaprogramming stages at all
John
That's not meant to be read, that code was crafted to abuse the preprocessor (the ifdef) and metaprogramming stages at all
I thought the stl source code could be useful for studying c++ traits, maybe I should learn traits some other way...
VD
That's not meant to be read, that code was crafted to abuse the preprocessor (the ifdef) and metaprogramming stages at all
Microsoft's STL implementation is much more easier to follow than GCC and Clang. https://github.com/microsoft/STL/tree/main/stl
VD
Microsoft's STL implementation is much more easier to follow than GCC and Clang. https://github.com/microsoft/STL/tree/main/stl
@unterumarmung I wasn't kidding. It is better. It is maintained by Lavavej who is said to be a strict task master. They were able to support modules much more easily because of the better organized code.
Gege
I just finished freecodecamp's 4 hour c++ course. How do I improve?
Rose
I just finished freecodecamp's 4 hour c++ course. How do I improve?
Please check out this channel - @Resources for information on learning sources for C and C++ (books and videos) and Frequently Asked Questions.
Y
@Hackchefs Are you a hacker?
Y
I want to learn about hacking.
Ludovic 'Archivist'
I want to learn about hacking.
Then start with this, find a way to make a file that is a Linux ELF executable, a valid pdf, and a zip archive, and make the pdf explain why it is possible. Send it to me then and I will teach you for free
Y
I'm interested in game hacking
Y
You don't need to teach me. Thank you.
Bamsi
I want to learn c. Anyone teach me
Mr
I want to learn c. Anyone teach me
You can check @cpp20programming channel
İlke
hi. anyone here looking for a contributor to a project? i am newbie on C and want to collaborate with someone.
İlke
What project are you working on?
now, none of them. a few years ago, i made a few games on c# but now with C i have no experience
𝔖𝔞𝔯𝔬
I want to learn c. Anyone teach me
For twenty dollars I’ll give you a solid base you could be proud of
wu
hello
wu
im reading
AlanCcE
now, none of them. a few years ago, i made a few games on c# but now with C i have no experience
So, you are looking for a contributor to a project of yours, or a project to contribute?
İlke
So, you are looking for a contributor to a project of yours, or a project to contribute?
a project to contribute. let me edit the previous message, i see i couldnt tell correctly.
AlanCcE
a project to contribute. let me edit the previous message, i see i couldnt tell correctly.
Would be nicier if you could tell which types of projects you want to contribute, C projects tend to vary a lot
İlke
Would be nicier if you could tell which types of projects you want to contribute, C projects tend to vary a lot
yes, right but i have no priorities on type or projects. but for example i've just learned how Arduino works and i pretty interested with it. But it doesnt mean i am looking for IoT projects only.
İlke
Juan
Is the & of the pre-increment operator used barely to distinguish it from a postfix increment? Or does it mean a reference or something else?
Juan
can you provide example of such &?
https://godbolt.org/z/a1WePzhds
klimi
https://godbolt.org/z/a1WePzhds
which line? can't see it
Juan
that will be line 12, where is the definition of a prefix increment operator
Juan
it just bugs me
klimi
that will be line 12, where is the definition of a prefix increment operator
oh right, that means that you are returning a reference
Juan
hmmm but with postfix one you will still able to change value(line 56 and 58)
AlanCcE
do you have a personal projects or you being busy with something nowadays?
I'm working in a terminal calculator but I also have some other more complicated projects, we can discuss this in private if you are interested (All they are personal projects and OSS)
Juan
what i was trying to say, is, even without &, the value being passed still can change, unlike a copy one
Juan
so i doubted it was another thing to differentiate prefix and postfix...
Juan
https://stackoverflow.com/questions/7740350/overloading-postfix-and-prefix-operators i found the answer
Juan
also thanks 😊
John
I am not sure if this is the conclusion here. When you overload ++ as a prefix, you use "your_class& operator++()" as signature, as a postfix, you do it like "your_class operator++(type_to_be_incremented)"
Learning
guy is looking for an implementation similar to int++ and ++int
Learning
yes?
Juan
Actually the compiler doesn't care if you use an ampersand or not , is the dummy integer that matters
Juan
And no specification have emphasized the use of that amperesand
Juan
That's what I figured out
Juan
Cuz it actually returns a type🤔
Learning
Because it didn't copy the original value before doing increment.
John
rumors were that(just a rumor I heard about), in common practices, "prefix ++" returns a reference value while "postfix ++" returns a copied object
Learning
non-optimized ones
John
Assembly code would tell.
I think I should try to look into assembly codes, never thought of this previously
Ludovic 'Archivist'
and by may, i mean they will almost always happen with integer arithmetic and pointer arithmetic
John
and by may, i mean they will almost always happen with integer arithmetic and pointer arithmetic
That's really something worthy of looking into, I never thought of anything like this(I am just a beginner)
John
I would like to figure it out, even if it might take a lot of time
Love
Hlo
Luoay
Who can help me? I couldn't do my college homework
Love
Can someone tell me how to earn money easily
Luoay
You need to create a structure called Employee with the following properties: 1 – Name 2- Age 3- Salary 4- Status Final Assignment Menu : Enter n number of employees details (name ,age ,salary, status(if age>=60 , status=retired… if age<60 status=working)) Calculate salary after tax (if retired tax=5%, if working tax=8%) Salary after deduction (let user enter employee name and amount of deduction) Annual salary (user enter a name) Print retired employees details Print working employees details Print employees all details (name ,age ,salary ,salary after tax, status) To exit the program Notes: Create a function for each option Make your program user friendly. Use comments when needed. The Printing should be well organised. You must use methods and arrays. in c program in simple way
Rose
Can someone tell me how to earn money easily
User Kunal has 1/2 warnings; be careful! Reason: offtop