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
Member Avatar for spowel4

I am defining the following variables inside a bash script (note: I ultimately want to pass these values to the bash script from the commandline but I haven't gotten that far yet): OFS=',' INPUTFILE='~/data.txt' OUTPUTFILE='~/delimited.txt' FIELDWIDTHS='1 10 4 2 2' Next, inside the bash script I'm attempting to call an …

Member Avatar for cfajohnson
0
555
Member Avatar for valestrom

I kinda want to code in binary just for the fun of it. But I have no idea how to compile my code. Anyone know how?

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

Thought the days of having to use a particualr web browser client in order to use a specific site were over? Think again if this conversation between a user and eBay support is anything to go by. ![dweb-ebay](/attachments/small/0/dweb-ebay.jpg "align-right") As a journalist who has spent the largest part of the …

Member Avatar for Troy III
4
502
Member Avatar for carrot_123

Hi, I am currently learning how to program, and have a code below: int voltage; printf("Voltage\t\tSoC\tDescription\n"); printf("-------\t\t---\t-----------\n"); for (voltage = voltage_min; voltage <= voltage_max; voltage = voltage + step_size_variable){ printf("%d\t\t%0.3d%%\n", voltage, ((voltage - 3000)/1200)*100); } When I run it, the program outputs only 0.00%s, and is not calculating the voltage …

Member Avatar for TrustyTony
0
3K
Member Avatar for abrarsyed

Hi, can we write a function in c, tht can accept any type of array, may tht be int, float, char, struct or of any any kind, as an argument and perform some task of tht like sorting etc. Thank you

Member Avatar for KenJackson
0
128
Member Avatar for Gaiety

Hi, Can somebody please explain , printing with structure variable also working. int main( void ) { struct bitfs { unsigned char a:4; unsigned int b:5; }; struct bitfs bf = {15,31}; struct bitfs2 { unsigned char a:4; unsigned int b:5; }bf2 = {15,31}; printf("a= %u \n", bf.a); printf("b= %u …

Member Avatar for WaltP
0
107
Member Avatar for John Linux

Hi, I am trying to write a Bash Script to sort some images but I am new to Bash and not having any luck. I have a folder of images. Example: P100.jpg P172.jpg P342.jpg P400.png I need to change these filenames to <filename>_DEFAULT<extension>. ie. P100_DEFAULT.jpg and then move the file …

Member Avatar for KenJackson
0
235
Member Avatar for ampak

I have a command lline script that works perfectly. cat <some_filename> | awk '$9 == 200' | awk '$10 == 10623720' | awk -F\" '{print $6}' | sort | uniq -c | sort -r I want to put this in a shell script so that we do this for multiple …

Member Avatar for KenJackson
0
232
Member Avatar for bufospro

Hi all, I am new in shell scripting and I need your help 1. I would like to make a list of files (no folders) of unix system which do not belong to root 2. I would like to make a list with directories of system which the first letter …

Member Avatar for bufospro
0
146
Member Avatar for kavi_90

I have to write a program where the producer gets the some number of inputs from the user and the consumer takes from the shared memory and prints their squares.In my program i have the shared memory size as 5. my program works perfectly in the area that producer and …

Member Avatar for abhimanipal
0
201
Member Avatar for quietcity2012

This is my assignment for my CS class. I got the assignment but I have no clue how to do it. can anyone explain it to me? thx a lot!

Member Avatar for KenJackson
0
118
Member Avatar for ioiinc

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. Thanks, Jerry W. IOI, Inc.

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