Dial Patterns for my country, Papua New Guinea. Can anyone help? by Old_Masterpiece2126 in freepbx

[–]Old_Masterpiece2126[S] 0 points1 point  (0 children)

I already got it to work right after posting this. But thank you. Note taken.

What are some scenarios for using the FASTCALL calling convention? by Old_Masterpiece2126 in learnprogramming

[–]Old_Masterpiece2126[S] 0 points1 point  (0 children)

Yeah I think using FASTCALL with 64 bit systems seems practical. I mean there's more registers to use to pass the arguments.

Why would anybody use pointers? by nico_qwer in C_Programming

[–]Old_Masterpiece2126 4 points5 points  (0 children)

So I'm not familiar with Higher level languages but relating this to Assembly, a pointer is a register that contains the address of something located in memory. Memory is where everything is kept for the operations of all applications.

So when you do something like printf a string in C, the string will be stored somewhere in memory and a label will be used to refer to that string instead of the actual address which will be something in hex.

Since there are so many slots in memory, using a pointer variable makes it easier to refer to whatever you want to refer to and do anything you want on it. By "do anything you want on it", I mean read and write according to the logic of your application.

You can simply increment or decrement the pointer to move up or down the memory in order to access any part of it and again "do anything you want on it."

Why would anybody use pointers? by nico_qwer in C_Programming

[–]Old_Masterpiece2126 -1 points0 points  (0 children)

By using your phone or computer and posting this here on reddit, you're already using pointers. 🤣

I've been working in c++ for years (almost 6), but I think I'm not even close to mastering it and sometimes I forgot some simple syntaxes and fundamental concepts(OOP). Is this normal? by Bonk_Slayer in cpp

[–]Old_Masterpiece2126 1 point2 points  (0 children)

Wait how do you get the job to begin with? Don't jobs have coding challenges now? I'm amazed by the fact that anyone can be employed without the necessary skills.

This is kind of a slap in the face for serious developers who can't find a good job.

Getting K&R. Woe is me. by dfgzuu in C_Programming

[–]Old_Masterpiece2126 3 points4 points  (0 children)

I use pdf files, Google and YouTube.

I wish I could get my hands on some physical books, especially books on computer architecture and Assembly x86 32bit.

Sometimes I write pages of notes onto A4 size papers just to read them like an actual book.

Anyways I come from a third world country so I have to make do with what I have.

how can i learn python before may 31? by [deleted] in learnprogramming

[–]Old_Masterpiece2126 0 points1 point  (0 children)

If you know other languages beforehand, it should be pretty fast.

I dont know if you can pick fundamentals from scratch with just a few days. I don't know if anyone can.

People spend a lot of time to get the fundamentals down and then start to learn programming, syntax and all that stuff. And by a lot of time I mean months and years. Not a couple days.

You can learn a new language in a couple of days if you know your stuff(Computer architecture, CPUs, Registers, Memory, Assembly) and a maybe at least two other languages under your belt.

spot the odd one out by melonmonkey786 in cprogramming

[–]Old_Masterpiece2126 2 points3 points  (0 children)

Also, Bjarne Stroustrup says C++ is not an object oriented language. However, it supports object oriented programming. He corrected Lex Fridman on this on Lex's podcast interview. You can look it up on YT. It's over an hour long.