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,441
by smoothdogg00
My task is to create a program like the "ls" program that lists directory contents, subdirectories, etc. What functions would I use to get such information? And are there any good examples or places to look that anyone knows about? Basically I just need a good starting point, since I'm not...
10-Mar-2006 13:17
by davis Go to last post
1 1,356
by tomyy
we try to assign some values to the variables to be used in a c program.. However, the values must be taken from an excel sheet... The user will enter the values into an excel sheet (that will be used as input sheet) And the code that i hope you will send will read them from that sheet... I have...
10-Mar-2006 10:44
by tomyy Go to last post
3 1,715
by batman3280
Hello:hair: i have this code that i am using struct to display student grade,and names but the problem that i can not print the content of my date using pointers i have done the two function any help to fix this error this is the code i could not contenu my assignment Write function void...
09-Mar-2006 20:03
by davis Go to last post
3 2,022
by jaininaveen
i am trying to read a text file content with my program, the file size is 600kb i wrote my own function to read the file, but at the end of the function i am getting problem the text file contains all file's paths so i am trying to display all the paths one by one i am using a file pointer fp to...
09-Mar-2006 17:07
by davekw7x Go to last post
4 1,351
3d array>>> (Multi-page thread  1  2)
by wrath
ok so im trying to put a value in a 3d array, and then display that value at the end of the program. it compiles but jumps straight over the last bit code where you input the char value, why is it doing this, can anyone tell me? here is the code: #include <stdio.h> #include <string.h> char...
09-Mar-2006 17:01
by wrath Go to last post
11 1,983
by XeonXT
I've been working with the file format .esp for a while trying to read and write in this format, some of you might know it as the format for a "Elderscrolls III: Morrowind" plugin file. I'm trying to use a program to do this. Now I can read from it well, but I'm having trouble writing. I can write...
09-Mar-2006 11:03
by XeonXT Go to last post
12 2,187
by Veronica
This bit of code is a method on a database table and is used to calculate seed packet shrinkage rates and germination rates for plant production. Basically, the user should be able to enter a germination rate which in turn will calculate and populate the PacketShrinkage field. If the first two if...
08-Mar-2006 15:15
by Veronica Go to last post
8 1,540
by phil1234
has been reposted sorry for inconvenience
08-Mar-2006 13:38
by phil1234 Go to last post
1 3,856
by ikon2005
hey ppl. Im doing some coursework for uni and I am having a problem with the locale.h. I have been asked to change the thousands_sep so that I can read some numbers from a file. A line of the file looks like this : 8,712,992 8,112,096 9,313,888 10,636,592 Basically i want to change the...
07-Mar-2006 16:23
by QED Go to last post
1 1,018
by jaininaveen
I am trying to loading 524kb file and i am reading that file but at the middle i am getting an error message like 16bit(illigal operation CS:3577 IP:09b7 op:of03470024) this my code i have writen in C : #include <stdio.h> #include <conio.h> #include <string.h> #include <dos.h> #include...
07-Mar-2006 09:53
by davekw7x Go to last post
1 1,264
by smoothdogg00
First let me start by saying I am new to C. My program needs to read in a character in binary(including non-printable characters) and then display the character in octal representation, like the 'od' program does in UNIX. My code is as follows: int c; FILE *Fp; Fp = fopen(argv, "rb"); ...
05-Mar-2006 18:56
by smoothdogg00 Go to last post
4 1,535
by Fermat
I'm writing a small program in C. I've been using Clrscr() in TurboC, with conio.h, but it doesn't work in DEV-C++. Is there a clear_screen function I've forgotten about that I can use in Dev-C++ ? TIA
05-Mar-2006 08:32
by Fermat Go to last post
3 1,552
Thumbs down
by ugp
How to read a txt file from C. Assume file is like this. ID VAL 1 AA 2 BB 3 CC 4 DD 5 EE
03-Mar-2006 14:23
by davis Go to last post
8 10,269
by jaininaveen
hi, i am using system function in my c program, but it is not working for me code: #include<stdio.h> #include<conio.h> #include<stdlib.h> void main() { int i; clrscr();
03-Mar-2006 11:10
by WaltP Go to last post
4 1,242
by jaininaveen
i don't know how to issue a dos command from a c program. i tried system function but it is not working in my program so please tell me if any other way is there to issue the dos command..
03-Mar-2006 11:02
by WaltP Go to last post
2 5,197
by philae
hi everyone!!i have a homework and i dunno what to do... we are supposed to write a code in c that inputs two integers 1 to 250 digits and output their multipication, but th thing is we're not allowed to use words "float" and "double" in our codes!!!8O 8O 8O 8O 8O in worksheet it says "you need not...
03-Mar-2006 10:12
by davis Go to last post
6 1,185
by phil1234
I'm a beginner in C programming and need help with writing a program to sum 16-bit binary nos. Program stores bits of a binary number in a dynamically allocated linked list, one bit per list element. It reads integers from a file, converts to 16-bit binary linked list representation and calculates...
02-Mar-2006 13:06
by Guidelines Plz Go to last post
1 1,932
by vermin1302
I'm working on a game called The Prisoner's Dilemma. The outcome of the game is dictated generally by which strategy the computer uses to play. In the past few days, I wrote the program based around one hard-coded strategy, the Tit-for-Tat (TFT) strategy. Today, I decided to make the strategies...
28-Feb-2006 15:21
by ubergeek Go to last post
8 1,578
by linkin
Guys , is there Anyone who can expain me what these parameters in printf inside the for loop do? Its a non recursive solution for the hanoi towers (the fastest i think) and i've crashed my mind to figure it out ,i also searched the net and all i found is something about the myserious-elegant...
26-Feb-2006 19:35
by TurboPT Go to last post
1 1,426
by seabreeze
hello all, I have got a question, coz i have no clue how to move on at this point in my project. My problem is that I do not know how to make my C program read in data from an excel sheet. I was told to save the sheet as a .csv, which I have done, but i have no clue how to link the C code to this...
26-Feb-2006 18:33
by TreyAU21 Go to last post
4 2,041
Post New Thread

Display Options Moderators
Showing threads 2001 to 2020 of 3040 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 11:23.

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