Похожие чаты

1st, cur->count++; cur is not defined within the scope of the

function

2nd,
int countNode(node *head, char value)
countNode()
countNode is not called correctly, you need to pass the parameters to the function
and as a fix you need to return a referance to the node that repeats in the linked list so you will need to pass a new node by referance
int countNode(node *head, char value, node *nodePtrIfFount)
so that nodePtrIfFount will be your cur node.

3rd,
class Set
{
private:
node *head, *tail;
public:
void myList()
{
head = NULL;
tail = NULL;
}
}
where is the constructor and what is this function?

4th,
node *temp = new node;
temp = head;
this could be put like
node *temp = head;

1 ответов

7 просмотров

that's hell of a help, i'll rewrite this shit tomorrow ❤️

Похожие вопросы

Обсуждают сегодня

А чем вам питонисты не угодили?😂
.
79
or any website to buy prepaid card with xmr that's not trocador that's down?
Umbrella Party Partner
18
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
Hi, I can't understand promises in JavaScript and what we should use them for (maybe the teacher didn't teach well XD). Do you have a solution for this? And are promises used...
A
29
Ещё такой вопрос. Мне необходимо хранить пароль пользователя локально. Для этого планирую использовать ini файл. Это для автозаполнения полей логин и пароль при авторизации. Е...
Евгений
19
всем доброго времени суток! имею вопрос: как понять ТОЧНО, что на нексус производится атака или он перегружен? исходные данные: - Nexus OSS 3.67.1-01 на OrientDB - Total co...
Michael Kostelcev
3
Ты просто гитлеровскую эстетику плохо понимаешь. Он же всё под Цезаря делал. А это как бы запрещённый приём в политике. Пиджаки они зачем все носят? Чтобы показать что они тип...
Ivan Kropotkin
4
Xem delist ho rha hai agr naa bhechu toh kya hoga after 1 july?
ABHI
27
i need usdt exchanged to xmr without kyc any site there ?
Certained
12
Did you guys see the latest tweet from TonGifts? 🚀
Mike
44
Карта сайта