hi whenever i compile my programs with devcpp and then run it i hav this problem where my program ends whenever i press enter after i type in stuff to fill my variable.
for example:
...
Type: Posts; User: henrychan22
hi whenever i compile my programs with devcpp and then run it i hav this problem where my program ends whenever i press enter after i type in stuff to fill my variable.
for example:
...
im only a second year computer science student but mayb this can help:
1) create dynamic array of type string and assign it a pointer
2) read some of the file into that dynamic array
3) randomly...
double number=237.3455
if(number>=100 && number <=999)
double decimalPart=((number%100)%10)%1
else if
etc
so your function declaration would look somethin like :
returntype function(pointerOfArrayOfPointers *p);
but make sure u define the type pointerOfArrayOfPointers with: typedef int*...
hi if you know pointers then mayb this can help.
create one pointer that points to a dynamic array with base type that is a POINTER TYPE.then each row of yor matrix can b represented by the...