Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~7K People Reached
PC Specs
Linux
Favorite Tags

13 Posted Topics

Member Avatar for spowel4

It would be better to let the shell expand the tilda by removing the quotes or use $HOME with double quotes, because awk probably doesn't expand a tilda.

Member Avatar for cfajohnson
0
562
Member Avatar for valestrom

I don't understand what we're trying to do here. Is it a macho thing? Do we want to show that were's so masochistic that we can write our programs directly in binary? Or is there some specific binary data that needs to be put in a file for which no …

Member Avatar for ModernC++
0
2K
Member Avatar for happygeek

Firefox 3.6? That's interesting for two reasons. One, he didn't say just say Firefox--he specified a particular version of Firefox. Two, the version he specified is old. I wonder if this was an old conversation or if he really meant 3.6.

Member Avatar for Troy III
4
510
Member Avatar for carrot_123

I dislike working with floating point numbers too, but this looks like a case where they would make sense. Alternately, you could get slightly better results by moving the 100 multiplier in front so your intermediate value doesn't dip to zero. (100 * (voltage - 3000) / 1200)

Member Avatar for TrustyTony
0
3K
Member Avatar for abrarsyed

Of course you can. Declare the array parameter as a pointer to void, add a parameter that tells the function what the type is, use the type parameter in a switch statement or if-then-elses, and cast the array parameter appropriately in each case. The afforementioned qsort function is only slight …

Member Avatar for KenJackson
0
131
Member Avatar for Gaiety

Some compilers check the types of printf()'s arguments against the types in the format string and give an error or warning message if they don't match. That's always a good feature to enable, if it's available. But assuming you're not compiling this for something like an 8051 microcontroller, the *bf2* …

Member Avatar for WaltP
0
110
Member Avatar for John Linux

for FILE in *; do NEWFILE="${FILE%.*}_DEFAULT.${FILE##*.}" mv "$FILE" "$NEWFILE" mkdir -p "$FILE" mv "$NEWFILE" "$FILE" done

Member Avatar for KenJackson
0
238
Member Avatar for ampak

The short answer to your question is that you define *cmd* like this: `cmd="something "\" something"` You can't put quotes inside of quotes like that. Use single quotes. Also the backslash is a special character. You can probably fix that by doubling it `'\'`, but since you're passing it through …

Member Avatar for KenJackson
0
233
Member Avatar for bufospro

You could use the [b]find[/b] command. [code]find . -maxdepth 1 -type f ! -uid 0[/code] The period specifies the current directory. [U]-maxdepth 1[/U] prevents it from looking into subdirectories. [U]-type f[/U] returns only regular files [U]! -uid 0[/U] returns only files that do not belong to root

Member Avatar for bufospro
0
151
Member Avatar for kavi_90

It looks variables [B]s[/B] and [B]sop[/B] are declared in the header file, pro_cons.h, and that header file is included in three source files. So all three files have there own copies of those two variables. That means that functions [B]wait()[/B] and [B]signal()[/B] always use their file's copy of those variables …

Member Avatar for abhimanipal
0
215
Member Avatar for quietcity2012

Well, think about what a disk drive does. Actually, the way you've stated it, you need to decide how literally to take the assignment. I see two different interpretations. It probably means to simulate a file system which uses the disk drive. File systems allow files to be opened (and …

Member Avatar for KenJackson
0
119
Member Avatar for ioiinc

[QUOTE=ioiinc;1198251]I would like to know if anyone knows the date that asselin.com was aquired by Hover. Also, who started asselin.com and where would I go to find out this information.[/QUOTE] Those answers are in the [url=http://www.internic.net/whois.html]InterNIC Whois database[/url]. I'm not sure why you're getting such a hard time about your …

Member Avatar for KenJackson
-6
95
Member Avatar for KenJackson

Hi everyone, I support myself developing C/C++ on embedded platforms. [I]Embedded[/I] means there is typically no user interface, or only a limited one, like a few buttons and LEDs. Also, embedded processor are often very limited in power and resources. I particularly enjoy solving asynchronous interaction issues, e.g. passing control …

0
52

The End.