473,394 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Re: viewing mbr os descriptor


"Jens Thoms Toerring" <jt@toerring.dewrote in message
news:69*************@mid.uni-berlin.de...
If you feel that you can't get a grasp om these things I
can only recommend that you use some other language than
C. There are lots and lots of very good languages not re-
quiring you to learn these maybe somewhat arcane things
and which allow you to write great programs. But if you
want to learn C then you also have to learn printf()
format specifiers etc. or it will remain just a very
frustrating experience.
Regards, Jens
I don't feel I can't ever grasp them, I just don't know them. With
printf I know how to use %x and %? what ever after the %. Even whole numbers
and decimals after the %. Now I'm learning as I read about $ and # and even
[ and ] in printf. I haven't seen that in my tutorials or if I remember
correctly maybe not even kandr2.

Bill
Jun 27 '08 #1
2 1740
On 19 May, 19:39, "Bill Cunningham" <nos...@nspam.comwrote:
"Jens Thoms Toerring" <j...@toerring.dewrote in
messagenews:69*************@mid.uni-berlin.de...
If you feel that you can't get a grasp om these things I
can only recommend that you use some other language than
C. There are lots and lots of very good languages not re-
quiring you to learn these maybe somewhat arcane things
and which allow you to write great programs. But if you
want to learn C then you also have to learn printf()
format specifiers etc. or it will remain just a very
frustrating experience.

* * I don't feel I can't ever grasp them, I just don't know them.
few people do. RTFM
With
printf I know how to use %x and %? what ever after the %. Even whole numbers
and decimals after the %. Now I'm learning as I read about $
$ is non-standard. $ isn't even in C's source character set.

and # and even
[ and ] in printf. I haven't seen that in my tutorials or if I remember
correctly maybe not even kandr2.
# is in my K&R (section B1.2 Formatted Output). I generally think
Harbison
and Steel is better for the library. There are online versions of the
(draft but close to final) standard. And the C standard is pretty
readable.
--
Nick Keighley
Jun 27 '08 #2
Nick Keighley wrote:
And the C standard is pretty readable.
Really! Be reasonable now.

And this in reply to Bill? :-)

Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: John Roth | last post by:
Using Python 2.2.3, I create this script: class AnObject(object): "This might be a descriptor, but so far it doesn't seem like it" def __init__(self, somedata): self.it = somedata def...
0
by: Eric Huss | last post by:
I'm trying to write a descriptor (similar to the EiffelDescriptor example in the Demo directory). However, I noticed an odd behavior that descriptors written in pure Python mask the underlying...
8
by: Joe | last post by:
Hi, I want to use the C library function mkstemp. It returns a unix file descriptor (int) to an open file. How do I convert the file descriptor to a valid ofstream object? Thanks, Joe
3
by: gipsy boy | last post by:
Given a file descriptor (from a network socket, for instance), I want to have an iostream that reads/writes to it, so I can push and read data in the traditional way : sockStream << "<some...
4
by: CSN | last post by:
At startup this appears in the log: WARNING: dup(0) failed after 3195 successes: Bad file descriptor What does it mean? __________________________________________________
7
by: news | last post by:
Recently our mail from our e-commerce site has been rejected by AOL due to an IP block because someone was using our PHP scripts to send spam. Well, I got that fixed. But our legitimate...
3
by: Eric Mahurin | last post by:
Is there a standard way to get a descriptor object for an arbitrary object attribute - independent of whether it uses the descriptor/ property protocol or not. I want some kind of...
3
by: akaarj | last post by:
I am using Linux gcc 4.1.1 version I have a file descriptor and I want to have a FILE* pointer to the file from the file descriptor. OR if I can have the file name using the file descriptor.....
5
by: yinglcs | last post by:
I have a c/c++ program in linux. I would like to know if I kill my program (e.g. exit(1)), will it release all the file descriptors my program held (regardless if I call close(fd) of each file...
9
by: Bill David | last post by:
I know it's very strange to do that since we have the file name when we call: int open(const char *pathname, int oflag,...); And we can store the file name for later usage. But I just wonder if...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.