use internet ...read books..there is no help needed in this case.. if you have any issues while implementation then we all here are ready to...
in case of Linux its unistd.h ... i am not sure if it will work for Windows...
for static functions in C++ go through: http://www.codersource.net/cpp_tutorial_static_functions.html and in C a static function has a name...
hi bashamsc.. even this code is not compiling on my machine... i think u have just missed .. #include <string> in your code :) try this..it...
salem...i believe the uestion was not put in an elucid manner...or maybe i have not understood the answer... what i was tying to ask was that...
s->=2.1; s->="basha" how come this is compilable friend :) :D
leave about whether the code is giving right results or not.. at least post something which can be compiled... please post a code which is...
hi asadullah.ansari.. there is no such rule...i have written a small code .. int main( void ) { int var[12]; var[2] = 0;...
Hi I have just come across an issue that i am just not able to understand.. i have declared a structure in one of .c files .. e.g....
a[i]=i++; this is undefined behavior... the answer may change from compiler to compiler...try running the code on different compiler.. this...
completely agree.. there is another kind of case ..when input is "1234forum" atoi() will return 1234..!! and in case of strtol() using the...
if you want to initialize everything with a zero... u can go for employee emp1 = {0};..
look for atoi() function... it will return zero if it is not able to convert the string passed into number.. though if you have an...
friend if pointer will only have values then what do you want to do with the variables !! int var; var can have values... if pointer will...
ignore the indentation in the last post... it messed while copying the code from Visual Studio editor to explorer.. :)
this is something what i have tried and is now giving the right output... still looking for an easy way out :D :) #include <stdio.h> #include...
This is the output i get..instead of the time difference in number...i get India Standard Time twice...!! >>Wed Jan 09 2008 India Standard...
i think this is also a suitable tip which can be put in this thread.. always do comparision by putting the constant on the left hand side of...
i have tried all the above functions...but what i need is to print the current time in the undermentioned format: Tue Jan 08 2008 22:25:22...
how to know the timezone using C ... i want something which will work both on Linux and Windows... for example in case of India...i wish to...
Separate names with a comma.