c++ gurus, please help me. How do you cin or read multiple words in a line??

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
Well, to make it clearer, I wanna cin in this line: ATOT is rocks but if I use the normal cin command I only input the ATOT and the "is rocks" part will not be part of the string. How do I do it??

Anybody knows anything about programming a shell?? I'm in dire need of help. :D
 

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
Originally posted by: Legendary
cin.getline(string, maxsize)

You guys rock!!!!!!!! :D Thanks.

Cow attack?? Damn straight yo! :D Run penguin. Run!

Now, anybody knows how to configure a sound card in linux redhat 7.3?? I'm very new at this. It does not even see my sound card for some reason. :(
 

manly

Lifer
Jan 25, 2000
13,086
3,850
136
Originally posted by: pillage2001

Anybody knows anything about programming a shell?? I'm in dire need of help. :D
Programming a shell is the running example in the book Linux Application Development written by two guys from Red Hat. It's a pretty good read.
 

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
Originally posted by: Ameesh
Originally posted by: pillage2001
It's a Sb live. :( It's recognized in Windows but not in Linux. :(

lame thats like the most popular sound card in the world.

I know. I've just checked that page and it says that my sound card is supported. Now where do I start on configuring it??
 

manly

Lifer
Jan 25, 2000
13,086
3,850
136
Originally posted by: pillage2001
It's a Sb live. :( It's recognized in Windows but not in Linux. :(
The SB Live is probably the best supported 4-channel sound card under Linux.

It's been supported by ALSA for at least a year (and soon thereafter by the stock kernel). In fact, for a while, I preferred the stock kernel drivers because they didn't exhibit the static that is associated with SB Live cards on some PCI buses (it's generally considered that Creative hardware is at fault, though they'd never admit it). ALSA 0.9.x has fixed this issue, so it's configured for use on my system.

SuSE Linux has shipped ALSA as the default sound system for some time now, with pretty good auto-detection and setup.

The simplest way to get the hardware working is to load the emu10k1 kernel module (as root):
# modprobe emu10k1

But you need to RTFM (Red Hat docs) and see if there's a more automated way of setting up sound cards and also the default mixer settings. Manually setting up a kernel module is correct, but an incomplete solution.
 

Ameesh

Lifer
Apr 3, 2001
23,686
1
0
Originally posted by: manly
Originally posted by: pillage2001
It's a Sb live. :( It's recognized in Windows but not in Linux. :(
The SB Live is probably the best supported 4-channel sound card under Linux.

It's been supported by ALSA for at least a year (and soon thereafter by the stock kernel). In fact, for a while, I preferred the stock kernel drivers because they didn't exhibit the static that is associated with SB Live cards on some PCI buses (it's generally considered that Creative hardware is at fault, though they'd never admit it). ALSA 0.9.x has fixed this issue, so it's configured for use on my system.

SuSE Linux has shipped ALSA as the default sound system for some time now, with pretty good auto-detection and setup.

The simplest way to get the hardware working is to load the emu10k1 kernel module (as root):
# modprobe emu10k1

But you need to RTFM (Red Hat docs) and see if there's a more automated way of setting up sound cards and also the default mixer settings. Manually setting up a kernel module is correct, but an incomplete solution.

awsome you gotta tinker with the kernel to get a popular sound card to work.
 

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
Originally posted by: manly
Originally posted by: pillage2001
It's a Sb live. :( It's recognized in Windows but not in Linux. :(
The SB Live is probably the best supported 4-channel sound card under Linux.

It's been supported by ALSA for at least a year (and soon thereafter by the stock kernel). In fact, for a while, I preferred the stock kernel drivers because they didn't exhibit the static that is associated with SB Live cards on some PCI buses (it's generally considered that Creative hardware is at fault, though they'd never admit it). ALSA 0.9.x has fixed this issue, so it's configured for use on my system.

SuSE Linux has shipped ALSA as the default sound system for some time now, with pretty good auto-detection and setup.

The simplest way to get the hardware working is to load the emu10k1 kernel module (as root):
# modprobe emu10k1

But you need to RTFM (Red Hat docs) and see if there's a more automated way of setting up sound cards and also the default mixer settings. Manually setting up a kernel module is correct, but an incomplete solution.


Right, I'll RTFM if I have one. :( I'll do what you say and see what I get. Prolly get around with it later tomorrow. Anybody tried redhat 8.0 yet?? The netscape in 7.3 is very gay.
 

manly

Lifer
Jan 25, 2000
13,086
3,850
136
So buy the FM: http://www.redhat.com/docs/manuals/linux/

Red Hat 8.0 ships with Mozilla 1.0.1, widely regarded to currently be the best web client for *nix systems. Mozilla has been my full-time browser for at least a year, and it's improved dramatically over time. I'm currently using 1.1, which is a bit less stable than 1.0.x. Either is a vast improvement over NS 4.x except for sluggish load-up time.

Red Hat was never known for automatic hardware detection so you might wanna check out Mandrake.
 

Ameesh

Lifer
Apr 3, 2001
23,686
1
0
Originally posted by: pillage2001
Originally posted by: manly
Originally posted by: pillage2001
It's a Sb live. :( It's recognized in Windows but not in Linux. :(
The SB Live is probably the best supported 4-channel sound card under Linux.

It's been supported by ALSA for at least a year (and soon thereafter by the stock kernel). In fact, for a while, I preferred the stock kernel drivers because they didn't exhibit the static that is associated with SB Live cards on some PCI buses (it's generally considered that Creative hardware is at fault, though they'd never admit it). ALSA 0.9.x has fixed this issue, so it's configured for use on my system.

SuSE Linux has shipped ALSA as the default sound system for some time now, with pretty good auto-detection and setup.

The simplest way to get the hardware working is to load the emu10k1 kernel module (as root):
# modprobe emu10k1

But you need to RTFM (Red Hat docs) and see if there's a more automated way of setting up sound cards and also the default mixer settings. Manually setting up a kernel module is correct, but an incomplete solution.


Right, I'll RTFM if I have one. :( I'll do what you say and see what I get. Prolly get around with it later tomorrow. Anybody tried redhat 8.0 yet?? The netscape in 7.3 is very gay.


why dont you try mandrake 9.0 i hear its pretty good.

 

pillage2001

Lifer
Sep 18, 2000
14,038
1
81
Originally posted by: Ameesh
Originally posted by: pillage2001
Originally posted by: manly
Originally posted by: pillage2001
It's a Sb live. :( It's recognized in Windows but not in Linux. :(
The SB Live is probably the best supported 4-channel sound card under Linux.

It's been supported by ALSA for at least a year (and soon thereafter by the stock kernel). In fact, for a while, I preferred the stock kernel drivers because they didn't exhibit the static that is associated with SB Live cards on some PCI buses (it's generally considered that Creative hardware is at fault, though they'd never admit it). ALSA 0.9.x has fixed this issue, so it's configured for use on my system.

SuSE Linux has shipped ALSA as the default sound system for some time now, with pretty good auto-detection and setup.

The simplest way to get the hardware working is to load the emu10k1 kernel module (as root):
# modprobe emu10k1

But you need to RTFM (Red Hat docs) and see if there's a more automated way of setting up sound cards and also the default mixer settings. Manually setting up a kernel module is correct, but an incomplete solution.


Right, I'll RTFM if I have one. :( I'll do what you say and see what I get. Prolly get around with it later tomorrow. Anybody tried redhat 8.0 yet?? The netscape in 7.3 is very gay.


why dont you try mandrake 9.0 i hear its pretty good.


I will, wait till I get done with this dumb class and see what's up with mandrake. :)

thanks manly, I'll go buy the FM. :). It's a good start towards linux I guess. Starting to like it. :)