Thread: core dump....

  1. #1
    Wannabe Coding God
    Join Date
    Mar 2003
    Posts
    259

    core dump....

    I get core dump when I run this code :


    Code:
    for(i=0;i<3;i++)
    	{
    	for(j=0;j<3;j++
    		{
    		for (k=0;k<5;k++)
    			{
    			for(l=0;l<20;l++)
    				{
    				fprintf(stdout,"%s", inv [i] [j] [k] [l]);
    				}
    			} 
    		}
    	}
    it also gives me this warning while compiling
    (for the fprintf line):
    warning: format argument is not a pointer (arg 3)
    They say that if you play a Windows Install CD backwords, you hear satanic messages. That's nothing; play it forward and it installs Windows.

  2. #2
    Wannabe Coding God
    Join Date
    Mar 2003
    Posts
    259
    never mind I fixed the code by writing taking away the last loop.
    They say that if you play a Windows Install CD backwords, you hear satanic messages. That's nothing; play it forward and it installs Windows.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. having a core dump
    By justins in forum C Programming
    Replies: 6
    Last Post: 05-21-2008, 12:00 PM
  2. STL vector core dump
    By creativeinspira in forum C++ Programming
    Replies: 9
    Last Post: 07-22-2007, 04:49 PM
  3. Core Dump in While()
    By KrepNatas in forum C Programming
    Replies: 5
    Last Post: 05-17-2005, 11:15 AM
  4. core dump
    By kermit in forum Linux Programming
    Replies: 0
    Last Post: 08-03-2004, 06:25 PM
  5. core dump
    By lonbgeach in forum C Programming
    Replies: 1
    Last Post: 04-07-2003, 03:34 PM