Search Results

Search: Posts Made By: DreamWarrior
Forum: Programming 12-16-2011
6,772
Posted By DreamWarrior
Maybe it's this: while (fscanf(fptr,...
Maybe it's this:


while (fscanf(fptr, "%lf", &fArray[i]) != EOF);

You have a semi colon after the while, so you're reading in every line from the file until EOF, then looping and doing it...
Forum: Programming 12-15-2011
39,192
Posted By DreamWarrior
Yes, you either need a key or to pass the...
Yes, you either need a key or to pass the segment's ID. IPC_PRIVATE is meant to be used between two programs that can pass the ID, either because one forked the other and the ID is resident, or...
Forum: Programming 11-10-2011
1,427
Posted By DreamWarrior
If you remove the virtual keyword then the...
If you remove the virtual keyword then the function doesn't get put into the virtual function table. Therefore, I believe any calls to the function are bound to the function within the type's class....
Forum: Programming 10-18-2011
2,749
Posted By DreamWarrior
??? You have to put a socket into...
???

You have to put a socket into non-blocking mode to use select/poll. Well, you don't have to, but there have been bugs reported against some implementations that will cause select/poll to...
Forum: Programming 10-11-2011
5,393
Posted By DreamWarrior
See in bold. First, you forgot the struct...
See in bold.

First, you forgot the struct name, so after "typedef struct" I added "node". This makes it "struct node". This is where you were having the "undefined type" problems, because...
Forum: Programming 01-26-2011
7,304
Posted By DreamWarrior
Wowza, that using an int for a pointer is always...
Wowza, that using an int for a pointer is always ready to bite in the worst times! Plus with AIX's 64 bit model not all pointers have 64 bits worth of data (so sometimes it'll crash and sometimes...
Forum: Programming 05-28-2010
2,722
Posted By DreamWarrior
Yeah, above... So you under stand. L is NOT a...
Yeah, above... So you under stand. L is NOT a pointer, thus, the "." notation is how you "navigate" into that structure. The student member in L IS a pointer, thus, the "->" notation (which is...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 12:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy