Search:

Type: Posts; User: mary18

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    Thnx

    Heyyy guys!
    now u go like: "oahhh not her againnn! with her stupid Q's!" ;) no don get me wrong this time! no more Q's on C! I'm done!:)
    just wanted to say ThanK YoU to all of u guys that were of...
  2. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    down

    Hi,
    I'm still stock on the last phase! :(
    Mats, I am supposed to do it jus the way I explained it to u! each cell havin the list of all cells to which it is related!
    I have a snippet of my prog...
  3. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    thanx 4 replying! ok right, sounds like a good...

    thanx 4 replying!
    ok right, sounds like a good idea to have the formula as a part of the cell struct!
    and then when loading the file and building the lniked list, the list is also set to be a part...
  4. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    -

    Hi,
    I got it but in a different way!
    I have the file in such a way that the data for each row is put in a single line in the file and each value on that line is put inside braces! so each time I...
  5. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    ok seems like I have to forget about the part...

    ok seems like I have to forget about the part related to display,as its gonna take lots of time apparently!
    Guys I also have another problem! in this prg the user has 2 options, either to create a...
  6. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    right on target Mats! "1. Freeing memory that you...

    right on target Mats! "1. Freeing memory that you didn't allocate" was the case for me!
    I had put the freeing part out of my switch case with no check on the fact that if there's any mem allocated,...
  7. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    ok, while I was waiting for ur reply I tried...

    ok, while I was waiting for ur reply I tried another way of solving it too and it worked! I just put gets("\n") right after the scanf so to bring the newline out of buffer!
    Adak I'm having yet...
  8. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    um... and where do I need to put that? how come...

    um... and where do I need to put that? how come u've put a semicolon at the end? is it a typo?!
    could u plz extend ur code snippet a little bit so that I can see how this works exactly!?
  9. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    well I tried it with fgets too; yeah I know gets...

    well I tried it with fgets too; yeah I know gets is the worst choice! I'll try to avoid it!
    yes, I do have an scanf before that! cuz its a switch case part, so I have an scanf for reading the case #...
  10. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    Guys I've got a weird problem in my prog!!! its...

    Guys I've got a weird problem in my prog!!! its so crazy cuz I can't get to know whats wrong!:(
    I was trying to debug a part of my prg, so stepping over the prg, the way it usually is! everytime...
  11. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    Yes, that is a peeudo code! ok so just to make...

    Yes, that is a peeudo code!
    ok so just to make sure, this is exactly what I have to have:

    for (int i = 0; i < m ; i++ )
    free(2Darray[i]);
    free(2Darray);

    right?!?
  12. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    yeah I know, this A to Z part has one of the key...

    yeah I know, this A to Z part has one of the key roles of my prog!
    but I think I finally got it working properly! :)
    Now do u guys know how to free a memory allocation done for a 2D array?!
    like...
  13. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    O.K. Adak, I see the point! thanks alot for ur...

    O.K. Adak, I see the point! thanks alot for ur reply! :)
    by the way seems like u're kinda interested in the A to Z thing! huh?! ;)
  14. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    -

    ok now how do we split the letter from the number part, in like AB34?? there should be some str.. predefined funct for that! I was gonna use strtok, but as the sec arg it needs a delimiter and I can...
  15. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    -

    ok, I see the point now!
    how about this? like the ascii code for A through Z is 65 through 90 right?
    so if we have a single letter like A thru Z, then we'd do: ascii code of that letter minus 65....
  16. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    Hey Adak! thats ok! :) ;) At least thats the...

    Hey Adak!
    thats ok! :) ;)
    At least thats the only part u might have got confused about! I'm confused about the whole thing following the calc part! :(
  17. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    what do u mean? 12 is already an integer number!...

    what do u mean? 12 is already an integer number! what coversion r u talkin about!? like int number =12;
  18. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    Mats, unfortunately I can't see anything! :( like...

    Mats, unfortunately I can't see anything! :( like A to Z is 0 to 26, and then the next 26 would be AA to AZ and so on! but I can't figure out a loop for that! like we can't go by comparing what we...
  19. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    oh and for Adak's idea, how is each cell assigned...

    oh and for Adak's idea, how is each cell assigned an ID like AB45 ? and also how do we convert the alhpabetical col into its value so like AB to 28?!
  20. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    ok Adak, so u mean instead of tracking the cell...

    ok Adak, so u mean instead of tracking the cell using the row & col num, we simply compare the ID we have with the ID of each cell and see which one matches???
    yes, I know there's alot more to do...
  21. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    -

    ok yeah, I am goin to use a struct for each cell! but still the stringID part of it needs to be defined, using the function I talked about before!
    as Mats said "A management function to...
  22. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    -

    Hi,
    yes I know thats the core of the whole prgm but I've checked it out for many cases and it still seems to be working!
    jus one more thing about the calc part, as Mats had pointed out before, its...
  23. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    Hey! I finally figured out the calculator...

    Hey!
    I finally figured out the calculator program! :) I actually forgot about what I had, and did it over again, a bit differently though, and now it seems to be running properly for most of the...
  24. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    -

    ok I got it! thanx for the explainations!
    yeah you're absolutely right and I'm sorry for asking u such a thing! but I know how to debug my programs, as this is not the first C proj I'm having(well...
  25. Thread: BorlandC proj

    by mary18
    Replies
    68
    Views
    10,342

    -

    Thanks alot 4 ur reply!
    ok yes, later I am goin to put all the calc code into a single function and call it whenever needed, but as I said right now its only the prog for a calculator!

    about...
Results 1 to 25 of 28
Page 1 of 2 1 2