Go Back   GIDForums > Computer Programming Forums
User Name
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,223
by samah
Hey :D so I'm trying to create a ternary tree from an array of strings, simple as that, but the program won't run. Now I'd like to know what am I doing wrong here maybe not in the way of thinking? #include<stdio.h> #include<string.h> #define P 100 #define N 3 typedef struct{ int T;
29-May-2012 10:26
by Howard_L Go to last post
2 1,044
by shyamraj
Hi All, I am new to this forum. I recently started C programming. I'm writing a program to scan an array of integers, but doesn't seem to work properly. Here's the code: #include<stdio.h> #include<conio.h> int main(void) {
27-May-2012 23:56
by Maximlis Go to last post
2 873
by clee83
Function should return a string that is 600+ characters long but string is 242 characters in length... %...
25-May-2012 23:22
by Howard_L Go to last post
4 1,324
by swarna.bhatt
Hi All, I am trying to understand how sizeof() , and signed integers work . Below is a simple code int i = 1; int k = -1; if(k<sizeof(i))
21-May-2012 22:57
by swarna.bhatt Go to last post
4 865
by choco
Hello again, im trying to solve this for days... im quite dissapointed, i came up with many ideas and thats the latest of them. I always trap myself in repetitions and in special cases of numbers. Any help here will be more than appreciated. :evil: #include <stdio.h> int main(void) { int...
15-May-2012 17:45
by choco Go to last post
2 710
by sumanish
I do not have much knowledge about compilers and all. I have one simple question about C programming. If there is no sizeof operator in C then does those pointer arithmetic work or not ? I am very much confused about it. :( Please somebody help.
14-May-2012 10:52
by davekw7x Go to last post
8 960
by sirhc9891
Title says it all, I don't get how to initialize an array with a string? The output should look like this, Array 1: This array was initialized with this sentence.
12-May-2012 22:49
by Howard_L Go to last post
16 1,605
by afriafro
Im having trouble doing an update function in a Department System program. The requirement of the function is to update the records in a file. #include <stdio.h> #include <string.h> void load_menu(void); void add(void);
09-May-2012 10:25
by davekw7x Go to last post
1 1,192
by me_newbie
Hi Guys! I have a program of raytracer with reflections, sphere and plane which runs sequentially, and i re-written the program in a way that it can run on 8 core (created 8 threads) but unfortunately it is not producing the same out put, can anyone figure out why? and how to fix it? Here is the...
08-May-2012 15:25
by davekw7x Go to last post
3 891
by choco
Hey guys I was writting a program when I came up with a problem I couldn't explain. Here is my questionable part of code, i include only whats needed. int maxhr; /*definition line */ float minthr,maxthr; /* continues */ /* ........ */ minthr=maxhr*50/100; maxthr=maxhr*0.85;
08-May-2012 03:44
by choco Go to last post
2 670
by tomas7470
i need to write a code that solve this issue... if the number of circulating was 4 then.... if the matrix first was : 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 Then after 4 rotation to the right the matrix will be: 2 1 1 1 3 2 3 1
05-May-2012 17:35
by davekw7x Go to last post
1 617
by eurydice
Hello guys :) I've never dealt with files in C language. I would like to know if the code I wrote is correct. It seems to work but I'm not sure about the syntax. FILE *f1; struct service { char city; char train_station; };
05-May-2012 05:59
by Nathaniel Go to last post
2 655
by choco
Hey guys, i'm really new here and to c... This is part of a program that tests a 5digit int to see if it is a palindrome number. I found the methodology and I have errors with my prints >.< So what i get is: Numbers are: (first print command) 0 (second print command) then I input my first...
30-Apr-2012 20:51
by choco Go to last post
2 730
by Scotty71
Hey guys and girls, I'm having a bit of an issue with my my program - i would like it to count the number of times a certain integer (between 0-9) has been input by the user. I'm using mainly arrays/loops to do so, however it feels like im just going round in circles ... i know im missing something...
30-Apr-2012 16:48
by ZionZJ Go to last post
6 7,733
by johan
1) Use fork ( ) system call to create a child process. 2) Child process should first take student name as input and then it should display student name that it takes from user. At last, child process should display numbers from 0 to 5. 3) Parent process should first take VU Student ID as...
27-Apr-2012 12:06
by johan Go to last post
4 888
by Yogesh
#include<stdio.h> #include<conio.h> #include<dos.h> void main() { char far* s,far* v; char ch='A'; int i,j; clrscr();
25-Apr-2012 19:07
by Mexican Bob Go to last post
1 1,899
by alphasil
Hi Im new in this site and looking for some help with a code i have struct perg /* Estrutura Questões */ { int id; char ques; char op1;
24-Apr-2012 13:37
by alphasil Go to last post
2 1,293
Thread Rating: 5 votes, 3.8000 average. by samah
Hey I've posted before a thread about this but now i've taken a different approach. Now this should work, i don't know why it doesnt :( It's a multilevel cpu scheduler with 2 queues(No preemption) Q1 accepts priorities 0 to 3 and works with SJF, Q2 4 to 7 works with FCFS.What i did is assigned the...
21-Apr-2012 09:18
by samah Go to last post
2 16,716
by sirhc9891
Hello all! I am new to this thread and new to C Programming Language. Unfortunately for my class we were stuck in a none computer lab so we have to take our work home with us and learn the language. I am currently doing a program for the class but have ran into some errors and need help figuring...
17-Apr-2012 17:58
by sirhc9891 Go to last post
2 748
by eurydice
Hi all, This is my very first post here :). I have a problem with strftime function. Here's my code #include <stdio.h> #include <time.h> main()
12-Apr-2012 01:47
by eurydice Go to last post
2 2,263
Post New Thread

Display Options Moderators
Showing threads 101 to 120 of 3003 Moderators : 1
Sorted By Sort Order
From The
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 16:20.

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