Arun
What are the things to study for Job switch to CPP?
Pavel
What are the things to study for Job switch to CPP?
For a junior position, assuming you know basics of programming on any other language. If you don't, start with basics. Objects and lifetime (constructors/destructors/object copying/inheritance) Memory management (smart pointers, new/delete, stack/heap). Standart containers (vector/map/unordered_map/list) how they work and when to use. Using debugger. I think this should be good for starters.
Pavel
Yep ! I know C language. If I start with C++ Primer book, Is it helpful ?
I don't know this book, but tried searching in this group and see that people recommend it.
spartak
Hi guys, what IDE for c++ can you recommend
Hanz
Code::Blocks
Ksj⁷
dev c++
Ksj⁷
please explain to me what is CPU pipelining
Ksj⁷
how does it works, i have to report that next week but i don't know how to explain it😅
Anonymous
Anonymous
vscode as well
It's not an ide
Anonymous
Code::Blocks
It's a bad one
Anonymous
dev c++
It's the shitty one
Palinuro
It's not an ide
i think we are no longer in the 90s. today advanced editors and modern ides are making such differences pretty obsolete
Dima
there’s a huge difference between ide and a text editor
Palinuro
and the difference is huge as well between an advanced editor and a text editor
Palinuro
choosing between an advanced editor and an ide is more like preferring an ide specific of one technology or language over a general purpose ide that can be used with any programming language and can be customized via plugins
Palinuro
such labels make no sense anymore. full stop
Hariyana Grande
Pavel
What does "passed to a function argument" mean? And why only one possible answer?
Palinuro
what if they were all true? lol
.
I think, idk
Hariyana Grande
what if they were all true? lol
maybe, but actual answer is "returned by a function"
Hariyana Grande
according to the site
Swatej Goud
maybe, but actual answer is "returned by a function"
In a site which I have gone through, the answer was "changed within the function" even am not sure
Anonymous
i dont know i copied this from a site.
Don't copy stupid questions from websites made by people that know nothing
Pavel
maybe, but actual answer is "returned by a function"
Either some important information is missing or you better close this site and find something better
Hariyana Grande
Don't copy stupid questions from websites made by people that know nothing
can you suggest some trusted site for multiple choice questions on C, specially theoretical? im preparing for an exam.
Anonymous
also what is the right answer here?
The right answer: the question is stupid
Hariyana Grande
😂
Hariyana Grande
Ehsan
yes exactly
sad 😢😢😢😢
Hariyana Grande
imagine if someone gave correct answer and felt proud lol
Ehsan
lol wut
Anonymous
/get cbook
Anonymous
/warn
Joselu
Guys one question, if i have a header.h included in my project and visual studio isn't including it which would be the issue?
Anonymous
/ban @boris_elzen massive pming
B park
Okk
z
/report
Hirrolot
https://dev.to/hirrolot/expression-oriented-programming-in-c-the-fmt-macro-43jo
Hermann
Is possible tourn light on brackets on geany ???
Ausir
Hi guys, can someone explain me what this: int (*var)[SIZE] mean? I can't figure it out 🤷🏼‍♂️
Ausir
It is a pointer to array of SIZE integers.
But GCC in an error said var is an int (**)[SIZE] why gcc thinks that's a double pointer?
Ausir
It is a pointer to array of SIZE integers.
I made this: int (*var)[SIZE] = shmat( ... ); int *point[SIZE]; point = &var; Gcc: Warning because point is int(*)[SIZE] and var is int (**)[SIZE] What does it mean?
Ammar
What are you going to do?
Ausir
So how can assign var address to point?
Ammar
So how can assign var address to point?
Because var is a pointer to array of integers, then taking its address will yield a pointer to pointer to array of integers. So int (*var)[5]; int (**point)[5]; point = &var;
Hanz
Javascript
𝐄𝐲𝐚𝐝
https://pastebin.com/bzgksaJM Hi, I'm kinda new in programming in general but I love it so much :) This is a C++ code that generates a tree with a size that user specifies, I know that this is a common thing but I did it completely myself, I want to hear your opinions about this code (Longer than it should be , Ugly , etc ...)
Suka
So how can assign var address to point?
perhabs point=var? without & cmiiw
Hirrolot
https://www.reddit.com/r/ProgrammingLanguages/comments/nc1o18/comparing_algebraic_data_types_rust_and_datatype99/
Anonymous
wew embarcadero took over Dev C++ development https://github.com/Embarcadero/Dev-Cpp
Lenin
/get best-book
Andrew
hi, is this undefined in C? i++ * i++
Hirrolot
hi, is this undefined in C? i++ * i++
Does it really matter unless you're writing a compiler? You won't write such code anyway
Lenin
/get cbook
Anonymous
Lenin
yes
Lenin
i know basic c syntax
Anonymous
yes
C Programming : A Modern Approach An excellent book for Beginners. Pointers on C Another excellent C programming book that is very helpful for everyone who wants to learn C pointers. C Programming Language (K&R) A classic book written by Dennis Ritchie and Brian Kernighan. C in a Nutshell A great book for Modern C. you can also check modern C book that is written by jens Gustedt.
Lenin
thanks
Anonymous