It still depends on the mothers milk for nutrition. If it ni longer has the mother you should buy puppy formula to feed it.
If your pup is 2 weeks old it should be with the mom till its 6 weeks it is whining because it is suppose to eat all day long when they are this toung it is hungry