Book Information

558fe5180e0e8fc922d31c23ef84d240

#include<conio.h>
#include<iostream>
struct book

int bookid;
char title;
float price;
display(book);
book input();
;

int main()

book b1;
b1=input();
display(b1);

display(book b)

std::cout<<"\n"<<b.bookid<<" "<<b.title<<" "<<b.price;

book input(book b)

book b;
std::cout<<"Enter Bookid,Title,Price :";
std::cin>>b.bookid>>b.title>>b.price;
return(b);

error: 1st : error: 'input' was not declared in this scope
2nd : error: 'display' was not declared in this scope
3rd : error: declaration of 'book b' shadows a parameter

How to retrieve a device name from IP or MAC on LAN

558fe5180e0e8fc922d31c23ef84d240

In Visual Studio 2015, VB, in Windows 10, I have a small program where I use the arp -a command
to pick up the mac and I/P addresses of connected devices on my lan. From everything I've read (and tried), the answer
somehow comes back to DNS.getHostEntry which throws a No Such Host when fed a cell's I/P and
I understand that, a cell phone is not a host. Does anyone know of the appropriate DNS or other type
command that, fed an I/P or MAC will return the device's name?

Thank you.