The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
When things doesn't run into crontab??? nymus7 Shell Programming and Scripting 4 04-24-2006 11:11 AM
Complicating things? bconnor High Level Programming 1 03-30-2006 10:07 PM
how to convert things from csh to sh forevercalz Shell Programming and Scripting 1 10-28-2005 03:46 AM
Gnome doing strange things. Furtoes00 UNIX for Dummies Questions & Answers 5 03-18-2002 04:26 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-13-2007
V4D3R V4D3R is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 1
Question about several things in C

Hey guys, first of all I'd like to say Hi to everyone. I am new here and this is my first post.

I have a question about some C stuff. I am in Computer Science and I have an assignment for a UNIX Applications course. It is really complicated, however.

We're using the C language for this and this is my first time using it(I have used C++ before and theres not really any major differences, as far as I know).

Our prof has asked us to examine disk files in hex. He wants us to write a program that will be used as a command with several options. First, I remember we could easily use getopts to handle options in Bash. Is there a similar command for C?

Then he wants us to display the relative offset from the start of a file. Is there a command for that too? I can't find anything in my textbooks and any help would be appreciated.
  #2 (permalink)  
Old 09-13-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Alas the rules say no homework questions.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0