Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #54.9K
Ranked #4K
~586 People Reached
Favorite Forums
Favorite Tags
Member Avatar for varunme

How can we convert a string to int without a standard lib the string termination can be '/r'

Member Avatar for Fiverivers
0
230
Member Avatar for while(!success)

Hey, guy I'm having some trouble with my function see below: bool tryAgain() { char answer; cout << "Do you want to enter another number? (Y/N): "; cin >> answer; answer = toupper(answer); while(answer != 'Y' || answer != 'N') { cin.clear(); cin.ignore(10, '\n'); cout << "Input invalid." << endl; …

Member Avatar for while(!success)
0
166
Member Avatar for CKShia

Hi I am new in C programming language... I am writing a simple FTP Server-Client program, and I want to print out the client IP address for each successful login. Here's the code that I encountered warning: `struct sockaddr_in ser_addr;` `printf("IP: (%s); Port: (%d)\n",` `inet_ntoa(ser_addr.sin_addr), ntohs(ser_addr.sin_port));` When I compile the …

Member Avatar for PieterBeyens
0
190