Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
allocate
- Page 1
Re: Balancing organic and paid digital marketing strategies
Digital Media
Digital Marketing
2 Months Ago
by bessieexum
Integrating organic and paid digital marketing involves taking an opportunistic approach that leverages both organic strategies, such as SEO and content marketing, for long-term credibility-building benefits while taking advantage of PPC ads for instantaneous visibility and long-term brand growth, optimizing ROI and market presence in tandem. This …
Re: Assigning c strings to nodes?
Programming
Software Development
16 Years Ago
by Dave Sinkula
Allocate
enough room for the string and if successful strcpy it.
Re: Error
Programming
Software Development
17 Years Ago
by Ancient Dragon
allocate
the array with either malloc() or new, depending on whether you are writing a c or c++ program.
Re: Error:Null Pointer assignment
Programming
Software Development
18 Years Ago
by comwizz
allocate
some memory to acc_tpe---try dynamic memory if…he is going to enter how should I dynamically
allocate
memory.for eg. if he is going to enter… Dick , I have to
allocate
5 bytes without the users specification about the letters he… have to search for a null character and then
allocate
the memory . I cant figure out how that …
Re: Wandering Aimlessly
Programming
Software Development
14 Years Ago
by WaltP
… of memory when recording starts. If you need more space,
allocate
another temporary chunk -- not one at a time -- to save… time. Keep track of your chunks. When you stop recording,
Allocate
one more chunk just large enough to hold the entire… should get you started. Also, look into [I]re[/I]
allocate
commands. They may help, too.
Re: Large Char Array
Programming
Software Development
15 Years Ago
by bugmenot
allocate
it dynamically from the heap, which is usually much larger
Re: problem in padding a string
Programming
Software Development
15 Years Ago
by Ancient Dragon
allocate
and top the string first then reset pointer a [code] char* temp = new char[n]; char* p = temp; memset(temp,' ',n); temp[n-1] = 0; //null terminate memcpy(temp, a, strlen(a)); a = temp; [/code]
Re: new C++ user help
Programming
Software Development
14 Years Ago
by Ancient Dragon
allocate
it [code] class MyClass { // blabla }; int main() { MyClass* pClass = new MyClass; } [/code]
Re: calculating averages in loops
Programming
Software Development
12 Years Ago
by zeroliken
allocate
memory using the new operator and save the address of …
Allocate memory for an array inside a struct
Programming
Software Development
13 Years Ago
by MarounMaroun
… of this wonderful and helpful site. I'm trying to
allocate
a new array (lets say of size 10) inside a…
Re: Allocate memory for an array inside a struct
Programming
Software Development
13 Years Ago
by MarounMaroun
wow... I can't believe I did that.. Is everything beside that ok? That's how I should
allocate
memory to an array inside a struct?
ALLOCATE MEMORY FOR THREE STRING
Programming
Software Development
11 Years Ago
by general2012
I am trying to
allocate
memory for three string and print it to screen.but …
How to allocate memory dynamically on stack ?
Programming
Software Development
14 Years Ago
by tajendra
…calls Comes into mind. They help us to dynamically
allocate
memory on the heap. For e.g. [… logic …. free(pszLineBuffer); return 1; }[/CODE] Above code would
allocate
1024 bytes on heap dynamically. After the complete use of…stack.So the answer is yes. We can
allocate
variable length space dynamically on stack memory by using…
I need help with dinamicaly allocate and array structures
Programming
Software Development
13 Years Ago
by aquario20
…call getClassData function here to capture user input // Dynamically
allocate
an array of StudentInfo for the number // of … exercises for // each student // now we will
allocate
an array to hold programming exercise scores ptrStudentInfo->…
Re: How to allocate memory dynamically on stack ?
Programming
Software Development
14 Years Ago
by tajendra
Yes very true, above article is specific to Microsoft Visual Studio. Where we get one way to
allocate
memory dynamically on stack.
Re: dynamically allocate memory question
Programming
Software Development
13 Years Ago
by Banfa
… allocating it? Generally the way round to do things is
allocate
the memory for an object and then copy the data… 2 arguments, destination and source. When you
allocate
through malloc you need to
allocate
enough memory for the object you want to… hold. You have
allocate
sizeof(char) or 1 byte but you want to hold…
Re: dynamically allocate memory question
Programming
Software Development
13 Years Ago
by martinjcloud
… allocating it? Generally the way round to do things is
allocate
the memory for an object and then copy the data…2 arguments, destination and source. When you
allocate
through malloc you need to
allocate
enough memory for the object you want to… hold. You have
allocate
sizeof(char) or 1 byte but you want to hold…
Macro for dynamically allocate multidimensional arrays
Programming
Software Development
16 Years Ago
by vidaj
… my first post. I often have the need to dynamically
allocate
memory for arrays with multiple dimensions. In my opinion I… time I need one. I have created this macro to
allocate
memory for a three-dimensional array, regardless of type: [CODE…
Re: Macro for dynamically allocate multidimensional arrays
Programming
Software Development
15 Years Ago
by trinadh1729
… my first post. I often have the need to dynamically
allocate
memory for arrays with multiple dimensions. In my opinion I… time I need one. I have created this macro to
allocate
memory for a three-dimensional array, regardless of type: [CODE…
Re: malloc does not allocate beyond 65872
Programming
Software Development
14 Years Ago
by aflneto
What I was trying to say malloc cant
allocate
that much memory. It can
allocate
a maximum of 64kb of memory in one… question. farmalloc() function on the other hand allows you to
allocate
blocks larger than 64kb.
read() only allows to allocate 32bit on 64bit linux
Programming
Software Development
14 Years Ago
by monkey_king
… on ubuntu64bit, that limits the data you are allowed to
allocate
on a 64bit platform using the c function 'read()' The… following program wont allow to
allocate
more that 2.1gig memory. [CODE=c++] #include <stdio…
dynamically allocate memory question
Programming
Software Development
13 Years Ago
by martinjcloud
… trying to make a copy of the string before i
allocate
it. So im using strcpy(). But im still having issues…
Re: Macro for dynamically allocate multidimensional arrays
Programming
Software Development
16 Years Ago
by vidaj
…-neutral, i.e. the same macro can be used to
allocate
strings, doubles, structs etc, but I have to create separate…
Re: dynamically allocate memory question
Programming
Software Development
13 Years Ago
by martinjcloud
…(); return 0; } [/code][/QUOTE] ok Now that i got to
allocate
the string. Next step is to display the string in…
Help:Allocate 1mb memory and save of different types
Programming
Software Development
15 Years Ago
by ambarisha.kn
hi, i have some data in variables of different types.(short, int, long, float, char, double). now i have to create one pointer, have to
allocate
1mb memory and have to store one by one in that pointer. How to do this.. plz give some clues to start.. which type i have to create a pointer..
Using auto_ptr or shared_ptr to allocate memory to a structure
Programming
Software Development
15 Years Ago
by ronan_40060
… for better memory management. Can some show me how to
allocate
a memory to a structure using auto_ptr or shared_ptr ? Many…
Re: Using auto_ptr or shared_ptr to allocate memory to a structure
Programming
Software Development
15 Years Ago
by ronan_40060
…->recordType, 4); Previously for normal char* i used to
allocate
memory like char *dce_sTabName = (char *)malloc(strlen(sTabName.c_str())+1…
can we allocate a 2d array dynamically in c
Programming
Software Development
15 Years Ago
by bhavya_talluri
i just want to know whether we can
allocate
a 2d array dynamically . Dynamically in the sense can we add both rows n columns when ever we want.
PHP Fatal error: Out of memory (allocated 4295491584) (tried to allocate 8589934593
Programming
Web Development
14 Years Ago
by Shuel
…: PHP Fatal error: Out of memory (allocated 4295491584) (tried to
allocate
8589934593 bytes) the line its complaining about is as following…
malloc does not allocate beyond 65872
Programming
Software Development
14 Years Ago
by AutoC
Hi, I need an array of approx. 2,00,000 elements.But malloc fails to
allocate
beyond 65872. When I give (short int*)malloc(sizeof(short int)*65000); It works but seg faults when I give (short int*)malloc(sizeof(short int)*66000); whatsup with that?
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
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
© 2024 DaniWeb® LLC