Share your repls and programming experiences

← Back to all posts
My first c++ program
Thehappysquid (52)

I just learned some c++ I will use switches soon.

Comments
hotnewtop
[deleted]

WOW! This is good @Thehappysquid u wanna join my team? U show promise in it!

Thehappysquid (52)

@FluidCycling it’s not that good, but sure.

firefish (949)

@DynamicSquid Found another squid, Sir. A C++ Squid too.

Thehappysquid (52)

@firefish lol we did a Java collab once

firefish (949)

@Thehappysquid Lord @DynamicSquid doesn't know THAT much Java, unless he followed one of Wuru the UwU's tutorials

Thehappysquid (52)

We did a really bad java text based [email protected]

firefish (949)

@Thehappysquid Java, C#, C++, and C are all very similar, especially the first two.... and C is unfancy C++ (by unfancy I mean no classes and no std namespace)

Thehappysquid (52)

@firefish yes, that’s why I really like c because it is similar to java

firefish (949)

@CodeLongAndPros I must have been mixed up because '74 was the first update? What are we up to now... C18? Most people use either C99 or C11...

Thehappysquid (52)

Wow! This post blew up.

firefish (949)

@DynamicSquid Why are there so many squids though?

firefish (949)

@CodeLongAndPros I mean squid users... If there are 6 squid users per user... aren't squid users also users? THE SQUID PARADOX?

firefish (949)

@CodeLongAndPros Squids are exponential. Yes. But did you take into account... THE PARADOX? (or does the paradox really exist)

firefish (949)

@CodeLongAndPros Rotating the graph does nothing. Time is along the negative y axis instead of x. Just... why?

CodeLongAndPros (1624)

@firefish Because the number of squids now controls time.
I was trying to get two superimposed, but I suck at gimp

firefish (949)

@CodeLongAndPros me staying away from GIMP because I happen to have an ancient version of photoshop but still suck at both

Thehappysquid (52)

@CodeLongAndPros I,found it funny that there were other squids on repl.it. lol

firefish (949)

@CodeLongAndPros

const squid = require("@replit/squids");
// i like nodejs, sorry
CodeLongAndPros (1624)

@firefish #include<replit/squids.h
from replit import squids
import repl.it: squids
%include squids.h

firefish (949)

@CodeLongAndPros KRITA. A.K.A. some other photo editing app i've never heard of before and I had to google what it was

firefish (949)

@CodeLongAndPros Excuse my stupidity but what language are the last two

firefish (949)

@CodeLongAndPros I never knew assembly had an import, probably because the only assembler I'm used to is AT&T GAS

CodeLongAndPros (1624)

@firefish Yeah. Most people like INTEL though.

firefish (949)

@CodeLongAndPros

import { squids } from "https://www.repl.it";
// more js sorry
firefish (949)

@CodeLongAndPros The operands to intel assembler are backwards to me, but again, I'm used to AT&T GAS.

CodeLongAndPros (1624)

@firefish GAS isn't meant for devs, it's meant for GCC though.

firefish (949)

@CodeLongAndPros casually writes assembler then exits VIM and executes { gcc -c main.s -o main.o && ld main.o -o main } && ./main

firefish (949)

@CodeLongAndPros People thing VIM is hard. Once you know it, it's easy.
Don't use nano people, use VIM. (I never have used, or will use nano. That's a promise.)

firefish (949)

@CodeLongAndPros Just use Firefox what is your problem

CodeLongAndPros (1624)

@firefish When my ram is too full to run firefox

firefish (949)

@CodeLongAndPros Alright... I'll take that Idea into consideration for the next time my computer's thrashing

CodeLongAndPros (1624)

@firefish It's better than elinks because it can do images. (M-x eww)

firefish (949)

@CodeLongAndPros Please don't tell me you're commenting from that

CodeLongAndPros (1624)

@firefish No Js. I use Firefox Dev Edition

firefish (949)

@CodeLongAndPros I bet you it's powered by wget because wget doesn't support JS

firefish (949)

@CodeLongAndPros Hm... Is wget a client to curl or is curl a client to wget, or neither? I can't remember now

CodeLongAndPros (1624)

@firefish Neither. Curl is a frontend for libcurl.

firefish (949)

@oignons You don't need to do that... just if (replit) printf("We have %llu squids", ++squid);