2

University Programming

posted in Off Topic
Comments:
Threaded Linear
#1
Hater

Anyone else have a uni course that 1 programming unit that you have to do any just hate it. Like the next thing I write in C++ is going to be a message for the coroner (for legal reasons that was a joke)

Note for any admins:
Even though its within the guidelines if coroner joke doesn't sit well just delete the post instead of hitting the timeout button ty

#2
w1atrak
0
Frags
+

Nah man I love my uni

#4
Hater
0
Frags
+

I love uni(learning thermodynamics was actually the most fun I've had in a class since high school chem) , I just hate programming

#5
parasite
0
Frags
+

Funny. I was in exact opposite boat.

#3
CryoZanderDerrekEnjoyer
0
Frags
+

Nah man I love my uni

#6
brobeans
1
Frags
+

for most people, programming is the same as using a calculator. it's just a tool

#7
adilKhan
1
Frags
+

#include<stdio.h>
void main()
{
char opinion;
printf("Do you like programming? ");
scanf("%c", &opinion);

if (opinion == no) {
printf("Haha get good bro just say you suck");
}
else {
printf("Good boy :)");
}
}

#8
Hater
4
Frags
+

so mate, your code ain't going to run properly, your using a char so it's not going to be able to store "no" as a response, your going to need to swap that out for a string then probably swap the logic check to something along the lines of

if (opinion [0] == 'n' && opinion [1] == 'o' && opinion [2] == '\n')

coding isn't hard, it's just mind numbing and tedious

  • Preview
  • Edit
› check that that your post follows the forum rules and guidelines or get formatting help
Sign up or log in to post a comment