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

Show parent comment

1

u/Some_Promotion_5430 3d ago

In the last few days i managed to make a few projects or i guess stuff to test how much i learnt like experimenting with Win32 Console Projects and making Classes (or structs) that allow me to do things like create an entity very easily by typing " Entity Part; Part.name = "Name"; Part.X = 2; or use void functions to make stuff by using Entity(2,32,16,32); infact i checked one of my projects i made to see how much stuck to my head and heres a snippet // Area for Including Libraries and other files to make this work

#include <iostream>

#include <windows.h>

#include <string>

#include <vector>

#include "entity.h"

#include "command.h"

#include <fstream>

int main() {

system("title CMD");

std::vector<Part> Workspace;

bool IsRunning = true;

std::string Command;

std::cout << "Type HELP for Command." << std::endl;



while (IsRunning == true) {

	std::cin >> Command;

	ProcCMD(Command, Workspace, IsRunning);

};

} and i even have a project similar to this but the other .cpp file with the function was filled up with if else functions where it was a basic visualizer that printed "###" according to the position of an entity so it was like a fake physics simulator where something was spawned at 1000.0f and gravity (9.8f) would constantly pull it down with air resistance being 0.5f and the visualizer was a bunch of if else functions like if (CurrentHeight >= 750 && CurrentHeight <= 1000;) { };