![]() |
|
#1
|
||||
|
||||
compiler all of the sudden acting funnyHey Guys. I can't compile anything all of the sudden. Im getting this error:
CPP / C++ / C Code:
I didn't even do anything to it. Yesterday it was working fine. |
|
#2
|
||||
|
||||
|
apperently you can't create C apps with this Borland C++ compiler. Is that right?
|
|
#3
|
||||
|
||||
|
Hello Mj.
Two things. First, it looks like you are from my neck of the woods. Do you go to the Y or UVSC? I graduated from the U, so be careful what you say ![]() Anyway, does the file that you are trying to compile happen to end in .c? I think that Borland is assuming that you are compiling a c file. Try changing the extension to cpp. HTH d |
|
#4
|
||||
|
||||
|
Quote:
Sorry - cross post. No, I don't think that is right. But you can't include some files in standard C files. In this case it appears that stdcomp.h is a C++ header file. |
|
#5
|
||||
|
||||
|
Quote:
I go to UVSC. Small World ![]() Quote:
got it. Thanks |
|
#6
|
||||
|
||||
|
Quote:
You can't make C files with C++ headers. Notice the text "Error directive: Must use C++ for STDCOMP.H" __________________
Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough. -- Pearl Williams |
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a noobish compiler question | Charunks | C++ Forum | 5 | 03-Sep-2003 03:18 |
| i need a free Mac compiler | yerdos | C++ Forum | 1 | 28-Jul-2003 03:12 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The