Thread 22954959 - /bant/ [Archived: 157 hours ago]

Anonymous ID: jcEGmG2+United States
7/19/2025, 7:32:30 AM No.22954959
wtfisac++programmer
wtfisac++programmer
md5: 53ca8c14cf18d9fcb821da3261bbf97e🔍
Wtf is a c++programmer? I don't know anything about programming.
Replies: >>22954965 >>22954967 >>22954969 >>22954971 >>22954999 >>22955005 >>22955797
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:34:03 AM No.22954965
>>22954959 (OP)
my mom was like that & my dad got tired of dealing with her, so he sat in a room working while she did xanax and i had to keep her shit under control most of the time
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:34:38 AM No.22954967
>>22954959 (OP)
>Wtf is a c++programmer? I don't know anything about programming.
C++ is a programming language
you know about different programming languages?
Replies: >>22954972
Anonymous ID: jcEGmG2+United States
7/19/2025, 7:35:33 AM No.22954969
>>22954959 (OP)
smash btw, but I would get a restraining order like 1 month later
Replies: >>22954973
Anonymous ID: QQGpEwS0United States
7/19/2025, 7:36:12 AM No.22954971
chrome_screenshot_Jul 18, 2025 10_27_01 PM PDT
chrome_screenshot_Jul 18, 2025 10_27_01 PM PDT
md5: 447aaeeeff2e590dbf7e6f131be9b1e8🔍
>>22954959 (OP)
1pbtid
Replies: >>22954982
Anonymous ID: jcEGmG2+United States
7/19/2025, 7:36:13 AM No.22954972
>>22954967
>you know about different programming languages?
no
Replies: >>22954976
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:36:16 AM No.22954973
>>22954969
good
just don't stay with her and for the love of god don';t have a kid with her
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:37:44 AM No.22954976
>>22954972
ah shit :/
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:39:58 AM No.22954981
a program can't be run by a computer unless it's written in ones and zeroes, but that would be extremely tedious to write programs in, so there's all sorts of different programming languages which basically serve as a layer of abstraction
any program has to be translated from the programming language to ones and zeroes for it to run
Replies: >>22954999
Anonymous ID: jcEGmG2+United States
7/19/2025, 7:40:03 AM No.22954982
Screenshot 2025-07-19 013738
Screenshot 2025-07-19 013738
md5: 60da8e5cabd8da79e4b776db44a4b8bc🔍
>>22954971
oh hey that's me
Replies: >>22954983
Anonymous ID: QQGpEwS0United States
7/19/2025, 7:41:06 AM No.22954983
>>22954982
All of them?
Replies: >>22954999
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:41:59 AM No.22954985
but yeah, that's why there's a whole bunch of fucky programming languages, even though they do more or less the same thing
it's like, you could control your car with a steering wheel or an xbox controller or whatever
they're all different and have limitations, but they're all ways of controlling the same car hardware
Anonymous ID: QQGpEwS0United States
7/19/2025, 7:42:26 AM No.22954986
1752784556588856
1752784556588856
md5: 1b2804fd878f3eddf4b902be798f668b🔍
I've been trying to generate a simple playable chess game with code but all I can find is stupid cheating engines.
Replies: >>22954991 >>22954992
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:43:29 AM No.22954991
>>22954986
I BROUGHT THAT IMAGE TO 4CHAN
I GAVE YOU THAT GIF
I BRING ALL THESE IMAGES
EVERYONE HATES ME BUT THEY STEAL MY SHIT EVERYONRWHER I GO
Replies: >>22955023
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:44:17 AM No.22954992
>>22954986
>I've been trying to generate a simple playable chess game with code but all I can find is stupid cheating engines.
wanna blog about it?
i'd be interested
Replies: >>22955023
Anonymous ID: jcEGmG2+United States
7/19/2025, 7:45:46 AM No.22954999
>>22954983
no just the pink ID
>>22954981
Ok so why is the c++ language considered unhinged like the girl in pic>>22954959 (OP)
Replies: >>22955005
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 7:48:11 AM No.22955005
>>22954999
>Ok so why is the c++ language considered unhinged like the girl in pic>>22954959 (OP) (OP)
hmmm
i'm guessing because it requires alot of special attention and it can be harder to debug than more modern languages
maybe

people have all sorts of strong opinions and philosophies about this shit, so it's hard to know what they were thinking when they made the comparison
Anonymous ID: QQGpEwS0United States
7/19/2025, 8:02:41 AM No.22955023
>>22954991
Thanks anon!

>>22954992
I'm sure if I knew what I was doing or sombody was paying me I could write a good blog and make it work. I don't know much about c languages. I was trying to find open source code from forums like you used to be able to find. I dont want to just steal it from an already existing engine but program it only through comprehension of the commands that enable at the least real games between two people. Searching a string of combinations of terms trying to find an example programing for cmd or modern language equivalent yielded nothing from ai search except for "engines" that are designed to help humans know what move to play next in chess. I'm interested in making my own program to play chess that doesn't do anything extra other than eliminating possible moves as a two player game progresses, so more or less just normal play and possibly if I can accomplish that learn how to program in automatic history saving to build a database. Where would I even start? I guess here seems like a good place.
Replies: >>22955038 >>22955041 >>22955043
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 8:15:52 AM No.22955038
gouda
gouda
md5: 351f2afd9c870f7b9c60d83024849bff🔍
>>22955023
>I was trying to find open source code from forums like you used to be able to find.
ah yeah
i hate what happened to search engines
>Where would I even start? I guess here seems like a good place.
all the stuff you want to do is fairly ambitious, but that's good, and it's completely feasible
you might want to write down your plan and these features, that way you won't forget them when you're bogged down in the details

