Poll of the Day > any programming peeps on? I don't C very well

Topic List
Page List: 1
Lokarin
04/15/23 8:58:20 PM
#1:


I have some C++ source code that's in plain un-parsed text and wanted to know if there's some sort of website or script that can make the code more readable by changing keywords into different colours... and maybe add linebreaks between branches and such

---
"Salt cures Everything!"
My YouTube: https://www.youtube.com/user/Nirakolov/videos
... Copied to Clipboard!
ParanoidObsessive
04/15/23 9:06:15 PM
#2:


I coded in C++ a little back in college, but I remember literally none of it.

I feel like I vaguely remember a way to color-code lines of code, but that might have just been the program we were using to code in and compile with.

---
"Wall of Text'D!" --- oldskoolplayr76
"POwned again." --- blight family
... Copied to Clipboard!
Yellow
04/15/23 9:50:01 PM
#3:


VS Code with C++ extensions
Notepad++
https://codebeautify.org/cpp-formatter-beautifier
... Copied to Clipboard!
#4
Post #4 was unavailable or deleted.
Lokarin
04/18/23 7:21:08 PM
#5:


includes.h and stuff still confuse me...

---
"Salt cures Everything!"
My YouTube: https://www.youtube.com/user/Nirakolov/videos
... Copied to Clipboard!
shadowsword87
04/18/23 7:28:53 PM
#6:


ChatGPT can fairly easily transcribe code, it might be worth it to just copy and paste it there.
... Copied to Clipboard!
Yellow
04/18/23 10:06:45 PM
#7:


Lokarin posted...
includes.h and stuff still confuse me...
Well in more modern languages we don't use header files

Whenever you include another file or class you need to include the header file instead of the matching .cpp file. The C/C++ compiler isn't smart enough to do half the compilation automatically, but some people like it that way.
... Copied to Clipboard!
Lokarin
04/18/23 10:12:56 PM
#8:


Yellow posted...
Well in more modern languages we don't use header files

Whenever you include another file or class you need to include the header file instead of the matching .cpp file. The C/C++ compiler isn't smart enough to do half the compilation automatically, but some people like it that way.

ya, the code I'm looking at is ancient, I'm trying to port it to GML

---
"Salt cures Everything!"
My YouTube: https://www.youtube.com/user/Nirakolov/videos
... Copied to Clipboard!
Topic List
Page List: 1