GIDForums  

Go Back   GIDForums > Computer Programming Forums
User Name
Password
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,543
Unhappy
Thread Rating: 3 votes, 5.0000 average. by kayc007
Hello all, pls am new here and want to start C programming, i need advice on hw 2 go about it, do i need any knowledge of any oda stuff? Whick materials do i need etc, anytin dt can help me start
13-May-2011 18:21
by Mexican Bob Go to last post
4 1,249
Unhappy
by chruzie
Hi, Sorry if this is the wrong place, but it's C programming and was a bit stuck onto how to write this. Read books on C programming but still can't grasp this concept. What I'm trying to do is program a Microcontroller that uses the as11.exe as a compiler. The board is a 68HC11 and the program i'm...
13-May-2011 04:28
by aleksandar Go to last post
13 1,989
 
by kkmoslehpour
Ok so I need to write a function called Collatz that accepts a single integer argument and returns an integer. The returned value should be the number of terms in the Collatz sequence that starts with the number passed in and ends with 1. The Collatz sequence is computed this way: If the number is...
10-May-2011 14:42
by kkmoslehpour Go to last post
14 4,634
 
by touches
Hello all I am learning C using KN Kings C programming a modern approach book. I am on the arrays chapter and i am stuck in two problems given in that chapter the first one is generating a random walk and this is the question "Write a program that generates a "random walk" across a 10 x 10...
10-May-2011 10:02
by aleksandar Go to last post
10 6,113
 
by Didgerdoo
Hi, I'm not asking for homework help, I'm just trying to teach myself the C language and figured a calculator is a good way to start. What I've done is built a simple calculator that takes two floats and an operator in standard (not RPN) and tests the operator given then outputs the...
09-May-2011 10:50
by aleksandar Go to last post
2 937
 
by moon87
Dear all, I want made experiments on k-mean algorithm How i can find the k-mean algorithm source code with c language? Thank you very much
08-May-2011 15:28
by davekw7x Go to last post
1 2,772
 
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,044
 
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,445
 
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,191
 
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,122
 
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,274
 
by anand.srt
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,440
 
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,107
 
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,604
 
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 798
 
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,280
 
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,092
 
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 917
 
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,597
 
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 866
Post New Thread

Display Options Moderators
Showing threads 201 to 220 of 3017 Moderators : 1
Sorted By Sort Order
From The
LuciWiz  
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 06:16.


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