Like Tree5Likes

Very simple Encryption problem. My code is not working acording to my logic.. see it.

This is a discussion on Very simple Encryption problem. My code is not working acording to my logic.. see it. within the C Programming forums, part of the General Programming Boards category; anduril462 your lines will help me to avid or fix bugs also in future development. i think this board is ...

  1. #16
    Registered User sagar474's Avatar
    Join Date
    Jun 2011
    Location
    Kakinada
    Posts
    56
    anduril462

    your lines will help me to avid or fix bugs also in future development.
    i think this board is full of well experienced developers.

    I really thankful to you since I'm learning a lot from tis board.

  2. #17
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by sagar474 View Post
    yes compiler warned me but i ignored. when you pointed out i red about it. yes it is dangerous. instead can i replace it with fgets ?


    why should we call a function every time even tho the logic is very simple?
    One reason for using library and API calls instead of homebrewed logic is that very often (almost always) the library or API call is tested and optimized in ways that may not be possible in Standard C; using ASM and other means to improve performance.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple Logic problem
    By will of fortune in forum C Programming
    Replies: 4
    Last Post: 03-06-2010, 01:25 PM
  2. problem with previously working internet code
    By abachler in forum Windows Programming
    Replies: 11
    Last Post: 04-10-2009, 04:11 AM
  3. RFC - Simple Encryption
    By Nor in forum C++ Programming
    Replies: 11
    Last Post: 02-16-2009, 03:59 PM
  4. Bitswitching Encryption not working
    By Geo-Fry in forum C++ Programming
    Replies: 4
    Last Post: 06-03-2003, 04:45 PM
  5. Program logic not working..
    By ronkane in forum C++ Programming
    Replies: 2
    Last Post: 01-22-2002, 07:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21