Explore C on Experts Exchange

Expert Solutions for Your Tech Problems

C

C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a ...

Read more
  • 22K Content
  • 5.7K Contributors

Troubleshooting Solution

My C/C++ if statement is not working as planned

14
Hi Experts,

Here's my code:


My problem is that when retries = 2 and retrycount = 2, the   if (retries >
Article

First iPhone Application

3
Have you thought about creating an iPhone application (app), but didn't even know where to get …
Video
Post

Useful guide in recovery from Ransomware attack. Nice work …

bybtan
Useful guide in recovery from Ransomware attack.
Nice work on the "C" part of the document: Data …
Troubleshooting Solution

Calculating power of 2 in constant time

6
Hi
Is it possible to o calculate 2^n in constant time.
Log n is clear you can simply recurse of n/2 …
Troubleshooting Solution

Set Even Parity

2
Have I done the exercise right or is something wrong?
Troubleshooting Solution

printf not printing on console at proper time

5
HI,
I have the following code :
I am running the above code in Eclipse.
clean->Build All-> Run  (Dont …
Troubleshooting Solution

which is better MinGW or Cygwin for C/C++

2
HI,
I am on windows OS. If i have to use Eclipse for C/C++ i guess i have to use Cygwin / MinGW which …
Troubleshooting Solution

whats the C compiler that one should use for AVR C

5
HI,
Is there a standard compiler for AVR C programs ?

Thanks
Troubleshooting Solution

Debugging a C program for segmentation fault

3
Hi,
I have the following C programs -
io.c
main.c
scheduling.c
scheduling.h
types.h
io.h

if you run gcc
Troubleshooting Solution

Take a line as input without using fixed size array

2
Hi,
I want to take input a string of text ending in a new line.
There is following way to do it :
But …
Article

When is Unicode not Unicode? When Microsoft gets involved!

8
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has…
Troubleshooting Solution

Measuring time of a c program

3
Hi
I want to measure time of a c program. I found there is a clock function using which you can do …
Troubleshooting Solution

A code in C++ or C programming language  for linked list implementation using queue

6
Hi,
This is a code for implementation of linked list using queue.I have coded this, however i am …
Troubleshooting Solution

Parser not showing all errors

2
Hi,
I have made a parser using the bison input file. By writing the Grammar in it.
Most of it is …
Troubleshooting Solution
Troubleshooting Solution

How to delete files in a folder according to older file first using file operation in C

77
There is list of files in folder... how to delete older files first?
Troubleshooting Solution

AVR C program to send value 00 - AA to port B

2
Hi,
I need help writing an AVR C program to send values 00 - AA to port B

Any hints how to get started …
Troubleshooting Solution

How to capture stdout from a C-based dll in a VB.NET WinForms app?

1
Hi Experts,

My VB.NET WinForms app is calling a .dll that is coded in C.

The functions that are called …
Troubleshooting Solution

[noob] learn C

70
I need to learn C

how do I do it?

Do more with Experts Exchange.


Get Answers

Take a Class

Collaborate

Monitor your Site

Explore solutions and more