| |
Rating
Thread /
Thread Starter
|
Last Post  |
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...
|
|
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
|
|
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...
|
|
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...
|
|
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...
|
|
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...
|
|
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
|
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...
|
|
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
|
2 |
190 |
|
 |
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:...
|
|
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...
|
|
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...
|
|
2 |
367 |
|
 |
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?
|
|
3 |
126 |
|
 |
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() {
|
|
1 |
199 |
|
 |
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;
|
|
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...
|
|
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...
|
|
5 |
196 |
|
 |
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...
|
|
7 |
247 |
|
 |
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
|
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...
|
|
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)
{
|
|
3 |
209 |