Thread: multi processing

  1. #1
    Registered User
    Join Date
    Nov 2004
    Location
    Slovenia, Europe
    Posts
    115

    multi processing

    I am working on an application, that causes Windows to restart, but I need to faster it. I would like to use multi-processing, that the RAM will be emptied faster. How can I do it?

    PS: I am using Win98 and Dev C++...

  2. #2
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Err... What are you writing?

    You won't be able to get 'multi-processing' without multiple processors. There are ways to get things done so it looks like multiple tasks are going on simultaneously, but they really aren't.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  3. #3
    Registered User
    Join Date
    Nov 2004
    Location
    Slovenia, Europe
    Posts
    115
    i am writing a Windows-crash program:

    Code:
     #include <iostream.h> 
     
    int main()
    {
    int i;
    float max;
    max = 1000000;
    for(i = 0; i < max; i++)
    {
    string *i; 
    i = new string; 
    *i = "aaaaaaaaaaaaaaaaa"; 
    cout << i << "\n"; 
    }
    return 0; 
    }

  4. #4
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    I see... I don't particularly see any good coming from this. My statement above about 'multi-processing' still holds, and other than that, all I'll say is that <iostream.h> is deprecated .
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  5. #5
    Lead Moderator kermi3's Avatar
    Join Date
    Aug 1998
    Posts
    2,595
    I do not see anything productive and non-harmful coming out of this thread (See rule 6). Thus it is closed. If anyone disagrees with me and would like for it to be reopend, please PM me and I'll be happy to reconsider.

    Kermi3
    Kermi3

    If you're new to the boards, welcome and reading this will help you get started.
    Information on code tags may be found here

    - Sandlot is the highest form of sport.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reentrant Message Processing (WndProc)
    By phantomotap in forum Windows Programming
    Replies: 7
    Last Post: 04-28-2009, 10:44 AM
  2. What types of files can C++ file processing handle?
    By darsunt in forum C++ Programming
    Replies: 9
    Last Post: 10-28-2008, 11:33 AM
  3. Sub Array Processing
    By GCNDoug in forum C++ Programming
    Replies: 8
    Last Post: 11-28-2007, 04:41 PM
  4. Using a lot of processing time!
    By nickname_changed in forum C++ Programming
    Replies: 0
    Last Post: 09-25-2003, 03:44 AM
  5. file writing crashes
    By test in forum C Programming
    Replies: 25
    Last Post: 08-13-2002, 08:44 AM