234 Topics
|
|
Hello I have a problem with my vba collection object. When I run the code below I get the "out of stack space (error 28)" message. It seems to me that my collection shouldnt take up so much memory as the each object in it is just a set of … |
|
Here's a new take on an old problem. I followed the other thread where problems with the memory slots on the old Toshiba Tecra 8100 were gradually losing contact with the mobo, and some had found a temporary solution - placing a piece of paper over the memory module to … |
|
Take a look at this program. [CODE] #include <iostream> using namespace std; struct Node { int data; Node* link; Node() { data = 0; link = NULL; } }; void destroy(Node* &p) { Node* pre; while(p !=NULL) { pre = p; p = p->link; delete pre; // When running for … |
|
Hello again. For the current lab, we're working with strings and pointers. I'm trying to keep this one simple and get one step working right before I move on to the next. However, if I have subsequent issues with this lab, I'll just use this same thread rather and make … |
|
Hi all, I'm making a miltithreaded program that uses the pthreads library. One of the threads monitors the users input. my problem is when I enter a close command I get the following error: 9 [sig]...: *** fatal error - called with threadlist_ix -1 make: *** [run] Hangup I know … |
|
Hello, everyone. I have a small program, and i want that program to show how much RAM the whole system is using, and i want it to show how much R.A.M my program is using, any ideas on how to do that? is it hard? |
|
I am using ext4 filesytem on fedora 13 and also Windows 7. Tried linux internal reader, ext2fsd and many more to fetch data from ext4 partition but unable to do so. Can any one help to access data in Linux partition from Windows 7. Thank You |
|
I am using ext4 filesytem on fedora 13 and also Windows 7. Tried linux internal reader, ext2fsd and many more to fetch data from ext4 partition but unable to do so. Can any one help to access data in Linux partition from Windows 7. Thank You |
|
Hello everyone, I currently have an application that reads in an entire excel file then iterates through the records from the file and queries our database for a match. If a match is found the record is ignored if a match is not found the record gets added to the … |
|
i use Dell inspiron 530 system with core 2 duo e4400 2 g hz processor. and 1 GB ram. vista home premium OS. now a days I face lot of problems during post boot up period(almost hang). when I check RAM in- computer->system it shows 501 MB RAM. This means … |
|
I know this is a horrible way to do this, but I'm trying to test out several things that I've learned at once in this code. It's meant to ask you how many numbers you want to add using dynamic memory, then push them on to the stack, and add … |
|
How does an optimizing c++ compiler determine when a stack slot of a function(part of stack frame of a function) is no longer needed by that function, so it can reuse its memory? . By stack slot I mean a part of stack frame of a function, not necessarily a … |
|
Hello, How can I save a string input as a double linked list in dynamic memory in C++? Thanks in advance |
|
We have two ways 2 access files . Open and its friends and mmap system call . When to use mmap() and what are its advantages? |
|
Hey everyone, This is my first post so please bear with me. I've had my own build desktop for some years, but last week the CPU died, it would start up, only to fail. So I'm thinking of getting a new motherboard and CPU, and was hoping for some recommendations. … |
|
Hy. I have to make a program to crypt a text entered from the keyboard whith aes 256 , but i have problems when i try to split the text in two.I get a bad_ptr when i declare unsigned char** intext=new unsigned char* [16]; [CODE] #include<iostream> #include <fstream> #include<conio.h> #include … |
|
During runtime when a program asks for a memory block (say, by malloc()), its provided with a block of virtual addresses, say 0x10000000 to 0x1000A00 (for 32 bit). During the execution, other processes are incorporated into the main memory and pages 0x10000000-0x100000A0 are paged out. After some time, the program … |
|
I was wondering whether it was possible to use dynamic memory or something else to achieve something to the effect of entering numbers or a string using standard input without first having to specify how many instances you intend to enter. If this can be done through some other method … |
|
Hi, I have C# .net application which reads data from the serial port and launches a new thread to process the data when all data has been read (end of data is determined by timing constraints). I create a new object where the thread will run, copy the data that … |
|
[ATTACH=right]14704[/ATTACH][B]Reviewer's View[/B] I'm the kind of person who has an almost religious fervour when it comes to keeping data backed up, perhaps unsurprisingly as I am an IT professional and my livelihood depends upon it. So when it came to the hands-on testing of System Mechanic 9.5 for this DaniWeb … |
|
I'm working on a program that will get a list of words from the user and rearrange it in alphabetical order. So far it works but I think it may have some memory issues because I was testing an alternative way of asking the user how many arrays will be … |
|
Hi, every one. I am Mandy from DeSol. I have HP/IBM server memoris and hard disk drives for sell. If anyone need them, you can contact with me (mwilliams@shopdesol.com) or view the website ([url]www.shopdesol.com[/url]), I can give you the best prices. |
|
Hi, I have created a class which is a "font searcher" the idea being that it will detect the font required for a given string in any language by getting each available font's unicode range(s) and comparing those ranges to the ones found in the string. This is working perfectly … |
|
I understand that this means I'm using more memory than is available to the JVM, but I'm not sure why or what to do about it. The purpose of the program is to simulate an item in a store that is being tracked with a bar code id number (or … |
|
Sir/Maam, please suggest me some very simple tutorials explaning right from the basics of such functions . I am doing C since 6 months and was looking at a tutorial of BEEJ's guide to network programming.. there at looking at a source code i found these functions and am really … |
|
hey, I need to make a program that • Define a default array size. the size HAS to be 15. • Define a function “ResizeArray” which virtually increase the size of an array, by creating a new array with the size of the old array plus the default array size … |
|
Hi all, in a piece of code like this: [CODE] void Logger::logMsg( int msgLevel,const char* msg) { char input[strlen(msg)]; ... } [/CODE] is the input array dynamically allocated? In this case, do I have to use the delete [] in order not to have a memory leak? thank you! |
|
Dear all, I am writting a code for high dimensional chebyshev interpolation. Since it is high dimensional, I MUST use extremely large arrays. Something like this: [CODE] #define DIM (int)2 #define TOTAL_STEPS (int)30 int main(){ double *a_data; long long a_dim; /** length of matrix a_data **/ int n; /** # … |
|
Hy, Let's say that I have class Node with some parameters Node[] child's, string id, string content ... This class is like a another storage for data from mssql database. And that web-application is running on IIS server and is written in ASP.NET C# Now when one user open that … |
|
Hi all! So our T.A. gave us a function to use in our programming assignment as follows: [code=php] struct node *delete_from_list(struct node *list, int examnum) { struct node *cur, *prev; for (cur = list, prev = NULL; cur != NULL && cur->examNumber != examnum; prev = cur, cur =cur ->next) … |
The End.