User forums > Help

After build and run result doesnt seem to work properly.

<< < (2/2)

stahta01:

--- Quote from: CodeBloksPro on January 25, 2015, 02:29:16 am ---
--- Quote from: stahta01 on January 25, 2015, 01:40:20 am ---Read and follow FAQ and you might find the problem.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

If you do NOT see the problem, post the full build log and maybe someone else will see the problem.

Edit: You do realize you are NOT likely running the code in the screen post because you never added to the project?
Tim S.

--- End quote ---

As the results in both my screenshots are different, doesnt this not show that each time I ran the code the current project on the screen was activated?

If not, the result cmd prompt shud be the same, which it isnt.?

--- End quote ---

No, because the two main.cpp are different files therefore the code can be different in each.

Tim S.

CodeBloksPro:

--- Quote from: stahta01 on January 25, 2015, 02:36:23 am ---
--- Quote from: CodeBloksPro on January 25, 2015, 02:29:16 am ---
--- Quote from: stahta01 on January 25, 2015, 01:40:20 am ---Read and follow FAQ and you might find the problem.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

If you do NOT see the problem, post the full build log and maybe someone else will see the problem.

Edit: You do realize you are NOT likely running the code in the screen post because you never added to the project?
Tim S.

--- End quote ---

As the results in both my screenshots are different, doesnt this not show that each time I ran the code the current project on the screen was activated?

If not, the result cmd prompt shud be the same, which it isnt.?

--- End quote ---

No, because the two main.cpp are different files therefore the code can be different in each.

Tim S.

--- End quote ---

Ok, I deleted all projects in my folder, reopened codeblocks, Now with only 1 new project seems to work fine.

I still do not fully understand why it was doing this before and fully what you mean, I guess in future with more use of codeblocks il see.

Thanks

stahta01:
If you want to learn then read the build log!!

Tim S.

Navigation

[0] Message Index

[*] Previous page

Go to full version