LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-24-2012, 11:34 PM   #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, 12:07 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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, 12:16 AM   #3
billyoc
LQ Newbie
 
Registered: Oct 2010
Posts: 22

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 02:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration