Skip to main content

All Questions

-2 votes
1 answer
10k views

C++ Candidate function not viable: no known conversion from 'int' to 'int *' for 1st argument; take the address of the argument with &

okay I literally have no idea what this error means. The * is for pointers right? I'm not using pointers so I don't understand what is happening? This is for my second programming class so I am quite ...
KSky's user avatar
  • 1
0 votes
1 answer
225 views

(C++) Getting the following compilation error: cannot convert 'DoubleNode<int>' to 'DoubleNode<int>*' in initialization

I am trying to compile a Doubly Linked List program and the following error occurs at the insert function. DoublyLinkedList.cpp:23:26: error: cannot convert 'DoubleNode<int>' to 'DoubleNode<...
chris_b's user avatar
0 votes
2 answers
2k views

Error: invalid initialization of reference of type

So I have classes Sensor, Car, and Agency where class Agency takes in class Car, and class Car takes in class Sensor. In my source file for class Agency I have an error for my operator[]`\ function ...
Phil's user avatar
  • 13
3 votes
2 answers
2k views

warning: passing argument 2 of ‘inet_aton’ from incompatible pointer type........ERROR

I don't know what this error means and what to do to fix it. I've been following the Sock)et Programming Tutorials In C For Beginners | Part 2 by Eduonix on Youtube but I haven't been able to run ...
somethingSomething's user avatar