Friday, June 21, 2024

SSRS - How to get first and last day in month

These are useful functions, for example for parameter filling:

First and last day of this month:
First and last day of last month:
First and last day of next month:

Monday, June 17, 2024

c - How to solve error UNRESOLVED EXTERNAL SYMBOL for static class field

class OverloadedOperator {
	string name;
	float price;
	static int n;
The problem could be in missing static field initialization in .cpp file. Should be:

#include "OverloadedOperator.h"

int OverloadedOperator::n = 0;