Programming brehs

TRUEST

Superstar
Joined
May 17, 2012
Messages
14,203
Reputation
2,661
Daps
54,224
Reppin
NULL
It's just weird as hell to me compared to other editors and IDEs. I understand its purpose back in the day when they were trying to save keystrokes due to slow networks but damn its 2016 now.

You get nerd cred for knowing it though :yeshrug:
nah. vim is gospel. those who leave it to use something else just never took the time to learn the commands they need to learn to be able to navigate well in it.
 

Kyle C. Barker

Migos VERZUZ Mahalia Jackson
Joined
Feb 5, 2015
Messages
27,843
Reputation
9,283
Daps
119,603
lol what u got againt vim? nano sucks ass.



nah. vim is gospel. those who leave it to use something else just never took the time to learn the commands they need to learn to be able to navigate well in it.

I know people can do some cool things with vim but damn that learning curve when you're actually trying to make shyt. :francis:


I shouldn't discourage people from using it though
 

Kyle C. Barker

Migos VERZUZ Mahalia Jackson
Joined
Feb 5, 2015
Messages
27,843
Reputation
9,283
Daps
119,603
Vim for C++? Eh. I can understand for scripting languages.


That's what I'm saying. You got real ide's like code::blocks, kdevelop, eclipse, etc...

You can even get a free version of visual studio if your a student (obviously the student version). Same with xcode.


Vim is pretty hardcore for this :whoo:

I guess it'll be good for them to go through a trial by fire.
 

DJSmooth

Superstar
Joined
Oct 22, 2015
Messages
3,914
Reputation
1,199
Daps
23,482
That's what I'm saying. You got real ide's like code::blocks, kdevelop, eclipse, etc...

You can even get a free version of visual studio if your a student (obviously the student version). Same with xcode.


Vim is pretty hardcore for this :whoo:

I guess it'll be good for them to go through a trial by fire.

Visual studio is so ass. The shyt is slow as hell.
 

KOOL-AID

I Pitty Da Fool
Supporter
Joined
Aug 12, 2013
Messages
24,748
Reputation
16,297
Daps
69,922
What is your program supposed to do for your assignment?
Display 6 options for area of shapes and make the user pick one via inputs of 1-6 if input is less or greater than that range display error message and make them put in the correct value. Then depending on that display the chosen shape title then ask for the parameters (base, base1, height) input, if a non positive input is chosen display error message and make them input a correct value, then show them the area of said shape. #define is used for PI value and <math.h> for the pow function. I'm essentially using if....else with whiles to make the program. Only thing is I dnt know how to make a exit program command for input 6.
 

KOOL-AID

I Pitty Da Fool
Supporter
Joined
Aug 12, 2013
Messages
24,748
Reputation
16,297
Daps
69,922
:lupe: y'all dissing vim and suggesting other stuff what else shld I try to work with?
 
Joined
Jan 30, 2016
Messages
1,645
Reputation
150
Daps
3,069
Do you really have to use vim? :skip:

Hopefully they have nano on the OS you're using.

And a for loop in C expects 3 expressions. Like

for(int x=0; x<10; ++x)


Try replacing "while" in place of "for"

emacs is the truth breh. bounced around between nano, pico, vi, vim ... everything but emacs is the only one that made me go :gladbron::obama:
 
Joined
Jan 30, 2016
Messages
1,645
Reputation
150
Daps
3,069
:lupe: y'all dissing vim and suggesting other stuff what else shld I try to work with?

it doesn't make sense to use a command line tool especially if you are a beginner. this isn't the 70s - how old is your prof?

not saying that command line editors don't have their uses, and you shouldn't use them but you will be much more productive if you have a proper editor. I don't know about C++ but the litle coding I did I used Geany and it was a'ight.
 
Top