[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 54

 
Zhunko:
A laptop, perhaps? It's reserved for a video card.
No, Vadim, a desktop! It's a 512mb GForce 9600.
 
moskitman:

Guys, can anyone know why my mother ASUS P5B under the Seven out of 4 gig RAM (2 on 2GB DDR3) sees only three?

It says 4 installed, 2.94 available...


Previously, to DDR 1 must prescribe in the bios timings, at the expense of these operativok I do not know but most likely the same!
 
Kondratiev_A_A:

Earlier on DDR 1 must prescribe in the bios timings, at the expense of these operativki I do not know but most likely the same!

Yeah, thanks, I'll reboot and be sure to check the timings in the BIOS.

Is the 7 series sure to be able to see 4gb?

 
moskitman:

Yeah, thanks, I'll reboot and be sure to check the timings in the BIOS.

Is the 7 series sure to be able to see 4gb?


Sure, if XP can do it, so can Seventh.
 
moskitman:

Yeah, thanks, I'll reboot and be sure to check the timings in the BIOS.

Is the 7 series sure to be able to see 4gb?


I have Home Premium.
 
You first need to find out what the timings of the RAMs are, e.g. with Everest
 
moskitman:

Guys, can anyone know why my mother ASUS P5B under the Seven out of 4 gig RAM (2 on 2GB DDR3) sees only three?

Writes 4 installed, 2.94 available...

Everything that was written here earlier on this topic is irrelevant to the problem

you are using 32 bit OS, such OS (even XP, Vista or 7) can "see" and use not more than 3 GB of operative memory

there is a variant of registering in boot.ini in line for your operating system parameter PAE (for XP) or set it via manager bcdedit.exe (for Vista and Win7) then in properties of computer you will see full amount of installed memory, but it will not mean that applications will fully use it (some server applications like MS Exchange can do this on server versions of 32-bit operating systems)

For an operating system to really use more than 4 GB of memory, you need to have a 64 bit version installed (any version - XP, Vista, Win7)

 
smshev:

Thank you.


 
moskitman:

Guys, can anyone know why my mother ASUS P5B under the Seven out of 4 gig RAM (2 on 2GB DDR3) sees only three?

It says 4 installed, 2.94 available...

my mother should definitely see 4GB http://www.rusdoc.ru/articles/13229/

System memory:

- Four 240-pin slots for DDR2 SDRAM DIMM;
- Maximum memory capacity 8GB ;
- Supports DDR2 533/667/800 memory types;
- Dual-channel memory access possible;

I suspect it's the 32 bit version of Win7 ?, try googling LiveCD to check RAM - you'll find out exactly what's wrong.

SZS: I recommend making a bootable flash drive, it would not be difficult to drop LiveCD images on it, it saves a lot of time.

 

I have already contacted the forum about writing and reading arrays to a file, and now I have run into a problem again: having written an array to a file, I cannot then find the array element by value, so here is the script:

//+------------------------------------------------------------------+
//| ReadWriteTest.mq4 |
//| Copyright 2012, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2012, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"

//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{
//----
string x[5][2];

x[0][0]="A";
x[0][1]="B";
x[1][0]="C";
x[1][1]="D";
x[2][0]="I";
x[2][1]="H";
x[3][0]="H";
x[3][1]="J";
x[4][0]="K";
x[4][1]="xyz";

int h=FileOpen ("test.bin",FILE_BIN|FILE_WRITE);
FileWriteString(h,ArraySize(x),CHAR_VALUE);
FileWriteArray(h,x,0,ArraySize(x));
FileClose(h);

string y[][2];

h=FileOpen("test.bin",FILE_BIN|FILE_READ);
ArrayResize (y, 100);
int d = FileReadArray (h,y,0,100);
ArrayResize (y, d);
FileClose(h);


Alert("===========");
Alert(y[0][0]);
Alert(y[0][1]);
Alert(y[1][0]);
Alert(y[1][1]);
Alert(y[2][0]);
Alert(y[2][1]);
Alert(y[3][0]);
Alert(y[3][1]);
Alert(y[4][0]);
Alert(y[4][1]);

bool IfwordInFile = FALSE;
if (ArraySearchString(y,"xyz")>=0)
{
IfWordInFile = TRUE;
}else{
Print("Слова xyz в записанном файле нет, а есть слово ",y[4][1]);
IfWordInFile = FALSE;
}

//----
return(0);
}
//+------------------------------------------------------------------+
//| Функция поиска элемента в строковом массиве по значению (Кимовский)
int ArraySearchString(string& m[], string e1) {
for (int i2=0; i2<ArraySize(m); i2++) {
if (m[i2]==e1) return(i2);
}
return(-1);
}

//+------------------------------------------------------------------+


The result of running this script I have is a log entry "The word xyz is not in the written file, but the word xyz is"

Could you please tell me what's wrong and how to fix it?

Reason: