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,603
 
by h.fernando
hi, i am new in c and i am tray to do an exercise from a book of Brian w. Kernighan. the program is for convert upper case letters to lower case. using the expression : exp1 ? exp2:exp3 the error is "conflicting types for lower." please explain to me. because I just don't see them. #include...
11-Jun-2011 13:30
by Mexican Bob Go to last post
4 943
Unhappy
by cpit
Hi All, I have some problems to grasp the needed of function free(), I learned that it frees memory allocated by malloc. So considering the following code for(i = 0; i < 1000000; i++){ int * x = (int *)malloc(sizeof(int)); . . . free(x);
31-May-2011 07:22
by cpit Go to last post
3 1,621
 
by akay
Hi guys, I am in need of some real help for my C class. I can't seem to understand why it won't accept 'y' when I input it in. I have not finished it and is only at the beginning of the coding since I don't want to move on without dealing with this first. It's the beginning of the 21 matchstick...
26-May-2011 16:18
by akay Go to last post
3 1,978
 
by moon87
Hi all, I try to parallel the k-mean cluster algorithm to get a faster one with mpi.... i work on real data set, the data contain 1030 row (instances) and 8 column First time - master send data and center to other processors and the all processors make distance computation between all row and...
24-May-2011 15:10
by aleksandar Go to last post
1 1,362
 
by babu81
URGENT, My little brother is trying to keep his dream alive at CSU Fresno State. Needs to pass C programing class to stay in school. We working hard! Need to create a program, what we have in place is a text file (converted from excel) It has columns with name of player, names of each drill with...
15-May-2011 09:33
by aleksandar Go to last post
6 1,342
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,284
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 2,038
 
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,769
 
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,277
 
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 953
 
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,835
 
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,076
 
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,468
 
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,267
 
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,147
 
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,344
 
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,728
 
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,129
 
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,659
 
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 817
Post New Thread

Display Options Moderators
Showing threads 201 to 220 of 3022 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 02:53.


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