LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-08-2005, 05:06 PM   #16
kahn
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: FC5
Posts: 109

Original Poster
Rep: Reputation: 15

lol, im am being dumb...

final thing is...

Code:
{

  int pos;
  pos = cout.tellp();
  if ( n <= 0)
    cout << "Blast off!" << endl;
  else {
    //cout.seekp(0);
    cout << "Countdown at time " << n << "\r";
    sleep(1);
    cout.flush();
    //cout.seekp(pos+10);
    count_down(n - 1);
  }
}

I was stupid and left the << endl haha! silly me




I want to say thanks everybody for your help.

it really makes oss and the community work.

I know this isnt the most best use of your great programming skill, but thanks!
 
Old 08-08-2005, 05:12 PM   #17
deiussum
Member
 
Registered: Aug 2003
Location: Santa Clara, CA
Distribution: Slackware
Posts: 895

Rep: Reputation: 32
No problem. I hang out here because I like to help. And every once in awhile find a good question that makes me think a little...
 
  


Reply



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
Wierd Things Happening During Install mattp Slackware 17 11-16-2005 07:31 AM
What is happening here? nlinecomputers Linux - Security 10 10-10-2005 01:50 PM
thigns n00bs need to know g33k Linux - Newbie 8 11-08-2003 10:47 PM
What's Happening? demonfi General 4 08-16-2003 01:40 PM
just a happening aizkorri General 9 11-20-2002 11:08 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:51 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