Undefined reference to constructor

The error is generated by the linker because it can not see where the definition of the constructor is located. If you are using an IDE, you should add both .cpp files to the project so that they can be compiled together and the definition would be found by the linker. It not, then you … Read more

Going through a text file line by line in C

So many problems in so few lines. I probably forget some: argv[0] is the program name, not the first argument; if you want to read in a variable, you have to allocate its memory one never loops on feof, one loops on an IO function until it fails, feof then serves to determinate the reason … Read more

Session timeout in ASP.NET

I am running an ASP.NET 2.0 application in IIS 6.0. I want session timeout to be 60 minutes rather than the default 20 minutes. I have done the following Set <sessionState timeout=”60″></sessionState> in web.config. Set session timeout to 60 minutes in IIS manager/Web site properties/ASP.NET configuration settings. Set idle timeout to 60 minutes in application pool properties/performance. I … Read more