codeblocks

CodeBlocks MinGW on XP noob. Is it possible to overwrite the same exe every time I compile? Further explanation inside...

I have looked through both the CodeBlocks and MinGW FAQ and wiki to no avail. As stated above I am a noob. I want CodeBlocks to act like a Unix compiler in that it overwrites a single output file every time it compiles unless told to do otherwise. In Unix: [cc example.c] -> [a.out], [cc example2.c] -> [a.out]. If I want to save the ou...

How it is possible to reach a variable from a different code-block expression than the block where the variable was declared ?

Hi, Can someone explain the working principle of asp.Net below? I have 2 separate code-block asp.Net expressions in an aspx markup, with an html content between (span element in the example below). In the first code-block, there is "i" as an increment variable for the for loop. Then the code-block is cut with an html content. And a...

C++: Where does the ofstream class save the files to?

I moved from Windows to Mac and now I'm experiencing a problem with the file input/output classes: ifstream & ofstream. In Windows when you run with g++/Code Blocks ofstream out("output.txt"); out << "TEST"; out.close(); A new file "output.txt" will be created in the same directory. However in MAC OS X, this file is created in my h...

C++ Executable Freezes at Runtime

I wrote a simple console program for the use of testing some key classes in a library I'm building. Now, the code builds correctly with no errors. But, after executing the code, I found that the application stops working after calling the Index method at a certain point in the code. I tried debugging a few different ways to get more info...

Basic Code::Blocks problem.

I apologize for asking a question of this caliber. I am at my wits end and have spent to much time trying to figure out how to get the side bar I closed back. I closed the "management" (the box with all the headers and .cpp's) and "messages" (where the compiler errors are displayed) box after I created a project. Now I can't get them bac...