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-Nov-2007 22:05
by krystyna93 Go to last post
1 6,223
 
by fastest
Dear All, Im experiencing some problems with the dynamic allocation of a matrix, in fact the problem is a little bit more complicated: I come to the details. I want to read matrices from several files and perform some statistical analysis on those data. So I created a list of files which should...
06-Nov-2009 07:40
by Howard_L Go to last post
4 54
 
by nishu1988
I am just speculating my imagination that whether at all, is it possible to build a universal compiler....?? For example, if i am programming in c( I use turbo c++ 4.5), is it possible to embed java code and some other language so that when the program gets executed....the java code gets executed...
06-Nov-2009 06:07
by ocicat Go to last post
10 236
 
by d0ll3rb1ll
I am creating a program to show a person monthly payments they need to make on their loan. I am having problems with getting a value besides 0 to stick to i and balance, because of this when the loop runs the amount of balance, interest and prin stay the same. Hoping someone can point me in the...
05-Nov-2009 09:43
by davekw7x Go to last post
2 52
Question
by iblink
Hello. I have declared a structure array of a defined structure. Now i want to know how to find the number of entries i have in the array. The array is below. #define MAXEMPLOYEE 300 int main() { struct employeeInfo{ int depCode; int empNr; char firstName;
04-Nov-2009 10:49
by fakepoo Go to last post
5 79
 
by d0ll3rb1ll
I need a loop that will increase a variable start_pop by 10% each time and stop when it is larger than end_pop. While I do this I need to increase another variable year by 1 each time the loop runs. I got this but I doesn't do what I want it to do, hopefully someone can help me. Thanks. So if...
04-Nov-2009 08:49
by davekw7x Go to last post
4 83
 
by d0ll3rb1ll
As stated I need to write a program that asks for a positive number and keeps asking until its gets one then it outputs the results. The results need to be outputted like below. Thanks. The asterisks are suppose to be spaces. **1 2 3 1 1 2 3 2 2 4 6 3 3 6 9
04-Nov-2009 07:27
by Mexican Bob Go to last post
3 69
 
by d0ll3rb1ll
I want to add the numbers between x and y and not include x and y. So for example if x was 5 and y 9 the sum would be 21. When I run the program the output is 0. Hopefully someone can help me. I use the gcc compiler. #include <stdio.h> int main (void) { double x, y, sum, z; ...
04-Nov-2009 00:12
by Howard_L Go to last post
1 49
 
by nilusha6
I have a variable in header file something like, typedef struct aa{ ..... type_of_variable **p_variable; ... }aa; Then i want to cast some other variable to, that pointer. im getting that structer as a pointer variable in my function parameters.
29-Oct-2009 09:08
by Howard_L Go to last post
2 61
Question
by iblink
Hello. While trying to initialize an array in c, i get this error "too many initializers". I do understand what it means but i need help solving the problem. this is my array below. char arrmonths = {"January", "February", "March", "April", "May", "June", "July","August", "September",...
28-Oct-2009 18:19
by iblink Go to last post
2 71
Question
by iblink
Hello. I am trying to read info from a file into an array of a created structure. After running the program on visual studio 2008, it gives me no syntax error but this dialog box appears "debug assertion failed". Can anyone look at my code and tell me the problem.. Thanks in...
28-Oct-2009 18:18
by iblink Go to last post
5 111
 
by RahulJain83
Hi, I am Rahul. We have a complete software written out (with n other shared libraries maintained by various other teams). The shared libraries are loaded at run time by the main executable depending upon what feature user wants to run. All across our code, we are using printf and fprintf to print...
28-Oct-2009 02:03
by RahulJain83 Go to last post
2 82
Unhappy
by preetpnd
Sometimes it so happens that while executing the program for the result the o/p is continuous or gets stuck in the DOS shell. my Question: Is there any command to quit this shell and return to the main program or C shell directly.
26-Oct-2009 20:47
by Howard_L Go to last post
3 82
 
by chekers
anyone can help me to convert this c coding to a structure...i dont know how to do it...Plz help me.... #include <stdio.h> #include <string.h> void input_name(char name, int stud, float mark_cs1, float mark_cs2, float mark_cs3,int ch_cs1,int ch_cs2,int ch_cs3,float gpa); void input_mark(float...
21-Oct-2009 10:34
by fakepoo Go to last post
23 398
Question
by aijazbaig1
Hello folks. been trying to delete a node from a binary search tree (sorted tree that is). The delete does not work as expected. Heres the code: #include<stdio.h> #include<stdlib.h> struct node{ struct node *right;
21-Oct-2009 06:11
by L7Sqr Go to last post
1 144
 
by tbites
Hello all, I am new to this forum. and want to thank you for having help for coding. I am not a mooch. I like to try my hand at my code first. Then get some help. What I am trying to do is practice pointers to a function. Below I compiled it but it doesnt display the length of the string? I want to...
14-Oct-2009 14:13
by tbites Go to last post
10 135
 
by chekers
Dear friends,i've done a project for my course.Its about employee salary deductions...my only problem is the coding is working but its not doing the deduction and give the balance of a salary for an employee....plz help me plz.. this is the code: #include <conio.h> #include <stdio.h> int main() { ...
13-Oct-2009 10:41
by chekers Go to last post
5 125
 
by salvate_me_plz
Ok the story goes when i receive my assignment in school, it's a assignment of key lock C programming.. and it due on 15 of Oct 2009, someone plssss help me with it, i do half, and i stuck in reading the text file, i can read it but i can't use loop to read all of the data in the text file, SOMEONE...
10-Oct-2009 12:39
by Mexican Bob Go to last post
3 132
 
by gandalf215
Hello, I have this problem: Given an array, his lenght and a numer (sum), in output the alghoritm must return all the way to obtain that sum. For example: 8, 11, 8, 7, 7, 6, 5, 4, 3, 2, 2, 1, 1 (where the first 8 is the sum to obtain and 11 is the number of the elements). Output: 8
10-Oct-2009 04:33
by gandalf215 Go to last post
0 105
 
by FAT TONY
Hey there.. I'm have to finish a program for tomorrow. What I got to do is this: The guide will put a number between 1 and 10000 I need to find all primes into the number he put, not print, but save them and print the biggest primes of this primes and the second biggest. For example the guide...
04-Oct-2009 09:16
by davekw7x Go to last post
2 301
 
by Mt570
Hey I have to write a C program that is a linked list of customer data, with various functions. The function I'm having trouble with is the insertAtIndex function, this function needs to insert a new customer data at the location indicated by the parameter "index". If index is 0 then it should be...
28-Sep-2009 23:32
by Mexican Bob Go to last post
5 164
Post New Thread

Recent GIDBlogReview: Gel laptop cooling pad by crystalattice

Display Options Moderators
Showing threads 1 to 20 of 2649 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 · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 08:52.


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