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-Nov-2007 22:05
by krystyna93 Go to last post
1 6,247
 
by i hate c
anyone know why i would get a runtime error R6002 - floating point not loaded in what seems like a fine program it occurs at the point where the program attempts to read a file
20-Jun-2009 08:36
by davekw7x Go to last post
18 33,799
 
by nishu1988
I am working on a project in which an ECG sends out waveforms through an rs232 port in the computer and the waveform gets printed dynamically on a grid.I am new to c programming and need some tutorials regarding hardware interfacing and port programming(both parallel and serial)...can anybody...
19-Jun-2009 03:56
by Mexican Bob Go to last post
5 310
 
by jusmeehh
Write a program to compute the aritmetic mean (average), median, and mode for up to 50 test scores. The data are contained in a text file. The program will also print a histogram of the scores. The program should start with a function to read the data file and fill the array. Note that there may be...
18-Jun-2009 07:19
by Mexican Bob Go to last post
3 299
 
by clueless
I'm trying to write a simple program that will take values from a .txt file that are seperated by tabs and put them into a 2D array. I'm using gcc to compile. I first need to find the dimensions (rows and columns) of the data in .txt file. Below is what I came up with - it almost works. Here's...
16-Jun-2009 12:41
by fakepoo Go to last post
9 428
 
by tenkasian
I am sending data from a linux application through serial port to an embedded device. In the current implementation a byte circular buffer is used in the firmware. (Nothing but an array with a read and write pointer) As the bytes come in, it is written to the circular bufffer. Now the PC...
15-Jun-2009 07:12
by Mexican Bob Go to last post
1 209
 
by martin314
Hi all, I was looking through some code from "Eric Steven Raymond", and saw a (void) before every character output. I have never seen this before, but I'm new to programming anyway, so I googled using a 'cast before printf'. What I more or less got back, is that it's used to inform the compiler...
12-Jun-2009 14:07
by Alan Go to last post
9 242
 
by tenkasian
Hi all, I am writing a linux testbed for wireless sensor networks. The core objective is to test data transfer between any two nodes. The network runs using tree topology. One node in the network is the "Driver". This node is connected using serial port to a linux PC. What I am trying to write is...
11-Jun-2009 12:27
by tenkasian Go to last post
2 159
 
by Alan
I am a hobbyist. I have completed a big number library. This is versatile and refined, I have had it on the go for nearly ten years. I would like to earn some feedback and my chosen route would be to see it on an appropriate website, and then be done with it. The suite comprises 8 files, nearly 500...
11-Jun-2009 04:24
by Alan Go to last post
2 190
Unhappy
by calvinlyp
hi all, i am using ubuntu 8.10. i was trying to run a perl script which will in turn invoke a C++ program call sharc(which can be downloaded from http://sourceforge.net/projects/sharc/) however i got an error below: /usr/bin/sharc: error while loading shared libraries: libstdc++-libc6. +2-2.so.3:...
04-Jun-2009 02:33
by Mexican Bob Go to last post
1 182
 
by alishaikhji
I am working on a program which will need several different integer and float random numbers at different stages, for example: - At one point, I need a random number (float) in the range 0.1 to 10.0 - At one point, I need a random number (float) in the range 0.5 to 1.5 - At one point, I need a...
03-Jun-2009 11:32
by davekw7x Go to last post
2 361
 
by alishaikhji
Hello I am a newbie to C language. I need to use the data (48 values) from a text file (which area float values) in the following form: 80.00 23.00 82.00 22.00 80.00 23.00 81.00 24.00 80.00 22.00 80.00 23.00 84.00 24.00 80.00 22.00 82.00 32.00 120.00 102.00 120.00 132.00 120.00 140.00 120.00...
02-Jun-2009 20:03
by alishaikhji Go to last post
2 367
Post
by aska
hi, whene i have an error or warning like this '_beginthreadex' undefined; assuming extern returning int, so what`s this means and how can i resolve it?
01-Jun-2009 15:48
by davekw7x Go to last post
3 126
Post
by aska
hi everyone , i write a program in C to determine the type of microprocessor ,so for this task i include in c code source a assembler code ,,,, this my code // Compile by BC++version 3.1 #include <stdio.h> #include <string.h> #include <conio.h> void main() {
01-Jun-2009 15:40
by davekw7x Go to last post
1 199
Post
by aska
i have a little code for determing memory size this my code: /* using interupt 12H BIOS) */ #include<stdio.h> #include<bios.h> int main(void) { printf("memory size %d kbite\n", biosmemory()); return 0;
01-Jun-2009 14:55
by davekw7x Go to last post
3 367
 
by radiorat
Please excuse me if this question has been asked before,i did search first. under Dev cpp in a C program ,using name=toupper(name); works fine on a PC. on a Mac using 10.5.7 and xcode 3.2.1 it throws "passing argument 1 of 'toupper' makes integer from pointer without a cast" errors. Apples man...
30-May-2009 06:06
by Mexican Bob Go to last post
3 206
 
by lanz
Hi there! I've just been looking around on the forum and was hoping to learn/see the output of the two files in this tutorial: http://www.gidforums.com/t-3369.html through the use of a makefile. Was wondering how to do this and how I would 'compile'? Looking around, I've come up with...
28-May-2009 14:10
by davekw7x Go to last post
5 196
Exclamation
by raduq
Hello! I have to resolve a problem for a test and i've stumbled upon an error. The compiler gives me "return type of main is not int", "no newline at end of file" and syntax error at end of input. The text of the problem goes like this : "Create a function which verifies if there is a path from a...
26-May-2009 13:40
by davekw7x Go to last post
7 247
Unhappy
by nilusha6
Can any1 plz gv me a sample code for, compessing data buffer to a new file. I used, zlib. but, cannot unzip the resulting zip file. Can any1 send me any other way or any guiding site. Im new to this area. If you know anything about this area, plz reply me. Thnk u very much.
22-May-2009 01:48
by WaltP Go to last post
1 108
 
by dirleyrls
Hello, there I'm trying to make a program in wich I'll need to deal with bitmap files. I'm already familiarized with the bitmap format and I've already planned almost everything. I've encountered just one problem until now: how to generate a default color palette? I mean, the MS Paint does it for...
19-May-2009 14:52
by davekw7x Go to last post
1 674
 
by Howard_L
I am confused about swapping defined structures , not so much swapping pointers to structures. I'll explain within the following:#include <stdio.h> #define MAXLEN 32 typedef struct Player{ char name, ngames, avg ; } PLAYER; int print_players( PLAYER* pl_1, PLAYER* pl_2); int main(void) {
18-May-2009 22:31
by Howard_L Go to last post
3 209
Post New Thread

Recent GIDBlogProblems with the Navy (Chiefs) by crystalattice

Display Options Moderators
Showing threads 61 to 80 of 2658 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 · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:50.


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