Ok. that's a lot to take in so I'll try to answer as best I could.
As for a screenshot, I was going to get one just now. But the IDE failed to open since I migrated my code from one directory to another. since it can't find the existing project, the IDE just crashed. i reopened it again and it actually started up fine this time. It began to work fine but all the project info is invalid so it just keeps saying it can't find the files. i opened up another project that wasn't showing files, and now it's showing them again. So as far as this "cannot open files" bug, I cannot reproduce it now.
First of all: Codeblocks is NOT a compiler. Codeblocks is an IDE that can use different compiler. Wording is important, because else we have a thread with 100 pages only to find out you are talking about compiler issues and try to blame codeblocks!
I understand it's an IDE. The problem I have is with the IDE when files do not open.
I have never seen a message that a file is "already open". I don't think that this message is anywhere implemented in codeblocks. So to help us, helping you, i would suggest to nag less and give more detailed description without generalizing or using "it does not work". Exact error messages or a screenshot are the best way to describe problems. This costs a view minutes to write or make but at the end you will have a fix and we don't have to complain and ask the same question 1000 times and always get the same useless answer and frustrating you...
you are correct, it doesn't say any message, but when i say it's already open, it's because i see it in the open files list. I know I'm nagging more than helping but i've never had as much problems with an IDE before. I'll try to describe what I see here:
When it was working (prior to applying windows updates, automatic updates)
1. open CB.
2. existing project shows up.
3. I edit, program, whatever my source files, headers, etc.
When it's not working (after restarting my laptop from the windows updates)
1. open CB.
2. existing project shows up, EXCEPT, no files are open. no tabs, no nothing.
3. I cannot edit my source, headers, etc., because the files won't open up in the IDE.
I don't know how much simpler I can say this. This was the main issue I have. It's basically a blocker. i could easily open up the files in another editor, save them, then let CB compile it. But why would I have to do that?
Ok this is lazy as it can get. First of all on the website of codeblocks are 6 download links for windows alone. To find the version every decent program has his exact version number in Help->About ....
yes, i was being lazy. here's the about info:
release 16.01 rev 10702
sdk version 1.29.0
So it is a difficult bug to reproduce and it would be good that you describe the problem as good as possible, or it is a osi level 8 error, also there describing the problem and not repeating the same useless text would help a lot...
yes, it must be a difficult bug to reproduce. i'm willing to bet it may have something to do with my windows update since it only occurred directly after i restarted my laptop from the updates.
This leads to a config bug. But we don't even know how the problem is manifested...
i still don't think it's a config bug. it worked fine prior to the update.
The breakpoints not working can have a lot reasons. User and codeblocks errors, all fixable:
1) You don't use the debug target or don't use the "-g" compiler option
2) GDB can not work with the paths codeblocks provides. We had a bug report about this and wait for user feedback to fix this. So if you too have this problem, it would be great to help us fix this by providing some detailed feedback. We can not reproduce it so it is hard (impossible) to fix without feedback from a user with this problem.
3) What do you mean with "to work properly"? For me it is easy as fuck...
Right click on the variable ->Add to watch
What is there not "work probably"? Are you talking about displaying the value? Adding new watches? Deleting watches? Are you getting any error messages?
i thought it would be easy too. i saw the "add to watch" but it did not add it to watch. it just opened up the watch window. and since i never had to actually "fill in the blanks" with a watch list before, i had no idea what to do at that point. Visual express did it exactly the way you described it. I couldn't figure out why mine wasn't working.
Describe the problem, provide screenshots, nag less and it is (probably) a quick fix
i will do that next time.
Codeblocks does not care about your code or any include file. The compiler does. And what the fu is "type cast strlen within if" are you talking about "type cast the return value of stlen" for comparing with a non size_t type? Be careful there are sneaky c traps to fall into....
yes, it was comparing an int with a size_t. visual studio came up with the error but CB did not. I fell into the same kind of traps when using DevC, which is why i switched IDE/compilers.
This has nothing to do with codeblocks but with the compiler / standard library you are working...
Yes, i understand that. but CB came with a compiler that provided it, just by chance, when i was looking for a way to read all files in a directory as if using wildcards. It's just that visual studio didn't have that include in the compiler. I was trying to figure out how to copy all the headers from one to the other, but i had no success.
Sorry for this long post. All in all, I am pissed off by people that nag and blame things but are not willing to describe their problem or are to lazy to provide any useful information. Tell developer of one IDE how great the other IDE is, without describing the feature or problem in detail is a dick move
i understand. I just had a bad day when i posted it. i apologize for my attitude. i was beginning to blame this on windows 10. i felt like taking my laptop and breaking it over my knee, but i knew that wouldn't of accomplished anything. i still like CB's IDE more than what i've seen out there. I just don't have the knowledge to work through the advanced features. I was going to try Eclipse but I couldn't even get the compiler configured on it. I needed something more beginner friendly.