works in shell but invokes memory error in browser

  • Thread starter Oliver Bleckmann
  • Start date
E

eriwik

this university project drives me crazy
if anyone could take a look at it...
it's a raw copy, dev status, first c project and bad style

If it's C then try comp.lang.c
 
G

Gavin Deane

Oliver said:
too much, few files and a lib folder...

Start chopping out small, self-contained chunks of code, on at a time.
After you remove each one, test the program again. If the problem is
still there, remove the next bit. If the problem goes away, whatever
you last removed was the cause. This process of repeatedly making the
program simpler and simpler is generally a useful one when debugging.
Of course, the opposite is true - when writing up a complex program,
you should write it in small increments, only moving on to the next
step when the previous one is written, tested and fully debugged, but
if you aren't starting from scratch sometimes that isn't possible.

In the process of trimming down your code, one step at a time, one of
two things will happen. Either you will end up with minimal, complete
problem code suitable for posting here for help (see the FAQ link
below), or you will find and fix the problem yourself.

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.8

Gavin Deane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,525
Members
44,997
Latest member
mileyka

Latest Threads

Top