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
~12.7K People Reached
Favorite Forums
Member Avatar for jcAmats

Hi. Can somebody help me? I am trying to create a program that reads random line from a file and displays them. My problem is, it displays the same line every time I press ‘n’ (it suppose to display another line from a file). Can somebody tell me how to …

Member Avatar for zia shaikh
0
1K
Member Avatar for jcAmats

Hi. Can somebody help me? I am trying to create a program that reads random line from a file and displays them. My problem is, it keeps repeating the same line after a few tries. i have 8 total lines from my file... this is my code so far... [CODE]public …

Member Avatar for jcAmats
0
583
Member Avatar for jcAmats

hi! can someone help debug my codes? getline() works properly in my main() but if i'm putting it to another function, it ignores the first getline() w/o entering any words and goes to the 2nd getline. my program works like this: i have a menu() that lets the user to …

Member Avatar for jcAmats
0
364
Member Avatar for jcAmats

I’m creating a program that displays random lines from a file. I have 8 lines on my text file and after displaying the last/8th random line… it displays [B][I]Segmentation fault[/I][/B] and then terminates the program. The program should display a message saying that there are no lines left to display. …

Member Avatar for jcAmats
0
11K