zeroing out an array

Category : C & C++ & C#

when I try to assign using the expression:

my compiler throws the following error: "invalid conversion from ‘const char*’ to ‘char’.

Any idea on what's wrong? Any idea on how to solve the problem?

View Replies
Tags : zeroing out array

Related to : zeroing out an array

zeroing an array
Category : Excel
Hello my helping friends
Is there a command line that would zero an aray without looping.
Example: if col(1 to 10) is an aray that stores the summation of values in 10 columns how can I reset the array so that
col(1) = 0
col(2) = 0
col(10) = 0
before I us

View Replies

TAGS: zeroing array

zeroing out array
Category : Webmasters
Hello all,
Im new to javascript but I would like to know, what is the correct way to zero out an array and could someone provide a simple code.

View Replies

TAGS: zeroing array

zeroing MBR
Category : Development Tools & Services
zeroing MBR
  dd if=/dev/zero of=/dev/sdb bs=446 count=1

Will this target the USB-attached HDD, and NOT target the local drive?

View Replies

TAGS: zeroing

[b]Zeroing out the Zero[/b]
Category : Excel
Can anyone help save this working man's wallet? :help:
I have two sets of monthly expense figures, budgeted (A1) and actual (B1). In C1 I have =IF(A1=0,0,B1/A1) to calculate how much in % the actual is over or under the budget without having a #DIV/0! if the budgeted is zero.
But if bot

View Replies

TAGS: Zeroing Zero

zeroing out memory
Category : Programming Languages

gcc 4.4.4 C89

I am just wondering what most C programmers do when they want to zero out memory.

For example, I have a buffer of 1024 bytes. Sometimes I do this:

char buffer[1024] = {0};

Which will zero all bytes.

However, sho

View Replies

TAGS: zeroing memory

Zeroing bits
Category : C & C++ & C#

Is this the proper way to zero the first 12 bits of an address?

void *ans = (void*)((unsigned long)addr & ((0UL - 1) ^ 0xfff));

Where addr is any user process memory address..

Note this method works...I just want to know if there is a better way

View Replies

TAGS: Zeroing bits

zeroing a variable
Category : Design Software
what could I do to re-zero a variable?? so that is obviously always goes back to zero?

View Replies

zeroing out a harddrive
Category : C & C++ & C#
I'm looking to zero out my hard drive for a clean install of the os.
I want to write over the current data with all 00000 or 111111.
I've heard it refered to as zeroing out the drive.
How do I do this?
I have a few pc books in regards to linux and windows, but nothing lists this

View Replies

Cells Zeroing Out
Category : Excel
All, I have a work file that has a number of financial statements which are all on different tabs. As soon as I open this file, I can see the numbers in the financial statements but within seconds they all go to zero. I am trying to understand why they are zeroing out. Within each individual cell

View Replies

TAGS: Cells Zeroing

zeroing out time clock
Category : Excel
Hi all. I'm using the computer clock as a timer in my program. I can't figure out how to start the clock off at 00:00:00 and have it run from there. Here's the code, runs with the press of a button but it starts with the current time. Any ideas?
Sub UpdateClock()
Dim NextTick

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .