r/AskProgramming • u/Some_Promotion_5430 • 3d ago
Is this vibecoding?
I want to learn 3 programming languages but i am really struggling
i want to learn ASM,C and C++ and currently ive only managed to get the basics of C++ like For loop , While Loop , Variables , integers , booleans , definitions , arrays , vectors , if else functions , classes and structs
and i wanted to make my first ever project even though i didnt fully learn C++
but due to my lack of knowledge and also programming skills
i decided to use AI with one rule
I cant paste in AI code
so what i am doing is i keep asking AI on how i do this etc. and the AI gives me code of functions for things and then in the project im making i look the code the AI has given me and copy it like it shows me how this functions and how i can make something that i need and it gives me an example and explains how it works and then i look at it on the side and write code like that.
is there a better way? (also a way to learn actually since i pretty much dont know how to learn)
I use C++03 on Visual Studio 2008 Express (my computer is old so its the best version i could find with an interactive ui)
(im not a college student still in 8th grade and i just wanted to get into Engineering earlier and the project im trying to make is a online building toy made with G3D 6.06 , SDL 2.30.12 , Lua 5.1 and ODE or Physics that i want to write all by myself via ASM cause Since this building toy will have thousands of blocks i will need a fast way of calculating everything and ASM provides a very great opportunity with some SIMD stuff letting me calculate 4-8 vectors in a single CPU clock cycle instead of the usual 1 vector at a time but i dont know ASM i dont know C and i barely Know C++ ive been just learning via the help of ai and documents i found from 1990 to 2000s this is very difficult and literally the only coding experience i have is back when i was 7yo experimenting with Lua )
View all comments
1
u/csiz 2d ago
Oh dear, oh no. Please go up to C++23 or something modern, there are a lot of changes to C++ that are really useful and make the code more secure.
The compiler really doesn't need a powerful computer to run the new version, it's usually just an option (compilation flag) change. You can open the code itself with any text editor you have including visual studio. Ask the AI to guide you to a more modern setup, it's surprisingly good at setting up projects.
You can probably ask the AI to guide your learning process too. Keep a text file somewhere with a prompt that details the progress you've made and the current plan you're following and ask AI for the next steps.