S
Shan
Hi All,
When i compile a code in HP-UX using aCC i am getting the following
warning. I am not able to understand this warning. Any help in
understanding the warning is appreciated.
shan 150 aCC -o TransTest TransTest.cpp
Warning 829: "TransTest.cpp", line 22 # Implicit conversion of string
literal to 'char *' is deprecated.
char * clear="clear";
^^^^^^^
The code snippet is:
char * clear = "clear";
system(clear);
Thanks in advance,
Shan
When i compile a code in HP-UX using aCC i am getting the following
warning. I am not able to understand this warning. Any help in
understanding the warning is appreciated.
shan 150 aCC -o TransTest TransTest.cpp
Warning 829: "TransTest.cpp", line 22 # Implicit conversion of string
literal to 'char *' is deprecated.
char * clear="clear";
^^^^^^^
The code snippet is:
char * clear = "clear";
system(clear);
Thanks in advance,
Shan