Anonymous
https://pastebin.com/wiWz3ZNb can anyone identify the error
When you call insertatlast, you assume that tail is valid. But your tail is null and then you dereference tail. This is because when you set head in main, you forgot to set tail
Diana
Great job Rose. We appreciate your effort 💪
Wassim
https://pastebin.com/wiWz3ZNb can anyone identify the error
You have to declare parameters of function this way (node *tail) not (node *&tail) And as Madhu mentioned, declare tail as the same of head at first Node *tail = head
Anonymous
You have to declare parameters of function this way (node *tail) not (node *&tail) And as Madhu mentioned, declare tail as the same of head at first Node *tail = head
It has to be node*& head and node*& tail because he is changing not only the pointed to objects but the pointers themselves.
Uk
I need some me one to learn a frame work implement on C++ , I’m trying to use it for some customisation, can take it as freelance task, any one interested dm me
Anonymous
C programming
Anonymous
Anyone help me please 🙏
B;
With What
Maxim
Anyone help me please 🙏
https://nometa.xyz/
Dwaceddi
🌻`If you have any C++ material for a beginner, please kindly share
Anonymous
Or refer to the resources of this gc https://t.me/cpp20programming
Dwaceddi
🌻`Thanks
Jhinga_Man
I am beginner in C language so pls suggest for learning c from basic to advanced 😢
You can study from geeksforgeeks.... They have quality content.... Moreover they also have examples to practice
Uk
Anyone help me please 🙏
Where do you need help?
Jalal
Hi, how can i use CStringA here: CStringA myString("Hello") strTest.Format("%s", myString) or strTest.Format("%s", (LPCTSTR)myString) or any other way?
Anonymous
return
Aarya Parshatwar
Can anyone tell why error is showing in this code: char signal; cout<<"enter signal name:"<<endl; cin >>signal; If(signal=="red") { cout<<"don't go! Plz stop!"<<endl; } cout<<"once the signal is green then you can go:)"; getch(); }
Uk
What’s error?
Aarya Parshatwar
Cannot convert 'char' to 'char *'
Uk
Problem with comparison
Uk
?
imminent
you're trying to cin on a single char, it want's an char array
Uk
Put char signal[25]
imminent
use std:string for example
Uk
It’s c code, not c++ I guess
Danya🔥
Please use ChatGPT
Or ask questions properly
Chat Boss
Danya🔥 sent a huge message, it has been re-uploaded as a file The error is occurring because you are trying to compare a single character (char) to a string (..
Uk
Can’t hear such bad words
klimi
Fuck
you
Danya🔥
you
I wish
Uk
Am I on the same page
Uk
Need a c++ programmer for a support
Uk
Understanding a framework
Uk
Can you dm me?
klimi
Can you dm me?
I can (my account is not limited), but I don't see a point in doing so
Uk
Ok
HM
Is there any Good Site avaible with exercises, which Teaches the Aspects of object oriented Proframming in C ++
ryan
what do u mean?
ryan
I’m trying to get my dad a birthday present and I don’t know if it’s a good price
Manav
ryan
can you give me a group recommendation?
Manav
Go through all the rules and the links mentioned in this post. Contravening the rules laid out here will result in a warning (least likely) or a ban (most likely). This group is meant only for C/C++ discussion. For chitchat of any other kind, go to the Offtopic chat, where anything unrelated to C/C++ programming can be discussed subject to the rules laid out for that group. For information on learning C/C++, see our list of resources at @Resources RULES: 1. Only English language is allowed. If you don't speak English, then this group is not for you. Please look elsewhere. 2. This group is meant to be used for C/C++ discussions alone. Assembly language discussions are allowed as well. The moderators' intention is to keep this group clean and to stick to the purpose the group was created for. Hence, questions or discussions about anything else is strictly forbidden. This further means that: • You should not send useless messages like "Hi"/"Hello", "I'm new here" and similar. • You should not send useless messages like "Does anyone know XYZ?", "Has anyone used XYZ?". Just ask your question directly. • You should not ask questions without checking your problem in Google or any other search engine. Doing so will result in a warning. Following this, check the Resources section of this group to see if your question has an answer there. • You should not ask exams/homework/interviews solutions. This will get you banned. Asking for something that is there in the pinned message right after joining will get you banned. 3. NSFW content (porn, nudity etc) is not allowed. 4. Religion, politics and ideological topics are forbidden. 5. A little bit of programming related jokes and memes are allowed subject to admin group's discretion. 6. Advertisements of any kind are forbidden. Job postings will not be allowed either. If you are unsure about whether something could be construed as an advertisement, please check with one of the admins before posting the message. Not doing so will result in a ban. 7. Code sharing is encouraged subject to the following rules: • Try to use markdown formatting. • For many lines (10+) of code, use a pasting service like Gist, Pastebin, Ubuntu Paste, Hastebin. Don't post walls of code in the chat window. Firstly, it inconveniences others and secondly, you are unlikely to get a response and may even get warned or banned. • Don't attach photos or videos of your screen. Screenshot captures are ok. 8. No illegal activity. This also means no piracy, no requesting/offering hacking/no posting of compiled executables. This will result in an immediate ban. 9. Respect people's privacy. Don't send private messages to people in this group without taking their permission to do so. Not following this rule will result in an immediate ban. 10. Avoid usernames that affects chat readability. The group bot Rose offers a lot of readymade responses that can be used when replying to someone. The most commonly used ones are: • #paste - Display a list of sites where code can be shared. • #markdown - Learn how to use markdown formatting. • #res - Post the link to the C/C++ resource collection. • #meta - Tell someone to get to the point! • #howtoask - Tell someone how they should ask a question. • #ot - Tell someone that their question is off-topic and hence must be moved to the OT group.
R W read this 👆, the link to ot is here.
Paulo
Hi, everyone I saw an example where it uses iosfwd, it is a forward declaration, and what I understand forward declarations are declarations that allow you to compile code without knowing the body/definition of something, so using os iosfwd is only to build libraries/classes that is not executable? Is that right?
Anonymous
Hi, everyone I saw an example where it uses iosfwd, it is a forward declaration, and what I understand forward declarations are declarations that allow you to compile code without knowing the body/definition of something, so using os iosfwd is only to build libraries/classes that is not executable? Is that right?
Well forward declarations assist with fast compilation of individual translation units. But the compiled definitions will still be needed during linking. <iosfwd> contains declarations for IO related stuff. They are part of standard C++ library. So the linker will typically link this with your executable.
shrinivas
C++ material
Light
https://github.com/Ehtical-Hacker-Krishanu01/CPP-SHORT-PROJECTS/tree/master/ComplexCalculator Ok, so this is my complex calculator program, my first project, as a beginner obv, i want you to check if this program can be improved in terms of space complexity and please also tell me how to find exponent of two complex number
Light
Please dont mind my very weird git hub, it was also my first git practice
klimi
C++ material
pinned message
ItzzJuliann
If anyone understands programming android bootloaders (lk2nd) I need code for booting from emmc in aboot.c: can anyone make this for the snapdragon 808 soc/msm8994/msm8992 target both will work the phone is a lumia 950 I will appreciate it.
ItzzJuliann
how is this related to the group?
I'm asking for help with coding..?
klimi
I'm asking for help with coding..?
and so... what's your code? where is your problem?
ItzzJuliann
and so... what's your code? where is your problem?
I need someone to configure the code for msm8992 target
Chat Boss
and so... what's your code? where is your problem?
ItzzJuliann sent a code, it has been re-uploaded as a file
Rejwana
Can anyone help me,how to build logic.maybe, I know concept,but when I see any question, I can't find any logic,how to solve, i am too much frustated. 🥲 what can i do?
Manav
Can anyone help me,how to build logic.maybe, I know concept,but when I see any question, I can't find any logic,how to solve, i am too much frustated. 🥲 what can i do?
We have no idea what's actually stopping you from problem solving so the only answer I can give you is to stop and think about the problem before you jump into coding.
Manav
I assume you directly jump into writing the solution without even analyzing the problem. When you can't solve a problem it's one of the three things. 1. You don't understand the problem. 2. You understand the problem but you lack the prerequisite knowledge that is needed to solve the problem. 3. You are not human or lack the capacity for independent thought.
Manav
Can anyone help me,how to build logic.maybe, I know concept,but when I see any question, I can't find any logic,how to solve, i am too much frustated. 🥲 what can i do?
Out of the three I mentioned above I'll assume you lack prerequisite knowledge so learn discrete mathematics. It's what people usually ignore when they start learning to code.
Rejwana
I just think,maybe coding is not for me. But,I am study in cse 🥲
Kanhhaaaaaaaa
Addition program
Danya🔥
Addition program
This is not google
Kanhhaaaaaaaa
Wht
B;
Addition program
What addition program?
Kanhhaaaaaaaa
That's program in C
Kanhhaaaaaaaa
Where from B
Kanhhaaaaaaaa
??
B;
That's program in C
Make three int variables x, y and sum. Take value From the user and use the + function to add them and store them in sum .
B;
Print sum