LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-23-2006, 02:50 AM   #1
yrauchwerger
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Console standard iInput functions


I am adapting C code written for Windows to Linux (SuSe 10.0).
The problem is what standard functions shall be used instead of _cgets and SetConsoleTitle that have been used in the original code:

char keystr[10] = {4};
char * result;
unsigned int number_signal;
unsigned int type_id;

SetConsoleTitle ("tvendor SIMULATION");

scgTraceExternalSignalMenu(ptr_menu);

do {
printf("\nEnter signal> ");

while(TRUE)
{
result = _cgets(keystr);
if (*result) break;
}

......

Regards,
yrauchwerger
 
Old 05-23-2006, 02:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
clearly NOT an intro. moved to Programming.
 
  


Reply

Tags
programming


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6.11.8 and standard console? houler Slackware 9 03-10-2007 09:04 AM
Standard C library numeric array functions? bulliver Programming 8 04-12-2006 08:45 PM
How to compile a NetBSD kernel with a non-standard console font support? degoor *BSD 3 04-08-2006 09:52 AM
How to boot to standard console (not X)? jdupre Fedora 1 04-20-2005 02:42 PM
standard vs Expert install? Standard flubs up! Frost Linux - Software 1 03-27-2002 07:55 AM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration