chandubaba
- 39
- 0
The discussion revolves around the creation and improvement of C++ programs shared on a personal website. Participants provide feedback on coding practices, environment specifications, and the potential impact of the website on learners.
Participants generally agree on the need for improvements in coding practices, but there is disagreement regarding the necessity of deleting the website. Some believe it has educational value, while others caution against the potential for spreading bad habits.
Limitations include the lack of clarity on the specific audience for the website and the varying levels of programming experience among potential users. There are also unresolved questions about the overall quality and correctness of the code presented.
Individuals interested in learning C++, those developing educational resources, and programmers seeking to improve their coding practices may find this discussion relevant.
...
int main () {
...
comp c1,c2,cs,cm,cd;
...
cs=add (c1,c2,cs);
...
}
comp add(comp c1,comp c2,comp cs)
{
cs.r=c1.r+c2.r;
cs.i=c1.i+c2.i;
return cs;
}
...
...
int main () {
...
comp c1,c2,cs,cm,cd;
...
cs=add (c1,c2);
...
}
comp add(comp c1,comp c2)
{
comp cs;
cs.r=c1.r+c2.r;
cs.i=c1.i+c2.i;
return cs;
}
...
chandubaba said:should I delete my website?