Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #44.3K
~530 People Reached
Favorite Forums
Favorite Tags
c++ x 2
c x 2

4 Posted Topics

Member Avatar for fatasscp

> If you say that you dont know the size of the file, then you can use a linked list. get a data using fscanf(), insert it into your list when you find the position. continue until end of file. > > But if the file is very big, then …

Member Avatar for sacdpathade
0
128
Member Avatar for Motvel

[QUOTE=Prabakar;599939]Analytical geomentry, gives variousways to calculate distance. In this case, we can use sqrt( (x1- x2)*(x1-x2) + (y1- y2)*(y1-y2) )[/QUOTE] hey , Prabhakar's qoute is right. Let me elaborate this solution for you. I think to calculate nearest point, u should take following approach. Lets assume that you have 3 …

Member Avatar for dmanw100
0
149
Member Avatar for kiwihaha

[QUOTE=kiwihaha;592095]i want to make a error check on each input. if i only got 1 input.. then i just use while(input==false) so it will continue ask user to input if he wrong input but if i have many input,then the while loop will complicated.. for example: Enter ur gender Enter …

Member Avatar for dmanw100
0
134
Member Avatar for Majestics

[QUOTE=Narue;599944]>so it will take any number of character from 0 to max size until enter is not encountered Well, scanf doesn't recognize a newline, so you'll have to use some other method. A generally good one is to signal EOF when you're done by typing Ctrl+Z (Windows) or Ctrl+D (Unix/Linux), …

Member Avatar for sacdpathade
0
119

The End.