Is it still advisable to use SCC in Plato, considering that its development has been frozen for a long time? We have a lecturer who wants to continue using it in his teaching, and had problems through the latest Plato 4.4.
So I ran an old C++ test program that I have run in the past successfully, but in the latest Plato it fails with access violation or runtime error. Its initial lines are:
#include <stdio.h> // for printf #include <stdlib.h> // for atoi #include <time.h> // for mktime etc. #include <clib.h>
int main() { char *weekday[] = {' Sun',' Mon',' Tues',' Wednes', ' Thurs',' Fri',' Satur', 'n unknown '}; char *str[10],za; struct tm birth;
printf('Type in test character\\n');
getch();
It writes out 'Type in test character', but pressing any key in response makes the program crash.
Please note that I am not experienced in C/C++.
Thanks.