you can add the command in "/home/YOURUSER/.profile"
Type: Posts; User: liuguobiao
you can add the command in "/home/YOURUSER/.profile"
Thank you very much!!!
I did it with what you said ,and it run!!
said again :Thank you!!!
hi I am just write a simple program(c.c) :
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
int main()
{
Thanks very much !laserlight .
I will study hardly in it .
Thanks !!
OH ! I am sorry . It run ! Thanks !!
I using the Getline(),it said 'Getline' was not declared in this scope.
can you tell me Getline() in which head file ? Not "string.h" ?
I am chage the code to :
#include <iostream>
#include <string>
useing namespace std;
int main()
{
string st;
return 0;
}
but it return :
I have got some truble,like these:
dream@liuguobiao:~/Desktop$ cat c.c
#include <stdio.h>
#include <string.h>
int main()
{
string st;
st = Getline();