First
I'm trying to create a non-integer user defined function which returns a string inputted by user. What's the problem with this code?
#include <stdio.h>
int main()
{
char x[3];
x = retstr();
printf("%s" , x);
}
char retstr()
{
char y[3];
scanf("%s" , &y);
return(y);
}
I can't really explain the errors I'm getting(4 errors, 3 warnings - it says at the bottom).
Second
I don't know the proper process of debugging in Visual C++ 6.0(Should I get VS2010 Express?). Can you provide a link or something to explain that(interface of the program, what's what).
Third
Is it okay to start C++ or should I wait and learn C first?

New Topic/Question
Reply




MultiQuote







|