Click here to Skip to main content
12,073,325 members (75,314 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++
Error when i try to compile a program.. A message is appeared saying that The system cannot find the file specified.

Any idea .. ??
Posted 2-Jan-13 9:12am
ctype.h1.8K
Comments
Sheikh Muhammad Haris 2-Jan-13 14:17pm
   
What code have you written in your project. Mention the code of the line number at which this error appears.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Check your #include statements - you have probably miss-spelled the file, or missed out the ".h" on the end. The error message should tell you the file name it is looking for, and (*probably) the line it is looking for it at. If not, you can search for the given file name.
  Permalink  
Comments
Scenic Design 2-Jan-13 14:41pm
   
The actual error is ..
unable to start program 'C:\Work_Space\Studio\M number of lines\debug\M number of lines.exe'.
The system cannot find the file specified
OriginalGriff 2-Jan-13 14:43pm
   
Have you tried a clean and then a full rebuild?
Scenic Design 2-Jan-13 14:52pm
   
clean .. I don't know how to clean ..???? Can you please tell me . ?!
OriginalGriff 2-Jan-13 14:56pm
   
On the Menu bar, under "Build" - you should have "clean solution".

In theory it should be done when you do a full rebuild, but I'm never sure VS gets it right every time.
Scenic Design 2-Jan-13 14:55pm
   
Yep .. I got it ..
Thank you Sir .. GOD Bless You ...
OriginalGriff 2-Jan-13 14:58pm
   
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100