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,353
Lightbulb
by aijazbaig1
Hello there. Has anyone here attempted to cross compile the gnu C library (Glibc)?? 8) Well, I am trying to do just that to accomodate a change we made to the underlying Linux kernel. The first thing is to configure the build process by running the configure script found in the base directory...
29-Jan-2013 09:32
by Mexican Bob Go to last post
5 803
 
by grf
Hi, i have some problems to assign the numbers in the file as the value of variables. I have the code to read the file, but i don't know how to assign the values. My code is : int time; FILE *archive; char caracter;
16-Jan-2013 09:26
by davekw7x Go to last post
1 674
 
by refaelok
hello. I exercise and I do not understand the concept of the solution. Exercise wish to write Recursion function int check_zone (int matrix , int x, int y). The matrix consists only of 0 and 1. Where 0 is a wall and one is beyond. Function takes coordinates and prints the number of options to get...
10-Jan-2013 17:17
by davekw7x Go to last post
1 703
Post
by yogesh4ever
Hello, I have written c code for string reversal. Program compiles without any error. But it gives runtime error. I am not able to catch the code in my error, Please help me. The code is as follows.
08-Jan-2013 12:04
by yogesh4ever Go to last post
2 725
 
by Nakz0r
i wrote a code for an assignment that requires generating random numbers , " Write a program that uses random number generation to create sentences the program should use four arrays of pointers to char called article, noun, verb, and preposition. The program should create a sentence by selecting...
21-Dec-2012 23:20
by davekw7x Go to last post
1 1,831
 
by 1stFallen
I hope this is the proper forum for this...I maybe should have posted in a Unix forum but here goes... I was using a tutorial on gdb just to be able to better utilize it... When I compile a random program with the -g flag and then I invoke the debugger with the command gdb -q ./a.out Then the...
17-Dec-2012 08:56
by davekw7x Go to last post
1 763
 
by 1stFallen
When I compiled this basic program an ran it in fedora 13 running in vmware on a mac (10.6) It printed some really bizarre output to the terminal... #include <stdio.h> #include <string.h> int main() { char message; int count, i; strcpy(message, "Hello, world!");
17-Dec-2012 08:06
by davekw7x Go to last post
1 671
 
by lacake
Hey, can someone tell me what im doing wrong, as i cannot get the array to store the numbers i input. #include <stdio.h> #include <math.h> #define X 2 #define Y 25
08-Dec-2012 08:07
by davekw7x Go to last post
1 671
 
by sous
That is my code : #include<stdio.h> #include <ctype.h> #define MAXSTRLEN 200 typedef struct{ char arr ; int numchar;
05-Dec-2012 18:02
by davekw7x Go to last post
3 799
 
by BeckyEdwards
Hey, so im new to this forum and as part of a university project i have to code the determinant of a 4x4 matrix. I have the code pulling in the matrix from a txt file and dont know how to proceed from there. #include <stdio.h> #include <stdlib.h> int main() { int i, j; FILE *matrixfile;
30-Nov-2012 10:20
by davekw7x Go to last post
5 21,434
 
by FlashAsh99
Suppose I have something like... #define FIRSTSTRING "my string 1" ... char secondString = L"my string 2" char firstString = ??? Where there is ???, What do I put here to set firstString to the value of FIRSTRING macro, similar to how secondString is set.
18-Nov-2012 15:13
by misterblack Go to last post
5 4,922
 
by hufnagel
I am trying to make a 8 Number Puzzle. I have to make 3x3 table including numbers from 1-8 something like this: 1 2 3 5 6 4 7 8 Then the player will have to enter a number and that number will have to be moved to the blank space. So in the above case, 4 would be moved,...
10-Nov-2012 23:23
by davekw7x Go to last post
4 1,114
 
by fastest
Dear all, it has been a while since last time I posted something in the forum. However, I am facing something I am not able to understand thoroughly. Even though the problem is related to a rather big project, I will try to explain it using a simple example. I am writing a library for GNSS...
02-Nov-2012 12:09
by davekw7x Go to last post
9 1,000
Question
by net_walker
Hello guys.I have a little experience in C and I want your help because I get stuck. Let me explain you what is my problem (I don't know if it is stupid) At the beggining,the intention of my code is to read from a file called data.dat, which has a form like this,where the first collumn is the...
01-Nov-2012 13:05
by net_walker Go to last post
14 1,414
 
by cvenkatasunil
Hi all, I wrote a program which handles so much data. Program takes data as input from a text file and makes some calculations and prints the data to a file. Problem I am facing is after printing 170 data points of around 10 variables it is getting intermittently getting strucked I am not able to...
01-Nov-2012 07:28
by davekw7x Go to last post
1 670
 
by Nakz0r
i wrote this code for a project in uni and im not getting any errors, 1 warning though and the outcome is always 0 no matter what input i use , i could use someone to read through it and point out where i failed. (Using Code::Blocks 10.05) Write a program that determines the day number (1 to...
31-Oct-2012 16:24
by Nakz0r Go to last post
2 22,277
 
by hufnagel
I want to have a program where you let a user input a string of characters and display it from the right one by one. An example if a user enters 'ABCDE' would be like this: E DE CDE BCDE ABCDE I got this by printing each character manually, but I don't know how to do this for a inputted character...
30-Oct-2012 00:49
by hufnagel Go to last post
2 767
 
by hufnagel
I am making two C programs which deals with file I/O. The first program makes a file called "rand.txt" in which 10 random numbers are generated and saved on the text file. The second program is supposed to take the randomly generated numbers from "rand.txt" and order them in an ascending order. I...
29-Oct-2012 06:33
by hufnagel Go to last post
2 800
 
by printf("Help")
Hi there, still trying to program a hangman game in C, but having little joy. I've reached a stage where I can get player 1 to enter a word that is stored in an array, but getting player 2 to enter a letter to guess is giving me problems. I can see no problems with the scanf function that I've...
25-Oct-2012 09:27
by printf("Help") Go to last post
2 1,146
 
by bugmenot
http://i.imgur.com/jZoDc.jpg?1 im still new to programming , i referred in here and edit some .but there is error :( someone can help me ? #include <stdio.h> #include <math.h> void scan_data(char *op1p, double *num1p);
21-Oct-2012 07:17
by davekw7x Go to last post
1 791
Post New Thread

Display Options Moderators
Showing threads 61 to 80 of 3007 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 09:18.


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