Questions tagged [c]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
32 views

Indenting a c file adds spaces before function's type?

Open a c file and then type: int main and then hit: gg=G It becomes int main Is this an intended behavior? Is there a way to change this? I prefer it to be retained as is because most ...
7
votes
5answers
238 views

How do you navigate large source files with VIM?

First, I'm not asking about performance. I'm looking for something that will help me, mentally, get into large C source code files that I'm not yes accustomed to. Take for example readelf.c. This file ...
-1
votes
1answer
72 views

Insert C/C++ loops and statements templates automatically [closed]

How do I insert C/C++-type loops and statements templates automatically in Vim?
0
votes
0answers
72 views

Configure Neomake to use gcc for C files and g++ for C++ files

I would like to use gcc and g++ instead of clang and clang++ with Neomake. I found a post for Setting GCC to be the only checker for Neomake but I am not sure if this also makes Neomake use g++ for C+...