Hello all, The Code below gives me Segment violation. #include<stdio.h> void main() { int *p; free(p); } How to check some memory is allocated to pointer p? My...
Prabu
prabu.ayyappan@...
Jul 1, 2006 12:59 pm
56559
What is block structured programming? ... Yahoo! Music Unlimited - Access over 1 million songs.Try it free....
... None of the code you posted should work because the malloc and free functions are in the stdlib.h header file..Plus the return type should be int not, ugh,...
... not standard C (or C++) .... btw you haven't told us what language you're using (though I'd guess C from the <stdio.h> and from using malloc / free instead...
... As long as there is enough disk space on the hard drive, as many files as you want. I wouldn't *think* there would be a limit other than hard disk space....
... Thanks .... It just says warning and the code runs :( [prm@prm-co openssl]$ cat testing.c #include<stdio.h> void main() { int *p; free(p); } [prm@prm-co...
Prabu
prabu.ayyappan@...
Jul 1, 2006 4:47 pm
56566
... Its in my subject about the language i used and i think you spend some time in analyzing it to find the language used :) ....Sorry Victor. ... Hope Some...
Prabu
prabu.ayyappan@...
Jul 1, 2006 5:01 pm
56567
Hi guys. I have problem with autofire to game :) I want to autofire button F8, but sendmessage offers as parametrs only WM_KEYDOWN and WM_KEYUP wich don't...
... Are you deliberately ignoring the comments made? ... This one has been mentioned. main does not return void. ... And this one is because you haven't...
... [...] ... If nothing is allocted to p, then it will remain 0. ... Calling free with 0 is a valid thing to do, and does nothing. -- PJH Into motorcycles?...
Bjarne is a busy guy............ i was in his class one semester, so I know first hand how busy he is He does several lectures during the year........ bob ...
... why the hell do you think I test it on the next line? NOTHING has happened to p, it will still be 0!! ... Victor A. Wagner Jr. http://rudbek.com The...
... thanks, I haven't tracked C in over a decade ... Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There...
Whitespace is just a fancy way of saying lots of space in your code. Kevin http://kevinsisco.topcities.com ... From: Ratan To: C group Sent: Saturday, July 01,...
kevin
sisco83@...
Jul 2, 2006 4:48 am
56576
not really.. (from the man pages of isspace() ): In the "C" and "POSIX" locales, whitespaces are: space, form-feed ('\f'), newline ('\n'), carriage return...
... There have been (and still are out there) compilers which have a hard-coded limit on the number of files to be linked into an executable; or which have a...
help me guys in c++ plz help i want help from u here is programe will u do that ===================================================================== = ...
... What is giving you trouble? What specifically do you need help with? Have you written any code yet? -- Brett McCoy: Programmer by Day, Guitarist by Night ...
... http://foldoc.org/?block-structured Ray __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam...
... Ratan, this is ugly. You are asking so many questions about partially very basic issues related to programming. Don't you have any good books at hand which...
... Hi Would you not like to have a good grasp on the above topics ? If yes, then show us what all did you attempt ? Thanks!! and have a nice day!! Jaspreet . ...