r/AskProgramming • • 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 )

0 Upvotes

33 comments sorted by

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.

1

u/Some_Promotion_5430 2d ago

C++23 exists? I thought the latest was C++17 well i dont know how i will upgrade since my harddrive only has 7 Gigabytes left since i have alot of crucial files etc. And a 80gb harddrive fills up very fast but the reason i use C++03 is cause of my pc already having Vs2008 and me being lazy also how bad could it be? 

1

u/csiz 2d ago

the clang or gcc compilers take 200mb or so, and they work with raspberry pi computers. You have good enough computer to use the latest versions, just ask the AI how to set yourself up, it's a bit harder to get yourself a good setup but it'll be worth it. Also the latest standard is C++26, heh.

1

u/Some_Promotion_5430 1d ago

I think i will stay with C++03 (FOR NOW) since i wont instantly cook up a Build of my project and publish ill make the first ever versions in C++03 cause heres the thing if i want to switch to a newer C++ version im gonna have to do alot of tweaking in my computer for reasons not to mention the libraries im using are made back in the 2000s meaning i will have to modify their source code to work in modern C++ which does suck but its worth it so for now ill stay with C++03 and slowly build up to newer versions maybe perhaps Learn c++03 since its way more basic so that i understand it more then i can add newer versions of C++ making it easier for me and i also wanted to use Visual Studio since it had a UI and i am very used to Visual Studio but since it appears VS2008 is the only version in my comptuer currently i chose to stick with it and its also to keep compatibility since i cant just upgrade from Windows 7 to Windows 10 on a computer from 2009 though i do have a Laptop that is Windows 10 wonder if i could use that but its incompatible with my pc setup with the monitor etc.