Thread: Problem With File size

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    3

    Question Problem With File size

    I am now working on a project named in gooey which is a GUI builder . The project has about 10,0600 lines .... but when i add more lines upto 10,0650 then as i try to start my program it quits on loading . One of my friends said that it is due to the stack limit .. I tried to change the limit but no effect ...

    Please help me ......

    I had created in a form of header file system



    |- Header1.h -----
    start1.cpp ---
    | - Header2.h----


    If you dont understood the problem the place a reply .. i will explain more to you .. Please help me .. I wana to submit the project at 8-11-2005 .. please help ......

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    1. how many is 10,0600 ? is it 100,600 or 10,600 or possibly something else?

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    131
    Quote Originally Posted by vinodsr
    I am now working on a project named in gooey which is a GUI builder . The project has about 10,0600 lines .... but when i add more lines upto 10,0650 then as i try to start my program it quits on loading . One of my friends said that it is due to the stack limit .. I tried to change the limit but no effect ...

    Please help me ......

    I had created in a form of header file system



    |- Header1.h -----
    start1.cpp ---
    | - Header2.h----


    If you dont understood the problem the place a reply .. i will explain more to you .. Please help me .. I wana to submit the project at 8-11-2005 .. please help ......
    If I am not mistaken the stack has no "limit", its your computer that has a limit.

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    Just break it up into separate files. Put half of start1.cpp into a new file called start2.cpp, then add start2.cpp to your project or makefile.

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    131
    Quote Originally Posted by vinodsr
    I wana to submit the project at 8-11-2005 .. please help ......
    To late....

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    That's probably Day-Month-Year format... common in many parts of the world.

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    131
    Ahhh...

    Silly me....

  8. #8
    Registered User
    Join Date
    Nov 2005
    Posts
    3

    soory

    Quote Originally Posted by Ancient Dragon
    1. how many is 10,0600 ? is it 100,600 or 10,600 or possibly something else?
    its 10,600 .... soory

  9. #9
    Registered User
    Join Date
    Nov 2005
    Posts
    3
    plese give me help to create a make file in cpp (turbo) ...

  10. #10
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Compliers make a makefile when ever somthing is compiled.
    So how wqould you need help making one?

  11. #11
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    You want a project. I don't know how to do it in Turbo C++, though. (That is what you're using, right?)
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  12. #12
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Do you need to use Turbo C++? There are other compilers you could use, too, like Dev-C++.

    [edit]
    Here's a help page for making projects in Turbo C++ (click on Turbo C++ 3.0 or whatever you're using): http://www.horstmann.com/ccc/help/borlcomp.html
    [/edit]
    [edit=2]
    Or here looks even better:
    http://mechatronics.mech.northwester...a_project.html
    Or you can look through google's results yourself.
    [/edit]
    Last edited by dwks; 11-05-2005 at 04:56 PM.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Subtle(?) File I/O Problem
    By cecomp64 in forum C Programming
    Replies: 9
    Last Post: 07-16-2008, 11:39 AM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  3. Invalid conversion from 'void*' to 'BYTE' help
    By bikr692002 in forum C++ Programming
    Replies: 9
    Last Post: 02-22-2006, 11:27 AM
  4. file size problem
    By arjunajay in forum C++ Programming
    Replies: 10
    Last Post: 08-03-2005, 05:26 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM