Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
initialize
- Page 1
Re: Best way to find a segment of code that matches a given input segment?
Programming
Software Development
2 Months Ago
by Dani
… similarity or another similarity measure to compare the articles. 1.
Initialize
a list of 1000 articles articles = [article1, article2, ..., … article target_article = articleX // The article to compare against 3.
Initialize
an empty list to store similarity scores similarity_scores = [] 4. …
initialize an array with 0
Programming
Software Development
14 Years Ago
by user543820
i want to reserve 4096 bytes in the memory and
initialize
all with zeros how should i do that?
initialize
: mov byte[array:di],0 inc di cmp di,4096 jne
initialize
array: resw 4096
Re: initialize an array with 0
Programming
Software Development
14 Years Ago
by NotNull
… in the accumulator and a pointer to the string to
initialize
in ES : DI. For a 4096 byte array do: [code…] mov cx, 4096 ;
initialize
4096 bytes cld ; Direction UP - to higher addresses mov es…:DI refer to string mov di, offset arr rep stosb ;
initialize
string [/code] STOSB with DF==0 is equivalent to: [code…
initialize and external component with vb.net
Programming
Software Development
17 Years Ago
by sheenaW
… external component with vb.net? I am trying to
Initialize
a biometric device that will scan a finger print from …
initialize the array at the time of creation
Programming
Software Development
15 Years Ago
by coded_hitec
Gentlemen, Is it possible to
initialize
the array at the time of creation?? I mean: int *a = new int[10]; // here array is only created. I wanna
initialize
the same too here itself. Is it possible???
Re: initialize the array at the time of creation
Programming
Software Development
14 Years Ago
by Nick Evan
… it. @coded_hitec: With what values do you want to "
initialize
" the array?
Re: initialize the array at the time of creation
Programming
Software Development
14 Years Ago
by coded_hitec
[QUOTE=finito;1215242]Why neg him, he is learning. WTF. int a [10]= [1,2,3,8,7,19,15,555,1024,12458] Peace[/QUOTE] Sir, I am asking is it possible to
initialize
a array which is created dynamically using new operator
Re: initialize the array at the time of creation
Programming
Software Development
14 Years Ago
by Nick Evan
Again:
Initialize
with what?
Initialize matrix
Programming
Software Development
16 Years Ago
by booker
Hello I think this is easy for experienced C++ users. I want to define and
initialize
a [512][512] matrix. The problem is that when I do int matrix[512][512] I get an error and the program it shuts down. I think this has to do with max reserve memory. What can I do? Thank you
Re: Initialize matrix
Programming
Software Development
16 Years Ago
by Nick Evan
… easy for experienced C++ users. I want to define and
initialize
a [512][512] matrix.[/quote] You probably don't. Tell…
Re: Initialize matrix
Programming
Software Development
16 Years Ago
by booker
I
initialize
the matrix as following and when then I cout, the program crashes... [code] int matrix[512][512]; for(i=0;i<512;i++){ for(j=0;j<512;j++){ matrix[i][j]=-1; } } cout<<matrix[100][100]<endl; [/code]
Re: Initialize matrix
Programming
Software Development
16 Years Ago
by siddhant3s
>>I
initialize
the matrix as following and when then I cout, the …
Initialize Structured Array using For Loop
Programming
Software Development
16 Years Ago
by goldstmarc
Hey everybody, I am trying to
initialize
a deck of cards using a structured data type. Here …
initialize or set a value at the begining
Programming
Software Development
13 Years Ago
by clickspiker23
… method cannot be used as a function. how can i
initialize
or set them to the values so it works. thanks…
initialize a private static std::list
Programming
Software Development
12 Years Ago
by umesh_at_dani
how/where to
initialize
a static private std::list member ?
Re: initialize a private static std::list
Programming
Software Development
12 Years Ago
by mike_2000_17
…<int>(); Or with whatever else you want to
initialize
it with.
Re: initialize a private static std::list
Programming
Software Development
12 Years Ago
by rubberman
"Or with whatever else you want to
initialize
it with." Or nothing at all, and let the …
initialize a public variable
Programming
Web Development
10 Years Ago
by kingwash
<?php $b=('some data from db') class one{ public $a=$b; } i want to
initialize
the $a with a variable outside the class, but it is not working. Please how can do this. Thanks in advace
Re: initialize a public variable
Programming
Web Development
10 Years Ago
by diafol
… access them at all from outside the class, only to
initialize
them, then you're probably better off passing the data…
Initialize a function pointer with a class member function?
Programming
Software Development
10 Years Ago
by furalise
… to understand. In my code below, I am trying to
initialize
a function pointer with a class member function but I…
Re: Initialize Array in Constructor Error
Programming
Software Development
13 Years Ago
by raptr_dflo
…: declare the array as a member of your class, and -
initialize
- it in the constructor. Unless, for whatever reason, the array…
Re: Using memset to initialize non POD?
Programming
Software Development
13 Years Ago
by mike_2000_17
…) Use malloc and placement-new: [CODE] //create and
initialize
MessageQueryTester*
initialize
() { MessageQueryTester* self = (MessageQueryTester*)malloc(sizeof(MessageQueryTester)); new… use the regular new operator: [CODE] //create and
initialize
MessageQueryTester*
initialize
() { return new MessageQueryTester(); }; [/CODE] Anything else …
Using memset to initialize non POD?
Programming
Software Development
13 Years Ago
by stereomatching
… to what I know, memset can't be used to
initialize
POD This is the snippet of our codes(The problem…;std::string> > support_models_; }; [/code] [code] //create and
initialize
void*
initialize
() { MessageQueryTester* self = (MessageQueryTester*)malloc(sizeof(MessageQueryTester)); memset(self, 0, sizeof…
Static Get/Set Initialize When Needed - Does This Work?
Programming
Software Development
9 Years Ago
by JOSheaIV
…#endregion The idea behind this is the code won't
initialize
the Dictionary of "NumericLengths" until I need it…mixed results. There have been times I feel they
initialize
themselves, even before anyone accesses them, while other …working in the sense that the Get will not
initialize
the collection until the first time it is accessed…
Re: Static Get/Set Initialize When Needed - Does This Work?
Programming
Software Development
9 Years Ago
by JOSheaIV
…test code (to show the static property itself doesn't
initialize
right away). I am just trying understand the underlaying … use often). Again I have a project that I
initialize
for instance these static properties when they are first called…in my later example, I see that property doesn't
initialize
itself right away, why I was using public so …
how to initialize char* ?
Programming
Software Development
17 Years Ago
by Agni
Hi.. whats the best way to
initialize
a char* ? i tried using char* p = ""; and …it gives segmentation fault at times. not sure how to
initialize
it. this is the function where i'm using it…
How to initialize a vector of pointers?
Programming
Software Development
16 Years Ago
by klactose
Hello, I am wondering how do we
initialize
a vector (or even an array) of pointers when the … pointer be added to the vector. So how can I
initialize
[COLOR="Green"]passengers[/COLOR] so that if I…
Unable to initialize TldLocationsCache: invalid entry CRC
Programming
Software Development
16 Years Ago
by nishantdaniweb
… fulfilling this request. exception org.apache.jasper.JasperException: Unable to
initialize
TldLocationsCache: invalid entry CRC (expected 0xa6729df but got 0x8bbb8379) org….java:96) root cause org.apache.jasper.JasperException: Unable to
initialize
TldLocationsCache: invalid entry CRC (expected 0xa6729df but got 0x8bbb8379) org…
Re: Using memset to initialize non POD?
Programming
Software Development
13 Years Ago
by stereomatching
… a raw memeory block for us, but using memset to
initialize
all of the data? what is the meaning of setting…
Re: Static Get/Set Initialize When Needed - Does This Work?
Programming
Software Development
9 Years Ago
by pritaeas
…/library/k9x6w0hc.aspx You can use a static constructor to
initialize
your fields. The only problem is that you have absolutely…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC