thanks cas, very helpful response :)
i got confused there for a while.... ;p
notation is exactly what i was trying to do and now it works great :)
very cool i can now add any sort of data...
Type: Posts; User: simo_mon
thanks cas, very helpful response :)
i got confused there for a while.... ;p
notation is exactly what i was trying to do and now it works great :)
very cool i can now add any sort of data...
hi there,
i am trying to create an array of struct pointers, set each element in the array to null, and (later) then assign struct values to certain positions within the array... and i am...
awesome response_s :):):) thanks very much for answering :):):)
its slowly coming together :):)
its actually really helpful to get a handle on what's actually happening in c with memory:)
...
i have some general questions about c and memory
if i go
char *buff = "timmy";
hi i am having some trouble with string tokenising....
char line "40,2,240";
char *result;
char age[20];
thanks for all the helpful responses i have "kinda" got it ...
i have been unsuccessful at simply getting a char pointer in main to "point to" a string that i create in some function...
the...
thank you very much for your response and as to the first two points i have done some reading now on string literals and understand that they can't be changed ( again thankyou this is great...
hi i am confused about how to change a string from a function
i try
int main()
{
hi there i am super confused, i am writing a program to launch processess and on my travels i was getting some wierd results from command line arguments that i was attempting to parse ( none of that...
thanks for the replies !!
and i do understand the fork code above...... and thanks to another post i think i have an understanding of the processes now, i guess the thing that was throwing me was...
thanks heaps totally cool and useful response...
that makes sense of a lot of the code behavior that i have been observing...
thanks again
i ran the following code and got strange results....
int main(int argc, char *argv[] )
{
int i =0;
for(i=0;i<2;i++)
hi new to processes have a couple of questions ....
1 is main() 'the' initial parent process
ie when i call getppid() is that returning a reference to mains process ?*
2 when i call...