Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

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
Avatar of phoffric
phoffric

1.c is not posted. What exact error messages are you getting?
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?
Avatar of rgb192

ASKER

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
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?
Avatar of rgb192

ASKER

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++
>> xxx.c (and other files I create) have errors
Post the code having errors, and provide the exact compiler errors that you are getting.
Avatar of rgb192

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of phoffric
phoffric

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

okay, toggle on toggle off files

I do not have 30+ files yet

Thanks.