i would suggest you start with python instead of C or C++ if you have no experience
if you wanna do C or C++ that's fine though

https://pythonprogramming.net/introduction-learn-python-3-tutorials/
this guy is great if you do decide on python
even if you don't, i think the idea of starting with a tic tac toe game would be good for whatever language you choose, and it would be a good stepping stone project to something bigger like a chess game & chess engine

i find it best to start with a video tutorial & then dig through forum posts and documentation as needed, but that might not work for more obscure ideas you want to do
Replies: >>22955057
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 8:17:48 AM No.22955041
>>22955023
>I'm interested in making my own program to play chess that doesn't do anything extra other than eliminating possible moves as a two player game progresses
i like how you worded this as well
that's an algorithmic way of looking at it
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 8:22:03 AM No.22955043
>>22955023
>Where would I even start?
break things down into smaller and smaller steps and it'll become more and more obvious how to express it as an algorithm
from there, you just have to express your algorithm in whatever programming language you chose & make sure it works

you can look for libraries in your language to make things easier
you'll probably want some sort of library to easily create a window and visualize the chess game, for example
it would take a lot of effort to make that from scratch, but a library for it almost certainly exists, or atleast one you could use for that purpose
Replies: >>22955057
Anonymous ID: QQGpEwS0United States
7/19/2025, 8:47:30 AM No.22955057
>>22955038>>22955043
Yeah...Thanks for the ideas, I guess each players options would start with 20 possible moves to 18 possible locations on 16 squares. In c, is this expression based at all upon visual aspects such as color or position, or is it just a function of denoted possibilities?
Replies: >>22955066
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 8:59:15 AM No.22955066
1751590221882733
1751590221882733
md5: 3ce672d27a17e34087212abf6678a615🔍
>>22955057
>In c, is this expression based at all upon visual aspects such as color or position, or is it just a function of denoted possibilities?
well, the way i see it, you should have some sort of board set up as an object.
>20 possible moves to 18 possible locations on 16 squares
a move can be chosen from this set of moves, which will alter/manipulate the board object
after that, the visual representation of the board will update based on that board object
after that, the other player chooses a move

that would be one way of doing it.
but the visuals shouldn't have anything to do with the mechanics of the game, or the set of possible moves, or hte way the player chooses them.

for the purposes of the program, the visuals are just a way to represent/show what's happening in the game.
the game itself is just your program.

also,
>20 possible moves to 18 possible locations on 16 squares.
you gotta keep track of this set of possible moves for player 1 and player 2, keep that in mind
Anonymous ID: liz5+RprUnited Kingdom
7/19/2025, 9:01:15 AM No.22955068
1643467394669
1643467394669
md5: 47e06e82259fc53f1c72336ebb9dbb9e🔍
have you looked at the chess programming wiki?
that's probably a good place to start
Replies: >>22955074
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 9:04:55 AM No.22955072
your program shouldn't calculate EVERY possible move at the beginning of a turn
that would make your program slow
instead, it should wait for the player to try and make a move, then decide whether that one move is possible or impossible

this is much easier if you have some sort of board object with all the pieces in their positions

but again, this board object is separate from the visual representation
it's just an object containing organized data
Replies: >>22955760
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 9:06:27 AM No.22955074
>>22955068
that looks good
Anonymous ID: QQGpEwS0United States
7/19/2025, 9:43:16 AM No.22955760
>>22955072
So ai was right and all I can do is T/F engine confirmation?
Replies: >>22955764 >>22955781
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 9:47:53 AM No.22955764
>>22955760
idk what the AI said

when most people say "engine" they mean a cheat engine, where you feed it a board & it DECIDES the best possible move for you
that's not what i'm talking about
i'm saying, if player 1 decides to move their pawn up 2 squares, they'll try to make that move, and your program will allow them to do that.
if player 1 tried to move their pawn up 4 pieces, it would decide that's illegal.

a chess engine picks the best possible move in a given situation
your chess game just decides whether a move is legal or not, same as any online chess game
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 9:48:36 AM No.22955777
i hope that makes sense
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 9:52:58 AM No.22955781
>>22955760
you can always experiment & find other ways of doing things
it's fun to do that with programming, since you don't have to worry about whether your idea truly makes sense, you can write & run it to make SURE it does or doesn't
Anonymous ID: VSLYy7uHUnited States
7/19/2025, 9:53:57 AM No.22955782
lone-wolf-2b6da7d4ad18496e9cdcd5a4b5f51951
lone-wolf-2b6da7d4ad18496e9cdcd5a4b5f51951
md5: 7a165578c51db5770831ed46b6b79f1f🔍
9p.io
greenarrays.com
swi prolog
happstack.com
picolisp.com
aidaweb.si
lisp issr
lisp clobber
J language
occam-pi rmox
freebsd.org and icewm
gnu clog

these are fun stuff to replace big tek
flibe.com also important
Replies: >>22955784
Anonymous ID: NBE7uh0MUnited States
7/19/2025, 9:55:10 AM No.22955784
>>22955782
:o
interesting
Anonymous ID: Ux5xH4XDUnited Kingdom
7/19/2025, 10:12:27 AM No.22955797
1743012342797421
1743012342797421
md5: fe07466bbe747571600f9ea500acbb2e🔍
>>22954959 (OP)
did you know that many programming languages and software projects have cute little mascots?
>https://www.youtube.com/watch?v=_THxtI7LHgE