Thread: Data type

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned
    Join Date
    Apr 2015
    Posts
    596

    Data type

    Hi ! for some purposes I want my program to do a matrix with size
    which is:
    size=10000000000
    which the matrix will be on size 100000*100000
    what data type should I used? it's integer but I mean long integer or what? because while ordering my program to print that value, in my command console doesn't appear anything, and tells me process finished with exit code -1073741819.
    Afterwards I tried to print instead of size=10000000000 , I tried size=60
    it printed out to my screen, any clue what's going on? and how can I deal with that big number?
    I used
    Code:
     printf("%llu", matrix[i][j]);
    and it didn't prints out!

    thanks alot
    Last edited by RyanC; 05-08-2019 at 07:22 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 17
    Last Post: 08-05-2018, 06:59 PM
  2. Replies: 2
    Last Post: 05-14-2011, 09:26 PM
  3. store string data as a short or other data type
    By robin2aj in forum C Programming
    Replies: 5
    Last Post: 04-07-2010, 11:02 AM
  4. data type for hex
    By cutelucks in forum C Programming
    Replies: 3
    Last Post: 04-29-2007, 07:57 PM
  5. What Data type.........
    By Nectron in forum C++ Programming
    Replies: 2
    Last Post: 07-10-2003, 06:34 AM

Tags for this Thread