| |
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...
|
11-Oct-2012 08:35
by WaltP
|
3 |
7,921 |
|
|
by Alan
Over a year ago I asked for guidance where to publish a C multi element maths library. I was kindly recommended SourceForge, thanks for that, 'bign' has been up ten months. This works with numbers in unsigned int arrays, up to the limit of addressibility or memory.
Within this library I have a...
|
01-Aug-2010 13:07
by Alan
|
13 |
1,213 |
|
|
by fastest
Hello everybody!
I am having some little troubles in writing a function for allocating space for a 3D matrix.
I successfully wrote a function called matrix_alloc which works for simple 2D matrices
void matr_malloc(double ***m, int row, int column)
{
int i;
if((*m=(double...
|
|
3 |
501 |
|
|
by loseyourself91
I am beginner and i did this so far , but there something missing in the logic maybe .(simple calculator ). thanks in advance. :?
#include <stdio.h>
#include <math.h>
/*Functions Prototypes*/
void scan_data(char *op1p, double *num1p);
void do_next_op(char op1, double num1, double *accum);
|
|
12 |
936 |
|
 |
by badri40
Can we change the variable name used inside the functions depends on any condition in the C program,
eg,
struct temp
{
int data;
char ch;
}s1,s2,s3;
|
|
3 |
495 |
|
|
by trekman
Hi, I am writing a program to parse through a text file and write out some info to another file. I had everything working fine until I tried to add the functionality to calculate the mean of some of the values. This required converting a string to double and I tried using atof, however it was...
|
|
7 |
468 |
|
|
by CoastalMess
I wrote this code as a test to try and understand how to complete a school project. Basically it reads input from the keyboard and stores it in a character array, then it should open and read the file and then print the values in it. When i tried to compile I recieved a "segmentation fault", how do...
|
|
2 |
464 |
|
|
by CoastalMess
im recieving a syntax error before the line
"char testfile"
and im just not sure whats happening... here's my instructions and what i have coded so far. Thanks for the help! I am also a little confused about how to write a FLUSH for the non-numeric values in the file.
The program should print...
|
|
5 |
1,073 |
|
|
by Ankit56
void main()
{
printf("%u",main);
}
What does the output of this program signify?
|
|
1 |
2,349 |
|
|
by makailu
Hi,
I am a C student that has been taught each and every one of the "Things to Avoid in C/C++" as the way to go, and this is me when I found GIDNetwork -> :banana:
In the link above (Edit: Aparently I can't post links, I meant this http://www.gidnetwork.com/b-58.html (remove the spaces) ) WaltP...
|
|
6 |
1,433 |
|
|
by Ankit56
1. Is it allowed in C to override the in-built functions?
2.
char ch=0x80;
printf("%d",ch<<1);
Output:
-256
|
|
7 |
1,195 |
|
|
by goraya30
Hi i am try to use system command in c so i need to make a buf and then pass that to system command.
sprintf(buf, "xyzzz -c%l -m%l ", id, order);
i need to pass -c and -m with id and order (-c12345,-m6789)but i am not geting value of id and order. think due to -c and -m there is some problem. can...
|
|
3 |
428 |
|
|
by Ankit56
int (*fp)();
Is it that fp can be assigned any function that returns an integer but can take any number and any set of arguments?
I tried with
main()
{
int mult(int, double);
int addd(int , int);
|
|
1 |
403 |
|
|
by kidd
i am having problem with the C programming.
i am want to do a prototype of a aircraft to detect it when its tilt.
using XYZ sensor, arduino board.
can anyone help me with the code for sensing the tilt.
|
|
1 |
831 |
|
|
by CoastalMess
hello, I am taking my first programming class, computer science 1. We are working on our second program...
Prompts the user for three integers and one floating point number.
Reads the three integers and one floating point number from the user.
Performs the following calculations........
|
|
2 |
488 |
|
|
by darkjustice
Hello, everyone,
well i am pretty much stuck in this simple thing, i want to access (any) device via LPC bus, on my x86 development system. a test i want to do is to may be access any device attached to LPC bus.
my system runs DOS and the compiler i have is QC 2.5 (qc25 for C-programming).
so can...
|
|
0 |
899 |
|
|
by gm24
int main(void)
{
int a= {3,5,6,7,1,9,8,2};
int i',y;
for (i=0; i<4;i++){
t=a;
a=a;
|
07-Jun-2010 06:43
by gm24
|
4 |
800 |
|
|
by logik25
Hi everyone,
I have made a program that will connect to a server and download the webpage from it using the GET method. I am using this program to constantly monitor updates on some specific webpages, and I will probably be using thread to handle multiple sites.
Anyway, the problem I am having...
|
|
1 |
571 |
|
|
by lionaneesh
// Dumps raw memory in hex byte and printable split format
void dump(const unsigned char *data_buffer, const unsigned int length) {
unsigned char byte;
unsigned int i, j;
for(i=0; i < length; i++) {
byte = data_buffer;
printf("%02x ", data_buffer); // Display byte in hex.
...
|
|
1 |
404 |
|
 |
by lionaneesh
#include<stdio.h>
#include<string.h>
#include<arpa/inet.h>
#include<netdb.h>
#include<sys/types.h>
#include<sys/socket.h>
#include<fcntl.h>
#include<sys/stat.h>
#include<stdlib.h>
#include<time.h>
|
|
3 |
413 |
|
|
by lionaneesh
This is a simple-web-server made in C..
Supported OS : I have made it on Ubuntu 9.10 ... and i think it will run on all linux system .... Windows is not supported
Compiler Instructions : As this is a web server so it will host on port 80 to run this you need administrative rights i.e sudo rights...
|
|
2 |
507 |