Search:

Type: Posts; User: 182blink

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    737

    Question about memory

    Hi, I'm trying to load in a 10,000 x 10,000 matrix of chars (so about 100MB), but my program keeps crashing. I can define the array at 100 x 10,000, but as soon as I try 1,000x10,000 it crashes. ...
  2. Replies
    3
    Views
    1,864

    Okay, so reading in is good with an array...

    Okay, so reading in is good with an array [1..10000][1..10000] of bits for 12.5 megs.

    Determining the hamming distance between each of these vectors will require another array [1..10000][1..10000]...
  3. Replies
    3
    Views
    1,864

    Reading in large arrays ...

    I'm looking at the ITA problem "BitVector Genealogy" at

    Current ITA Software Hiring Puzzles

    It involves 10,000 vectors of 10,000 bits each. I'm not used to dealing with this much info. My...
  4. Replies
    3
    Views
    2,089

    Thanks for the reply ... just to clarify,...

    Thanks for the reply ... just to clarify, fieldPos[x] is actually a 2 dimentional 50x50 array??
  5. Replies
    3
    Views
    2,089

    passing 3 dimentional array into function

    hi, i'm looking to pass the array fieldPos[9][50][50] into a function which then changes some of the values of fieldPos[x] (ie want to pass one of 9 possible 50 by 50 maps into the function) and...
  6. Replies
    5
    Views
    1,283

    i don't know ... my program is static, there is...

    i don't know ... my program is static, there is no user input, so it should be the same every time. basically it reads in a file and outputs some text based on that file. even if the file changes,...
  7. Replies
    5
    Views
    1,283

    problem compiling ...

    Hey everyone,

    I'm applying for a job .. I submitted a puzzle that works very well, but got an email back saying that they couldn't compile it. i am using mingw / msys to compile and run my...
  8. Replies
    9
    Views
    2,266

    you rock, thanks

    you rock, thanks
  9. Replies
    9
    Views
    2,266

    if i replace null with EOF i get "warning:...

    if i replace null with EOF i get "warning: comparison between pointer and integer"

    how can i check for blank lines? i tried "\n" instead of NULL but my program crashes

    here is my actal code...
  10. Replies
    9
    Views
    2,266

    reading data from a txt file

    I'm trying to read a series of ASCII maps from a file, each map is separated by a blank line, and is preceeded by a value (which is needed)

    ie.




    15
    xxxxxxxaaxxxxxxx
    xxxaaaaaaaxxxxx
  11. Replies
    8
    Views
    1,056

    thanks, fflush(stdout); works great. i do have...

    thanks, fflush(stdout); works great. i do have printf ("\n"); in the loop twice, but fflush seems to do the trick. thanks for the help.

    -Sean
  12. Replies
    8
    Views
    1,056

    code...

    i don't have code on me right now, but basically my program goes through a nested loop many times, each time printing out about 10 lines of text. what happens right now is that instead of printing...
  13. Replies
    8
    Views
    1,056

    newbie question ....

    Hey all, this should be a one line answer, but i can't find out how to do it. when i run a program, the output usually comes out in bunches, like nothing for 20 secs, then a ton of output, then...
Results 1 to 13 of 13