Go Back   GIDForums > Computer Programming Forums
User Name
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

C Programming Language

Welcome to the C Programming Language forum.

Browse through the links below to find existing C Programming Language discussions - including source code examples, hints, tips, and tutorials. Example codes are syntax highlighted for your convenience.

If you have just registered or if this is your first time here, and if you wish to include example C code in your posts and messages, please paste them between [cpp] and [/cpp] bbcode tags. This will syntax highlight your C code examples within a post. Please refer to the details here. Also see: C++.

Post New Thread
Threads in Forum : C Programming Language Forum Tools Search this Forum
  Rating Thread / Thread Starter Last Post Reverse Sort Order Replies Views
by WaltP
Guidelines for Posting Requests for Help version 3.1 GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
11-Oct-2012 08:35
by WaltP Go to last post
3 9,601
by metryc
Folks, I've written a program to count the flips and flops of a rain gauge. The program monitors the left button of a cannibalized USB mouse to do the counting. The program works fine, no problems there. To terminate the program, I send it a TERM signal. The signal handler closes the files before...
01-Mar-2017 15:48
by metryc Go to last post
0 265
by sureme
Hi guys. I am making a program for a Roulette game I am designing on C. This program must: Read 8 input numbers, where each pair of numbers represent a single bet number and money amount. The pair of input numbers for one bet is repeated 4 times to represent a player making 4 bets. I will need to...
23-Feb-2017 10:38
by sureme Go to last post
0 984
by swedenguy
Hi everyone! I have a circular double linked list see for a description of circular double linked list. I want to reverse the list with a function called void reverse(list_t** head ); or maybe...
15-Dec-2016 03:52
by fedemengo Go to last post
1 4,803
by OntarioCanada
I have the following errors which all complaining about definition of Engineering parameters. Does anyone know what library should I use to resolve this issue? Error: identifier "BEU_MEGAWATT_HOURS" is undefined Error: identifier "BEU_BTUS" is undefined Error: identifier "BEU_KILOBTUS" is...
14-Jul-2016 10:52
by OntarioCanada Go to last post
0 1,363
by budgie1980
Hey everyone, wanted to see if anybody could help me with a segmentation fault. I've ran gdb debugging on it a few times, but I've never really used it before so I don't really know what I'm doing. It does say that I have a seg fault, but I can't find out what it is, or where it is. My code is...
11-Apr-2016 20:08
by budgie1980 Go to last post
0 842
by premrishi
hello, i am trying to connect the following two codes by is statement. #include // include the LCD library LiquidCrystal lcd(12, 11, 5, 4, 3, 2); int potPin = A0; //Potentiometer input pin int potValue1 = 0; int potValue2 = 0; // final display variable void setup() { lcd.begin(16, 2); // lcd rows...
07-Apr-2016 12:00
by premrishi Go to last post
0 558
by budgie1980
Hey all, just wanted to say thanks for your help last time. Thought you might be able to help me out again. I'm trying to write a program that will ask the user to enter their weight, then ask them to enter a number representing a planet. Then it should send those two inputs to a separate .c file...
01-Mar-2016 22:23
by TurboPT Go to last post
1 1,285
by budgie1980
I'm trying to debug this program and I keep getting a fault message. I've marked where the fault happens, but I can't figure out why. Thanks for your help #include <stdio.h> #include <stdlib.h> int main( void ) { int i = 0, count = 0, search = 1, found = 0; int number = 5; int table;
11-Feb-2016 20:27
by TurboPT Go to last post
3 634
by HelpF2
Hi. I need to check how many numbers in strings of 16 numbers is less than for an example 6. I only need a main rutine.. Below is my part of code but doesnt work byte a={3,22,31,9,11,6,7,8,23,17,10,30,73,40,55,93};
10-Feb-2016 06:31
by HelpF2 Go to last post
0 595
by budgie1980
Hello all, I need a little help with getting my program to work. The basic idea is that the program should ask the user to enter a number that is divisible by 3. If the number is not, the program should ask the user to try again. Once a number is determined to be divisible by 3, the program should...
09-Feb-2016 19:30
by budgie1980 Go to last post
2 591
by PatrickBootsCEC
Hi! I'm super new to coding outside of HTML and have pretty much no experience with C coding. What i'm looking for is something where you press a button on the keyboard and an mp3 (or any audio file) plays within the program, like if I Press "1" key the file named "1.wav" plays.. I'm also wondering...
06-Feb-2016 12:08
by PatrickBootsCEC Go to last post
0 669
by AsmaNew
I have this program that implements a counter down using a relative time. The output my be the following. depends on the input: Enter down-counter value: 3 Enter time-out interval: value:sec nsec: 1 1 counter: 2 counter: 1 counter: 0 stop - start = 3.000865 seconds
11-Nov-2015 10:10
by davekw7x Go to last post
1 1,116
by findnerd
I was trying to work with array in c language and wondered that the base index of array does not start with other than zero like it doesn’t start with 1, 2, 3.. I just want to know the concept behind. “Why the base index of array is zero in c language” As I am a beginner in c programming language...
07-Nov-2015 04:44
by Miss Figa Go to last post
1 793
by Jamesss
Hi guys, I am beginner so I need help or some hint with this program. I need program where program think specific number between 0 and 4 200 000 000 I chose 2 121 993. When i scanf some number for example 90 000 000 program have to write "seeking number is smaller" or "Seeking number is bigger"....
27-Oct-2015 15:26
by davekw7x Go to last post
1 535
by radhika12
I have studied in one book under the ADVANTAGES OF C LANGUAGE SECTION ,and I came across the term that C has an advantage of being portable,can someone please explain me regarding this ,actually what it wants to signify by saying this term "portability"?
27-Oct-2015 01:06
by lindseynicole Go to last post
1 1,041
by negru
I need to create dynamic string by given format(%d,%s,%f,%lf,%c) using variable number of arguments in function. This code gives me an error(main.exe has stopped working): #include<stdio.h> #include<stdarg.h> #include<string.h> #include<stdlib.h> char *form(char *format,...); char *form(char...
27-Oct-2015 01:04
by lindseynicole Go to last post
1 1,214
by Line
Hello all! I'm newbie in C. I have experience only with PHP. Is there something like PHP-file_get_contents function? Thanx
27-Oct-2015 01:01
by lindseynicole Go to last post
2 762
by markymark
Can someone please explain how i get from the for to do while for this program please. 1 2 3 4 5 6 7 8
27-Oct-2015 01:00
by lindseynicole Go to last post
2 776
by axe34
Hi I need help to write code for the following: I want to press + release button 1 (to start everything), then..... if button 2 is not pressed down then command XXXXX is done if button 2 is pressed down then we assess button 3: if button 3 is not pressed down then command YYYYYY is done
15-Oct-2015 10:56
by davekw7x Go to last post
1 567
Thumbs down
by b15026649
I'm new at programming so please bare with me. I understand the concept of the Merge sort, we're sorting an array by dividing it, using an other array. but what I dont get is the MergeSort function and what those instructions do exactly. Can you explain the steps in plain English for me please ?...
07-Oct-2015 09:59
by davekw7x Go to last post
1 579
Post New Thread

Display Options Moderators
Showing threads 21 to 40 of 3022 Moderators : 1
Sorted By Sort Order
From The
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 07:45.

vBulletin, Copyright © 2000 - 2018, Jelsoft Enterprises Ltd.