oh and the value strcmp returns is the diff. betwn. the value of the corres. characters of the strings. //pls. verify this
Type: Posts; User: alvarorahul
oh and the value strcmp returns is the diff. betwn. the value of the corres. characters of the strings. //pls. verify this
string comparison starts with the first character and goes on till a character differs or one of the strings gets completed
coonsider strcmp(s1,s2)
if strcmp(s1,s2) == 0 => s1==s2
if...
in fact when one uses the & symbol, not the value but the address of the memory location where the value was stored gets printed. since you want to print the value we must not use the &.
thanks quzah for the info.
however there are quite a few listed at that link
g++,borland, dev c++, etc.
which one do you suggest for my OS i.e winXP?
could you tell me which compiler is best suited for windows xp which i can get free on the net and also for windows 98
thanks very much for the info.
i use windows xp and turbo c++ compiler
i hope that will be of use
what exactly is an API?
please forgive my ignorance but i have only worked on turbo c++
can someone kindly tell me how i can put keys such as escape, control, alt,etc. in c programs? for e.g. press esc to exit prog.
how can i print a picture file (say a file created using paintbrush) to the screen in c/c++?
is it possible? :confused:
thanks for the info.
how can i implement cramer's rule to solve n euqations in n variables
i tried using simple for loops but it becomes to tedious and cumbersome
any suggestions???
in addition to what iceball said it can also be used to access objects of a class using a pointer. :)
i was given d this prob. as a proj.Pls give some hint how to get about it : -
there is a 3D maze(n*n*n;n is odd).there are some hindrances(1)to be avoided. the starting position is to be chosen and...
i was given d this prob. as a proj.Pls give some hint how to get about it : - :) ;) :cool:
there is a 3D maze(n*n*n;n is odd).there are some hindrances(1)to be avoided. the...