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 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 Go to last post
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...
27-Jul-2010 02:00
by fastest Go to last post
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);
16-Jul-2010 16:09
by Howard_L Go to last post
12 936
Thumbs down
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;
08-Jul-2010 23:08
by badri40 Go to last post
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...
08-Jul-2010 08:10
by trekman Go to last post
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...
30-Jun-2010 13:40
by CoastalMess Go to last post
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...
25-Jun-2010 12:21
by Howard_L Go to last post
5 1,073
 
by Ankit56
void main() { printf("%u",main); } What does the output of this program signify?
22-Jun-2010 14:49
by davekw7x Go to last post
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...
20-Jun-2010 13:12
by makailu Go to last post
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
14-Jun-2010 18:22
by davekw7x Go to last post
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...
14-Jun-2010 08:10
by fakepoo Go to last post
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);
12-Jun-2010 06:39
by zalezog Go to last post
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.
10-Jun-2010 20:39
by Howard_L Go to last post
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........
08-Jun-2010 20:21
by CoastalMess Go to last post
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...
08-Jun-2010 06:59
by darkjustice Go to last post
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 Go to last post
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...
31-May-2010 14:33
by davekw7x Go to last post
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. ...
31-May-2010 09:23
by davekw7x Go to last post
1 404
Question
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>
31-May-2010 09:00
by davekw7x Go to last post
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...
30-May-2010 22:51
by lionaneesh Go to last post
2 507
Post New Thread

Recent GIDBlogGID Spam Detector 1.1.0 by gidnetwork

Display Options Moderators
Showing threads 201 to 220 of 2962 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 · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 07:55.


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