Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 156637

C is a general-purpose computer programming language used for operating systems, games and other high performance work.

2
votes
here is one method to produce the desired results #include <stdio.h> int main( void ) { char n[3]={'A','B','C'}; int s[3][4] = { {90,50,100,10}, {60,100,20,50 … }, {80,70,100,75} }; //float average=0; int x; int y; //int max=0; //int min=0; //int total=0; // to print in 'column' order printf( "%c\t%c\t%c\n", n[0], n[1], n[2 …
answered Jan 31 '16 by user3629249
1
vote
A major advantage: The authors only have to support one version of the code
answered May 9 by user3629249
1
vote
for a repeating timer. Use setitimer() here is info from the man page NAME getitimer, setitimer - get or set value of an interval timer SYNOPSIS #include <sys/time.h> …
answered Jan 25 '16 by user3629249
1
vote
The simplest solution is to use interrupts and timers. The interrupts indicate: User I/O inputs Timer expiration Two separate programs could communicate via two pipes or msgsnd() or semaphores …
answered Jun 27 '15 by user3629249
4
votes
in general, every new architecture needs a new port of the C compiler (along with the rest of the C tool chain) Usually this starts with the development of a 'cross compiler' on a known … architecture to compile C for the new architecture. (the compiler, itself, can be what is being compiled, from source, for the new architecture.) even a related new architecture needs lots of updates to the …
answered Jul 3 '16 by user3629249
-2
votes
if your project is simple and contains very few files, then no make file is needed. However, when the project is complex, uses numerous memory areas, has many files, then it is necessary to place e …
answered Apr 11 '15 by user3629249