Cheeyimgoh, Yes, you can make your pointer to char a char array. If you do not make it an array, you need to dynamically allocate space to the char pointer...
Cheeyimgoh Hi, I wonder what do you like to do. If the purpose of the 'store my pointer' is to have a copy of it you can define a second pointer and then to...
Moshe Okman
m-okman@...
May 1, 2005 1:23 pm
44334
... If we give you the program, then _you_ are not doing the project. ... Shyan...
... <snip> Melo_FCI, I don't intend to offend anyone, but this hint is ridiculous to many participants of this group (such as me). Why? Because I NEVER use...
... ...and in case you have really binary data you can't use strcpy() because it will stop at the first NUL byte (that is, the first byte with value 0 or...
... I agree. My view is that the conversations in groups/mailing lists like this are not a personal service for those seeking help. Rather, they should also...
... .dat is the most overloaded file extension. It is used by almost every class assignment when external data is needed. So you should look at the actual...
To: cprogramming2@yahoogroups.com, c-prog@yahoogroups.com Can anyone please tell me what an enode is. It is different from a node of a (parse) tree? Thanks in...
... WM_ERASEBKGND is sent at differing times. It is used as part of the painting operation to reduce flicker during redraw operations (e.g. sizing and adding...
sorry nico i didnt mean to upsete u ... <snip> Melo_FCI, I don't intend to offend anyone, but this hint is ridiculous to many participants of this group (such...
... You can trivially make the code portable to _all_ cases... unsigned char author[sizeof(char *)]; Note that unsigned char is better because it's guaranteed...
Hello there, I'm learning abt the free( ) command... I thought of writing a program that could totally free my RAM storage... so that my computer could gain...
Hi, I cant understand that why the following code is not showing any results , there is no problem in compiling and linking #include<stdio.h> main( ) { int...
... Ah, but compilation does not mean correctness. Understand the language first, before you write code. Never write code by guesswork. ... Implicit int...
... What free command do you mean? There is a free function declared within <stdlib.h>, but if you read the secification for that function, it can only free ...
Well, although it seems like a noble idea, I think it is a bit misguided. How is clearing out your RAM going to gain speed for you? Cache requires RAM backing...
... Nothing is wrong with getchar, as others have pointed out. Try adding a \n to your scanf format, so it will gobble up the "return" the user hits to enter...
... It will gobble it up, then ask for another one, and another, and another, ... until the user enters something which is not whitespace. Such behaviour is...
... You want to WHAT??!?!?!?! free() is used to free dynamically allocated memory that has been previously allocated by your program (using malloc, calloc,...
... <snip> Hi Melo_FCI, if I am upset due to someone cross-posting a question it's my own fault. No discussion about this one. Actually I could (and should)...
Dear all, I just begin studying financial engineering program. This program required that I have to have ability enough to write some program in C++. But, now,...
... Non-standard use of a Standard™ function. fflush() is only guaranteed to flush output streams. Using it to flush input streams is not guaranteed. Just...
It worked with all the following compilers:- Turbo C++ VC++ 6.0 MingW(gcc) Can u suggest a windows/DOS compiler where it doesn't work?? I don't mean offence....
It worked with all the following compilers:- Turbo C++ VC++ 6.0 MingW(gcc) Can u suggest a windows/DOS compiler where it doesn't work?? I don't mean offence....
On 5/3/05, Chandra Sekar <chasan_21@...> wrote: [about fflush() not designed to work on input streams] ... Any compiler that you haven't mentioned is a...
... I'm not Paul, but here are my 2 pennies: 1) that it happens to work with several compilers doesn't mean anything; it's simply a non-standard use of a few...
... [snip] ... To be fair to Chandra - they did specify Windows/DOS only - expecting Linux to be considered would take this (already off-topic) thread (even...