[Dev-C++] C and C++ sintax restrictions in Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <and...@su...> - 2003-04-26 17:54:00
|
Dear Users,
---> Some students are using a mix of commands and features like:
/* and //
getchar() and cin.get()
<stdio.h> and <iostream>
<stdlib.h> and <cstdlib>
printf and cout
scanf and cin
.c and .cpp
"A"---> I´ve tried some enable/disabe options inside
"Options->Compiler Options->C/C++ Compiler", but couldn´t
inhibt the students to write codes mixing the commands.
The corrections are still by hand. Sometimes is difficult
to explain for some guys that come with vicious what a C or
a C++ program is.
---> My Questions:
1) Is my attempt to convince them correct?
2) If it is, is there any set of options that allows me to inhibt to mix
C and C++ features?
Regards
Andre
|