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,478
by andrepitt77
I am student of computer science and C language is my favorite language but i have no deeply knowledge about it. How can define a function in a C language? If you know than please reply me soon.
06-May-2011 06:41
by Mexican Bob Go to last post
1 4,019
by RachD
Hi, I am trying to enter details about Formula 1 driver in a file (their car number, their name and their team). Then, I am trying to enter the race Results by looping from 1 to 10, and in each iteration, I enter the car number which came in that position. When I update the drivers' details for...
06-May-2011 03:52
by Mexican Bob Go to last post
9 1,423
by kkmoslehpour
Hello everybody.. I have to finish this by tuesday and i dont know how to start this... I attachted the pdf file to the post. according to the insructions this is what i have so far #include <stdio.h> //calling library #include <math.h> //calling library #include <stdlib.h> struct entry {
04-May-2011 06:06
by Mexican Bob Go to last post
27 3,138
by Von Fuzzball
So, I'll just come out and say that I'm new to C programming. I took an introduction class for it this semester and I'm currently working on my final project. The program is meant to calculate the time it would take for two galaxies to merge after meeting. Treating them both as point-masses, here...
03-May-2011 22:30
by davekw7x Go to last post
1 1,108
by rustybladz
I am having a problem implementing LZW codec in C. I enter gdb and get a segfault when my 2D array for my dictionary is indexed at 25002. Am i doing somthing completly wrong? { unsigned char **dict; int *dlength; unsigned char p, temp; char c; int plength,i,j,k,diff,cd;
30-Apr-2011 21:16
by hughrice Go to last post
13 4,237
Hello Can anyone tell me , how can i read data in byte form from the serial port. I have an embedded device which sends me STX - 0x81 , ETX - 0x03. I want to read "0x81" as a single character from the com port. I am using Visual studio 6. Please let me know. Its urgent !!
25-Apr-2011 10:08
by davekw7x Go to last post
4 8,127
by RachD
Hi, I am trying to check whether a particular string contains just letters. However, I don't know how to use the "isalpha" function. What I want to do is to give an error message IF this string contains characters which are not in the alphabet (example digits). How can I do this please? Regards
25-Apr-2011 09:10
by davekw7x Go to last post
1 1,085
by kkmoslehpour
Hi everyone, I'm having trouble finding the correct algorithm on how to do the cos approximation. I have included my program below. I tried different values, but i'm getting either a very large number, or an incorrect one. If anyone could give me any tips/suggestions as to where I'm going wrong,...
12-Apr-2011 17:37
by kkmoslehpour Go to last post
5 2,541
by dumb
Hi, Sorry to ask this question because as far as I can know and read on the net this should work (and is simple), but I suspect I am missing something obvious. I am simply trying to wrap a function so a I can add extra code to its actions. The code below is just an example to simplify the matter....
07-Apr-2011 14:06
by dumb Go to last post
2 779
by xkasemx
guys, can you help me? i have to do a project In this project you are required to create a low interaction honeypot which will emulate the SNMP device. The server you created should abide the following requirement: 1. Listen on UDP port 161 2. Users are allow to enter at least 5 SNMP commands...
06-Apr-2011 04:58
by xkasemx Go to last post
1 1,257
by bharath1234
HAI, i want to display pixel values of a bitmap image iam able to read header information then how to read pixel values after reading header... please help me....
27-Mar-2011 21:06
by davekw7x Go to last post
4 7,012
by it-girl
hi .. i codded in c++ but i have many errors . i'am until now sudy c++ by myself . if you can help me to explain my errors in my code . i will be soo thanks . #include<iostream.h> int search (int a,int n,int k); void insert(int a,int &n,int x,int k); void main()
18-Mar-2011 22:52
by quneur Go to last post
1 902
by exca
Hi all, I am working on a program and experiencing some problems with it. I am trying to write an array of strings (a 2D array of char's) to a file which are created randomly. My code is like this: int main(int argc, char** argv){ int n, k; // n => number of strings k=> max length of any string
11-Mar-2011 15:15
by quneur Go to last post
14 1,570
by Predator
Hey, I've been assigned with doing something that looks like an Assembly compiler in C programming language, and i need it to run 2 programs, but not simultaneously, every 10 instructions, one stops and the other starts, and so on, until all the instructions are done. I can execute both of them but...
11-Mar-2011 14:43
by Mexican Bob Go to last post
1 842
by timothylegg
Hello, I have a compiler warning and a logical error in my code. I am working on a linguistic project where I need to convert phonetic text into unicode. To further complicate things, unicode excludes the uppercase symbols of the language which resulted in a custom TTF font being constructed...
21-Feb-2011 14:15
by timothylegg Go to last post
2 1,113
by masterofambient
I need to write a program that meets the following criteria. A password for a computer system must 1) have exactly 8 characters 2) consist of only alphabetic characters and digits 3) have at least one digit 4) have at least one alphabetic character write as program accept or reject a sequence of...
19-Feb-2011 19:46
by masterofambient Go to last post
2 1,880
by baluk
Hi, I have a doudt regarding the assignment of null value to a string in C. If we assign a value "0" to a string, Is the string considered as a null string? or should we only use "NULL" variable. Thank You, Baluk
19-Feb-2011 18:37
by davekw7x Go to last post
8 10,256
by applesoft
Gurus, Please help me writing c code for requirement. I need to write a function in c which should return a dynamic array of string. Here is my requirement. I have n different examine functions which will return result true or false and associated error text.(error text string is dynamic). My...
14-Feb-2011 10:54
by fakepoo Go to last post
1 3,155
by cdre
Help...ive been working on this code for quite some time now and whenver i reach the is a vehicle parking system and it crashes when the program is checking the departure of a car... #include <stdio.h> #include <conio.h> #include <stdlib.h> #define CAR 1 #define CAR2 2 ...
12-Feb-2011 22:41
by Mexican Bob Go to last post
1 4,414
by masterofambient
I have to write a simple program that will allow the user to input current bank account balance, then be allowed to add deposits/withdrawals, then receive the updated balance. I have started the program and gotten it to work to certain point. I have two while loops in the current program which...
30-Jan-2011 17:16
by masterofambient Go to last post
2 20,478
Post New Thread

Display Options Moderators
Showing threads 201 to 220 of 3011 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 08:46.

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