LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2012, 12:34 AM   #1
rahul kumar mishra
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Arrow getus


what will be the subtitute function for getus.
 
Old 07-25-2012, 01:07 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

you could substitute the following function:
Code:
std::string getus(void)
{
   return "us";
}
If that doesn't help, perhaps you could provide a little more information.

Evo2.
 
Old 07-25-2012, 01:16 AM   #3
billyoc
LQ Newbie
 
Registered: Oct 2010
Posts: 23

Rep: Reputation: 23
Quote:
Originally Posted by rahul kumar mishra View Post
what will be the subtitute function for getus.

You will be much better off using fgets.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration