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,353
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,171
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 7,691
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,043
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,457
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 734
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,204
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 6,872
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 868
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,511
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 794
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,063
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,811
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,052
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,114
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,276
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,297
by nesta
Hi all, I am trying to understand the ldpc decoding using Log domain algorithm, Can anyone please provide a simple example to understand it. The notations of the algorithms are quite scary & difficult to understand.. plz provide a simple example . Thanks, Nesta
25-Jan-2011 03:05
by nesta Go to last post
0 901
by przemnet
Hello, does anybody know about implementation of Chord DHT in ANSI C (NOT in C++!!!) language? I'm looking for something like this , libraries that allow to use DHT, but written in pure C. Eventually it might be some other DHT algorithm than Chord, but written in...
17-Jan-2011 06:08
by przemnet Go to last post
0 1,204
by metryc
Hey Good Folks, I need to find the units value of many numbers. This "DoUnits" function does the trick, but it takes quite a while to subtract 10 until a single digit is found. Is there a simpler/faster/smarter way to get the same result? /* Test of DoUnits function */ #include <stdio.h> void...
13-Jan-2011 09:26
by metryc Go to last post
3 841
by cisace
Hey, if anyone can help it would be appreciated. I need to: Your task is to write a file archive utility similar to that of the Unix tar program. This program will be a command line program (i.e. there will be no graphical user interface). The purpose of this file archive utility is to allow...
11-Jan-2011 08:52
by metryc Go to last post
12 1,678
Post New Thread

Display Options Moderators
Showing threads 201 to 220 of 3007 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 09:16.

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