I can only run/save one .c file at a time in this c++ project

I am trying to run 1.c because xxx.c has errors

I tried run without debug
run with debug

and every time I am told of xxx.c errors

note:
I am using visual studio express 2013 and the only way I know how to create a .c file is to add to source directory
LVL 1
rgb192Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

phoffricCommented:
1.c is not posted. What exact error messages are you getting?
0
Subrat (C++ windows/Linux)Software EngineerCommented:
What is written in xxx.c? Something is wrong there. So you r getting error. There is nothing to do with 1/n no of .c files to compile/execute.What's the error msg?
0
rgb192Author Commented:
I am doing tutorials to learn
Sometimes one file has an error, so I want to move on to the next chapter without caring what previous file error is

1.c has no errors
xxx.c (and other files I create) have errors
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Subrat (C++ windows/Linux)Software EngineerCommented:
where is this tutorial is? I don't think it's a programing error related to the Zone you have posted.
Please be specific. What link you are using for study? Is it Experts exchange or something else?
0
rgb192Author Commented:
youtube.

https://www.youtube.com/watch?v=Bf8a6IC1dE8&list=PL2_aWCzGMAwLZp6LMUKI3cc7pgGsasm2_&index=8

short tutorials about pointers in c
I am using visual studios for c++
0
phoffricCommented:
>> xxx.c (and other files I create) have errors
Post the code having errors, and provide the exact compiler errors that you are getting.
0
rgb192Author Commented:
I do not know how to get to xxx.c
because I went to solution explorer->consoleApplication1(my project)->source files->and right click on xxx.c->exclude from project

This is a quick fix, that allows debugging/running of one file 1.c
but I think
exclude from project
is time consuming if I get 30+ files
0
phoffricCommented:
You should be able to get the file back into the project if you want by hitting source files->and right click on Add -> Existing Items...
Then select xxx.c and it will reappear in your project.
Just be sure that there is only one main() function in your project if you have more than one source file.

How are you getting 30+ files?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgb192Author Commented:
okay, toggle on toggle off files

I do not have 30+ files yet

Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.