i am trying to use the get() statement:
what happens here is that when i run the program it first wants me to put text and then shows up the 2 cout's......*** is goin on?PHP Code:#include "stdafx.h"
#include "iostream.h"
#include "stdio.h"
void main()
{
char str[80];
cout << "enter a string: ";
gets(str);
cout << "Here is ur string :" << str;
}
im tired of ms vc++ givin me g@y errors...
