[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] c++ & mem



Hi there, I am using Mandrake v7.1.
I have two hopefully easy questions:-
1).  when I compile a c++ file e.g.
#include <stdio.h>
 
int main ()
{
printf("hi there/n");
return 0;
}
 
by the command line
g++ test.cpp
 
it creates a file "a.out" but when I type it in on the command line it does not work, just comes back with a "bash" line.
 
2). Also I have 128Mbytes of RAM, but where do you tell Linux that I have this memory, since it says that it is 65Mbytes?
 
I really hope that theses are easy questions.
Thanks.
 
Ian