Questions tagged [iso]

The International Organization for Standardization is a union of national standardization organizations out of more than 150 countries elaborating standards in nearly all sectors excepted electrics and telecommunications.

1064 questions
17
votes
4 answers

Compatibility of C89/C90, C99 and C11

I just read: C Wikipedia entry. As far as I know there are 3 different versions of C that are widely used: C89, C99 and C11. My question concerns the compatibility of source code of different versions. Suppose I am going to write a program (in C11…
Michael S
  • 466
  • 1
  • 4
  • 12
17
votes
2 answers

NFC standards (NFC Forum, ISO/IEC, ECMA

I am often being asked about standards, the NFC is based on. I summarized my knowledge in the text below. I hope it can be an answer to such questions. Please feel free to correct it by posting comments and replies - I will include it into my…
STeN
  • 6,262
  • 22
  • 80
  • 125
16
votes
1 answer

C++ standard proposal code: what are N and P?

What do "N" and "P" in the codes of the proposals to the C++ standard mean? Here is the list of GCC's standard support status. You can see the proposals are like "P0245R1" or "N4051", etc. (The "R", I assume, means "revision").
Leedehai
  • 3,660
  • 3
  • 21
  • 44
15
votes
3 answers

how to create docker image from an ISO file?

I wanna create a docker image from an ISO file. and I meet the same question like this iso to docker file I did same operations with him , and I know it's wrong now. now what i have is: an ISO file. my own ISO file, based on ubuntu but it's not…
李浩然
  • 243
  • 1
  • 3
  • 9
15
votes
2 answers

GCC options for strict C90 code?

I am trying to find what is the combination of gcc flags to use when testing strict C90 conformance. According to previous post: GCC options for strictest C code?, I should only need a --std=c90. However here is what I tried: $ cat t.c #include…
malat
  • 12,152
  • 13
  • 89
  • 158
15
votes
1 answer

Android Countries list with flags and availability of getting iso mobile codes

Needed Example of project showing all countries with flags and availability for getting countries mobile codes.
Hayk Nahapetyan
  • 4,452
  • 8
  • 42
  • 61
15
votes
4 answers

Convert iso timestamp to date format with Javascript?

This seems like a pretty simple question but I can't seem to get an answer for it. How can I convert an iso timestamp to display the date/time using JavaScript? Example timestamp: 2012-04-15T18:06:08-07:00 Any help is appreciated, Google is failing…
Ian
  • 1,850
  • 6
  • 23
  • 38
14
votes
2 answers

Print datetime in ISO format without milliseconds

I'm trying to serialize datetime in an API, but I don't want milliseconds. What I want is here: https://en.wikipedia.org/wiki/ISO_8601 - "2015-09-14T17:51:31+00:00" tz = pytz.timezone('Asia/Taipei') dt = datetime.datetime.now() loc_dt =…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
14
votes
1 answer

Detecting integral overflow with scanf

When recently answering another question, I discovered a problem with code like: int n; scanf ("%d", &n); With strtol, you can detect overflow because, in that case, the maximum value allowed is inserted into n and errno is set to indicate the…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
14
votes
4 answers

Django queryset filtering by ISO week number

I have a model that contains datefield. I'm trying to get query set of that model that contains current week (starts on Monday). So since Django datefield contains simple datetime.date model I assumed to filter by using .isocalendar(). Logically…
JackLeo
  • 4,579
  • 9
  • 40
  • 66
13
votes
2 answers

old images show after replacing with new ones in ios app

I am dealing with this really really annoying bug in X-Code where it seems to save images to some type of memory that seems impossible to clear. I have replaced a bunch of images in which I am creating a clock animation however when I try to play…
C.Johns
  • 10,185
  • 20
  • 102
  • 156
13
votes
4 answers

C++ crazy typedef : what is the point of allowing this syntax by the Standard?

The old familiar one: typedef int cute_int; //cute : common and familiar syntax. This syntax is perfect. No problem. Now, when we can write typedefs like above, then what is the point of allowing this syntax: int typedef crazy_int; //crazy :…
Nawaz
  • 353,942
  • 115
  • 666
  • 851
13
votes
5 answers

Possible values for __STDC_ISO_10646__

What are the possible values of the __STDC_ISO_10646__ macro? Wikipedia has a list of the versions of ISO 10646 corresponding to different Unicode versions, but with only the year, not the month, and the macro includes a month value. Edit: Since…
R.. GitHub STOP HELPING ICE
  • 208,859
  • 35
  • 376
  • 711
13
votes
1 answer

Edit iso file with discutils

I'm trying to modify an existing iso file by adding files using discutils. So far I've tried CDBuilder but that only allows creating an iso file. CDReader can open the file and I can enumerate the contents but I can't find a way of adding files. Can…
megamania
  • 271
  • 3
  • 9
13
votes
2 answers

__isoc99_scanf and scanf

I was studying various compiler option in GCC and observing changes when I made changes in the standard to be used. $ gcc Q1.c -Wall -save-temps -o Q1 $ vi Q1.s I see one of the opcodes as call __isoc99_scanf and now when I compile with the…
ArunMKumar
  • 718
  • 2
  • 5
  • 14