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,683
Thread Rating: 5 votes, 5.0000 average. by earachefl
The following code compiled and ran in XCode 2 but with a warning on line 36: main.cpp:36: warning: control reaches end of non-void function ? Curious as to what it means and what if anything I should do to get rid of it. The code is to read a year and determine if it is a leap year. #include...
24-Feb-2006 15:52
by WaltP Go to last post
9 3,305
by alcoholic
Is there anything which is linked automatically when an executable for C/C++ is created. I mean something for working of the program??
23-Feb-2006 09:45
by davis Go to last post
3 1,041
by dlare9
hi there! i have a function that retrieve data from a data base. then all of the retrieve data is then converted to a string (character array ) of data. i don't have any control on how many rows of data are retrieve from the data, so the problem is basically there is not enough space (don't know if...
23-Feb-2006 02:46
by aaroncohn Go to last post
2 1,082
by jaininaveen
hi, i don't know how to get directories list by using c code.i am getting only files liat not directories list. i used this function "findfirst, findnext" i am using xp, boarland3.0
21-Feb-2006 22:01
by machinated Go to last post
7 2,144
by Red83
I was looking at a piece of code and trying to figure out how the preprocessor would expand it. I really can't seem to figure it out correctly. Could someone help me out? I just need a little explanation. I know it's not formatted very well, but I wanted to give exactly what I'm seeing. My guess is...
21-Feb-2006 08:59
by Red83 Go to last post
4 1,317
by siddu_roy
Hello guyz, Iam a new to c coding. I wanted to use "fmod" function to find the remainder when double is divided by an other double. The problem is that when Iam using fmod in such a case the remainder is equal to the divisor which should not be the case normally. I could not understand the...
21-Feb-2006 05:56
by alcoholic Go to last post
1 1,321
by dayrinni
EDIT: Err, CLOCK ticks, not click ticks for the subject title. I am trying to get the amount of clock ticks that takes a certain part of my program to run. For example: start = clock(); //code here end = clock();
20-Feb-2006 12:50
by davis Go to last post
1 2,272
by druid
Hello all, I have started using the aboive. i need to take the square root of a large integer. I am new to the library and do find the manual confusing. Apparently my problem is a C issue not a library one I have tried the following: mpz_t sum, sum2;...
20-Feb-2006 09:54
by davekw7x Go to last post
14 5,257
by druid
2 questions the below code is used to factorise large semi primes into its prime factors. When it runs for the number in it, and other larger ones, i getthe error 'abort trap' half way though the execution. Does anyone know what this means? I would like to use a debugger. I have heard gdb is the...
20-Feb-2006 09:36
by davekw7x Go to last post
4 4,012
by Radi0ShacK
Hi, i am writing a c++ socket application, server actually. and i want to accept only connections from the localhost and reject other connections. i ve wrote a piece of code that do this "and it works actually" but is there a better way to do this? if((newfd=accept(sockfd, (struct...
20-Feb-2006 01:01
by Radi0ShacK Go to last post
5 3,500
by venibala
In our application header and trailor to be added to message and sent of fixed length. The header and trailor are to be sent as constant hex values. so that it is interpreted on hex on another end...ex 00E7 - size 2 bytes. Tried formatting by assigning hex values to char array.but it is not...
18-Feb-2006 16:25
by venibala Go to last post
5 3,733
by druid
Hi I am trying to input a file (containing the 1st 100000 primes) to multiply together to create 1000000 squared semi primes. I am inputting as below but i seem to get a bus error on running it. Can anyone see why? int main(void){ FILE *fd = fopen("Users/andrewroberts/semiprime.txt", "w");
18-Feb-2006 13:35
by druid Go to last post
7 1,786
by jaininaveen
I am calling another application from my C program by using application's batch file but i don't know how to controle that application with my c program ex: I am calling windows media player by using wmplayer.exe batch file, after that i don't know how to play songs, everything should done through...
18-Feb-2006 12:40
by WaltP Go to last post
1 1,059
by jaininaveen
hi i don't know how to read data from html file? please help me i am using windows xp and firefox for browse
18-Feb-2006 12:00
by jaininaveen Go to last post
10 2,152
by Heresy
Currently, I am working on a program for a beginning C Programming course. I understand the majority of the content and have debugged as much as I can but am now at a loss. We are assigned a project that is supposed to get a number from -99 to 99 then output its name. I compiled the program without...
17-Feb-2006 18:55
by davekw7x Go to last post
4 1,510
by Coyne
Owkey, I found a lot of sources on the web telling me to include conio.h and then use the function textcolor(color). But Borland always gives following error while trying to run: Undefined symbol _textcolor in module opdracht.c. And when compiling he says : Call to function 'textcolor' with no...
16-Feb-2006 12:14
by WaltP Go to last post
4 3,661
by Red83
Hey guys. I need some help..bad. I have to write a program that creates a file of randomly distributed numbers. I have the functions figured out and some of the main(). Could you guys take a look at it and just try to steer me in the right direction. I'm just confused on how to get a filename from...
15-Feb-2006 23:17
by WaltP Go to last post
8 1,281
by Red83
I have a program that requires a user to input a number. The number determines how many random numbers(done by my program) will be displayed on the screen. The number input by the user will be of type int. Is it legal to use an isalpha() function to test and see if it actually is an int. Eg. if...
15-Feb-2006 23:00
by WaltP Go to last post
5 1,249
by Red83
Hey guys. I have as to write my code on. When I run this code, it doesn't let me enter the file. It just comes up with an error message that says that it can't find the specified file. It's interactive so it's suppose to ask what file to put it in,and also put some random numbers...
15-Feb-2006 21:25
by davis Go to last post
9 1,400
by jaininaveen
the big diffrence between binary mode file opening and normal text mode file opening?
15-Feb-2006 14:15
by davis Go to last post
3 20,756
Post New Thread

Display Options Moderators
Showing threads 2001 to 2020 of 3018 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 04:26.

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