Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/19/03 06:40
Read: times


 
#58991 - RE to SUSHIL and THE SOLUTION
Responding to: ???'s previous message
Hi Sushil,
The links is working fine... I checked it out on different computers. Also, Im in the process of upgrading my site and make everything look more meaningful. So, just a day more and its changed.(about the colors) :)

SOLUTION:
Finally, I did a small R&D and worked the solution out. All I had to do was add "static" before the variable declarations and everything got linked well. Actually I believed by declaring a variable as static, it serves two purposes..
1. It get initialized to a default value.
2. Its value persists between function calls.

But in my case, I really did not understand why I should declare the variables as static when Im declaring them globally and their scope is global?

ANDY:
Thank you for pointing my mistake. I'll correct it as soon as possible. Now, a better guide to Stephene Reys C-Standards would be nice.

CHEERS,
Harsha.

List of 20 messages in thread
TopicAuthorDate
Problem when I split Source Code            01/01/70 00:00      
   RE: Problem when I split Source Code            01/01/70 00:00      
      Downloading the File...            01/01/70 00:00      
         RE: Downloading the File...            01/01/70 00:00      
         aaaaaaaaaaarrrrrrrrrgggggggggghhhhhhhhhh            01/01/70 00:00      
            RE: aaaaaaaaaaarrrrrrrrrgggggggggghhhhhhhhhh            01/01/70 00:00      
               RE: aaaaaaaaaaarrrrrrrrrgggggggggghhhhhhhhhh            01/01/70 00:00      
   RE: Problem when I split Source Code            01/01/70 00:00      
      RE: Problem when I split Source Code            01/01/70 00:00      
   RE: Problem when I split Source Code            01/01/70 00:00      
   RE: Header Files            01/01/70 00:00      
      RE to SUSHIL and THE SOLUTION            01/01/70 00:00      
         RE: RE to SUSHIL and THE SOLUTION            01/01/70 00:00      
            RE: RE to SUSHIL and THE SOLUTION            01/01/70 00:00      
         RE: static            01/01/70 00:00      
            Thanks Donald and Andy            01/01/70 00:00      
               Important Lesson            01/01/70 00:00      
            Structure Still not working !!            01/01/70 00:00      
               RE: Structure Still not working !!            01/01/70 00:00      
                  Eureka.. :)            01/01/70 00:00      

Back to Subject List