int a = 5; a = a++ + ++a; a = ?
int a = 5; a = a++ + ++a; a = ?
Does anybody know the result? Right, it depends on the compiler…
Greetz Mavi
int a = 5; a = a++ + ++a; a = ?
Does anybody know the result? Right, it depends on the compiler…
Greetz Mavi
How to move the pagefile.sys from c:\ to an other destination?
I found one more solution for a to small C:\ partition. It’s possibe to move the pagefile.sys for logical adressing to an other drive.
For folks who using an english version of Win7 please just change in the registry ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management’ the key ‘PagingFiles’.
For german version:
German version users can edit the registry as well of course, but it’s maybe not as clear how to do that.
Greez Mavi
How to delete the hiberfil.sys or disable the hibernate mode?
If you have trouble with a to small C:\ partition you can simply disable the hibernate mode and the hiberfil.sys will be deleted. The hiberfile is always as big as your memory in my case it is approximately 8GB.
The hiberfil.sys will be deleted immediately.
Mavi
What’s important for the Windows 7 installation
It’s important to prepare the hard drive before you install Win7. You should resize the first partition (normally C:\) to at least 50GB. The pure Win7 has a size of approximately 15GB. Additional you have to calculate same space for frameworks, drivers and system software even though you normally don’t install that at the C:\ drive Windows does it automatic.
Further more you should think about some space for the hibernate file, whose size depends on your system memory (8GB with me). Some folks coming up with the idea to move the hiberfile.sys to an other drive, but that’s impossible because the file system driver is in it. In the early state of the booting phase you don’t have access to any system services so links don’t work either. [http://technet.microsoft.com/en-us/magazine/2007.11.windowsconfidential.aspx]
It’s just possible to move the pagefile.sys to another drive. See How to move the pagefile.sys?.
I found out today during install process of Visual Studio 2010 Ultimate that there is not a lot of space available, but then it’s to late. It’s a lot of effort to change the partitions later my hard drive crashed once with it!
Greetz Mavi