Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8219289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:06:13+00:00 2026-06-07T13:06:13+00:00

I am using NetBeans for my C coding and I would like to know

  • 0

I am using NetBeans for my C coding and I would like to know how to change the format for it. I would like it to appear like this when I pres enter for a new line:

int main(int argc, char** argv)
{

int x;

void xzy()
  {

}

printf("etc...etc..etc..");

return (EXIT_SUCCESS);
}

Basically to the point where everything starts at the beginning of the line rather than this:

int main(int argc, char** argv)
{

         int x;
         void xzy(){

    }
         printf("etc...etc..etc..");

        return (EXIT_SUCCESS);
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T13:06:17+00:00Added an answer on June 7, 2026 at 1:06 pm

    First of all, I consider that what you are trying to do will make the code very unreadable and it goes against the standards. But if you really want to do it, here is what I found:

    In NeatBeans, go to Tools > Options. The Options window will pop up. Click Editor and then select the Formatting tab. In the Language dropdown, select C. In the Category dropdown, select Formatting Style. Check the option Override Global Options. Then bellow set the property Indent Size to 0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Netbeans IDE for a java project. In this project i need
I am using Netbeans 7.1.1 and nbandroid plugin updated to latest this morning. When
From NetBeans, I created a new REST webservice (using jersey), using the built-in wizards.
I'm using NetBeans 6.9 with the Zen Coding plugin . I was wondering if
Using Netbeans 6.9.1 on Ubuntu 10.10 Beta, when I try to create a new
I'm using NetBeans IDE 6.9.1 for developing java/javafx applets, this netbeans version generates only
I'm coding in Swing in Java. I'm using the Netbeans layout manager. I'm having
Using NetBeans 7.1 / GlassFish 3.1, I created a new TimerSessionBean. @Stateless public class
I followed this NetBeans guide here on RESTful web services using JPA - http://netbeans.org/kb/docs/websvc/rest.html
So i am using Netbeans as my coding environment, i downloaded and installed LWJGL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.