Pointers Questions

Ad
Ad

Warnings in gcc compiler

I'm gonna make a program that convolves a matrix, but first i need to create this matrix and load it with random numbers, but in my methods to do
Ad

CS50 - PSet4 (Filter) - Blur

I'm running the following code void blur(int height, int width, rgbtriple image[height][width]) { for (int i = 0; i <
Ad
Ad

Double pointer to struct

I have seen this program on the intel website, but i don't understand some lines. if you couldn't understand the program i appreciate it if you
Ad

Difference of Two Pointers

I'm reading computer systems: a programmer's perspective. in section 3.8.2 there is an example that says &e[i] - e equals i, assuming

Dereferencing NULL pointer in C

I am trying to allocate memory for 2 float vectors with a length of 1024 and fill them with some numbers. however, i get the warnings:
Ad
Ad

Incrementation using functions

I want to increment the value of a integer using functions in c. so first i wrote a function inc where i incremented the

Placement New Operator

#include<iostream> using namespace std; int main() { int buf[2]; int *p=new (buf) int(2); int *q=new (buf+1)
Ad

C Pass By Reference Misconception

Specifics matter. especially when talking about how something works, and even more so when we consider why something works. currently, as i

Javascript link list pointer

I'm trying to understand javascript's pointer by implementing my own linkedlist. the listnode class looks like this:
Ad
Ad

Blog Categories

Ad