![]() ![]() Give your file a valid path and start coding. Just click the new file icon on the Main toolbar and select the highlighted option. Creating a new project can be a hassle in this case. Suppose you wrote a few lines of code in a class and you wish to perform a quick and simple check on that code. How to run some code without creating a new project in Code Blocks? The following toolbar should prop up right below the drop-down menus. Now go back to the same drop-down menu View > Toolbars > Main. It’s a collection of all the different projects and their files that are currently open in code blocks. Here’s what your IDE should look like now See that drop-down menu titled ‘View’ in the top-right region of the window. In short, file management is a skill that you should know first and foremost. But as you progress through this course and the complexity of your projects increase, you will notice that you will be solving problems using multiple files and maybe even custom libraries. A single file of code, execution, debugging and that will be it. In the beginning, it’s going to be very simple. We need to understand how to manage our code. In the first post where we learned how to execute our first C program in Code blocks, we had created a new project and proceeded from there. Create a project or Open an existing project. The tab marked ‘Start Here’ is where we will be writing all our code. If you see some extra tabs or toolbars, just ignore them, we will get to their usage a couple of steps down this post. So this is the first screen that you are going to see when you start Code Blocks. And that is something every beginner can use. However if you know how to use Code Blocks and all its tools, it can make the process of coding a bit less unapproachable. ![]() An inventers imagination is only restricted by his tools, here we will learn about the different tools and hot keys available in Code Blocks that can be used to assist and streamline our programming approach.
0 Comments
Leave a Reply. |