MRT
hi
MRT
in cpp functions, Need to manage memory and delete declaration variables?
MRT
Or memory management is just class related ؟
Igor🇺🇦
Or memory management is just class related ؟
You manage memory when you allocate anything explicitly. It's unrelated to neither classes nor variables
Talula
Or memory management is just class related ؟
You don't need to delete the variables if you exit the function the variable is automatically deleted unless it's declared as static
Manish
Hi , when I am putting breakpoint in method and getting message like Program received signal SIGSEGV, Segmentation fault. 0x000055555591483b in absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, google::simple_lru_cache::SimpleLRUCacheElem<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, google::jwt_verify::Jwt>*>, google::simple_lru_cache::internal::SimpleLRUHash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, google::simple_lru_cache::SimpleLRUCacheElem<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, google::jwt_verify::Jwt>*> > >::find<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (this=0x8, key=..., hash=1945723736057889114) at external/com_google_absl/absl/container/internal/raw_hash_set.h:1373 1373 external/com_google_absl/absl/container/internal/raw_hash_set.h: No such file or directory. anyone can help what going in this? Thanks!
Al
segfault are usually related to dynamic memory allocation. So your program is missing something is memory. In this case looks to be a string a char *
Anonymous
hello , i want to make friends with guys who like programming on smartphone , because i fucking love do this:)
Anonymous
😘
Al
?
Anonymous
?
are you? :)
Al
no bro im straight sorry
Anonymous
no bro im straight sorry
no , I'm not talk about that way, stupid
Al
you look OT btw
Anonymous
you look OT btw
what's OT? it's ok if we can't be friends stupid
Al
off topic ... read the pinned message , and stop insulting. Admins dont agree with that behaviour
Anonymous
sorry...
Al
we are all here because we are interested in programming, we do questions about programming, and someone else answers. Its not a group about liking or not programming.
Anonymous
actually, i specially prefer do it on my Android phone :)
Anonymous
what? you foreigners are not interested ?
Garrincha
/notes
Anonymous
/info
Anonymous
#best-book
Anonymous
#gcc9
Naveen
Can anyone please tell me is it important to learn flowchart in c programming
Dima
please no
Alexandr
HI! Do you know any channel of finding job for C++ developers?
Alexandr
Thank you!
Anonymous
Is secure to download the minGW from sourceforge?
Anonymous
I can't find i another place or site.
Anonymous
Yah sure
Okay, thank you very much!
Al
/info
Anonymous
Hi everyone! What resources would you recommend to learn about unit testing in c programming?
✨️
/notes
Vilan
/findprojects
ʙᴀнᴀᴘᴀм
#cs50
Roger
Hello
klimi
Hello
yes?
Anonymous
/findprojects
/findprojects
Anonymous
/findprojects
Diego
thank
That's only on local variables though If you declare anything with new you'll have to delete them later The destructor is also called automatically for things called with delete if you allocated anything with new inside the class, delete that too in the destructor Other than that you'll do fine
Anonymous
/findprojects
Anonymous
/get findprojects
Anonymous
/notes
Vedant
/get india
Anonymous
cc: Vilan, Kkkbio, FlipSide etc. If you need something to do implement this game, give it a random-move AI. https://www.whatdowedoallday.com/pong-hau-ki/ You may need to be creative with how to do the UI, even if text-based... ASCII art is possible but wouldn't be simple grid, but still somewhat easy.
Prince Of Persia
/get iran
Prince Of Persia
☹️
Anonymous
☹️
Iranian groups usually speak Persian, there are some on Telegram but a language barrier. https://laptrinhx.com/curated-list-of-persian-groups-and-channels-for-iranian-developers-in-telegram-1678923483/ If you would like an Iran-themed project try converting calendar dates. http://www.bsswebsite.me.uk/Daysanddates/persian-date.html Don't worry too much about getting the time of day of the Spring Equinox, just assume 12:00 noon on March 20th, if that helps.
Eddie
/get imhacker
Eddie
/cpp
Eddie
/get cpp
Prince Of Persia
яσнιт
Hello I want to learn c language from where should I start please explain me
Diego
/get cbook
Diego
Check that out
Roger
yes?
I need help with something...unfortunately I can’t send images here, my pc doesn’t want to run codes
Iván
Hi, everyone someone can suggest me a book related with pointers?
Iván
In c
Xudoyberdi
In c
PM me, I have a book called "learn C the hard way". You will find pointers section yourself.
Wojak
Hello I want to learn c language from where should I start please explain me
Depends on how you are more comfortable in understanding the fundamentals. If you like to go for books, my favorite is "C in a nutshell" out of all the other. It develops concepts in a better way and is in simple english format but this is solely in my opinion, you can check more if you want on google. If you are looking for youtube course and want to learn for free then "C programming playlist by Neso Academy " is good for an absolute beginner in my opinion. I would recommend to go for this option if you don't want to spend money on books as pirated books imo is not a good option as the degraded quality would let your morale down in the process of learning. Few like to study using documentation, if you fall under that then documentation can be accessed from The official C++, C++ standard, ISO/IEC 14882:2014(E). There is information at ISOCPP how to obtain the document If you are looking for paid bootcamps then any good rating course on any common bootcamp site is fine but check upon the ratings. Knowing and mastering a language is entirely different. As you're a beginner i would suggest you to not confuse between them. COMPLETING A COURSE BOOTCAMP or COMPLETELY READING A BOOK is not mastering but is only developing fundamentals so it doesn't matter from where you start, to master it, there's simply one way, practice. And irrespective of your goal, it's the only wat out. So if you are seriously dedicated and continously practising, very soon we would see you helping beginners here. And it's not a race but a marathon. It doesn't matter how long it takes, if it's good enough to be called as a skill, it will be worth it. And also programming is no hereditary skill, anybody who impersonates an expert is just somebody who practiced more, engaged more into the language and constantly kept learning so anybody can code and be the expert with the will and motivation to do it.
Iván
Thanks
Xudoyberdi
Thanks
No problem.