Welcome, Guest. Please login or register.

Author Topic: C/C++  (Read 1303 times)

SteveGamer68Topic starter

  • tOLP2 Tester
  • Crewmate
  • **
  • Posts: 37
  • Playing with Glitch Dimension.
    • View Profile
    • Distractionware forums
C/C++
« on: 5 Jun 2017, 07:28 (5 years and 9 months ago) »
General Discussion but with one thing:
You cannot say that in word, you have to make C/C++ code so it results printing the text.
Game Start!
printf("Hi")

Lollers will devour you

  • Banned
  • tOLP2 Tester
  • Captain
  • *****
  • Posts: 391
  • [Abandoned account]
    • View Profile
    • WEASWASAWASEWASWAEWEASAWWEWASWEASDW3ASWASQASASASWASEWASDWSWASDFYRTBR5T5 BW4YHSB6W4BWSHGGJGHNBNBNVJYGHBJBGYUBY UFBHJFNBJKLFGHJDF,HBKHGFJKHJFK,SHGJKDF,GHG,SHGS,H,SHS,HH,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,GGGG,,,,,,,,,,,,,,,,,
Re: C/C++
« Reply #1 on: 5 Jun 2017, 07:42 (5 years and 9 months ago) »
alert(NO!);

SteveGamer68Topic starter

  • tOLP2 Tester
  • Crewmate
  • **
  • Posts: 37
  • Playing with Glitch Dimension.
    • View Profile
    • Distractionware forums
Re: C/C++
« Reply #2 on: 5 Jun 2017, 08:06 (5 years and 9 months ago) »
#include<stdio.h>

int main() {
/* lol */
printf("Ok");
printf("Something");
}

Info Teddy

  • Ultra Captain
  • ********
  • Posts: 3126
    • View Profile
You know, I’d actually like to know what my functions return.
« Reply #3 on: 5 Jun 2017, 15:53 (5 years and 9 months ago) »
Code: [Select]
#include <stdio.h>

int main() {
printf(
"You forgot a newline,"
" your indentation is horrible (who the fuck indents his code like that?),"
" you forgot to put your code in a code block so it actually looks monospaced,"
" your code style is horrible (no indentation, and not putting a space between \"#include\" and \"<stdio.h>\"),"
" and you forgot a return value.\n"
);
}