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,502
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,452
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,608
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,711
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,020
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,047
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,447
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,562
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,227
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,194
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,347
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,078
by nomad311
hey guys could someone give me a quick example using openssl's sha1() function in c...i know the params but i dunno how to do it matter what i do i get an error with these unsigned char* and char* things. in the example please also so the declarations of the variables you...
14-Feb-2006 18:46
by davekw7x Go to last post
5 10,476
by nkhambal
Hi all, I am sure there must be some easy way to do it, but can someone let me know the way to read and interpret the chars or numbers as they are being entered? Like for e.g in case of CLI parser,a parser will ideally take a full command till user hits "enter" or "return" key.But what if i want...
14-Feb-2006 11:41
by dava133 Go to last post
18 7,772
by Red83
Hey guys. I have a program that I have written that is supposed to access a member of a struct and count up the grades of 5 students and print out the average of them all. I have a .h file and a .c file. I can get everything to compile good, but it keeps telling me the average is 0.000000. In my...
14-Feb-2006 01:00
by WaltP Go to last post
5 2,035
by Red83
Hey everyone...just a quick question. I'm given the expression: strlen(S+strlen(S)) Isn't there something wrong with this? I'm just not sure and need some advice. I'm just not sure what its value is. Thanks in advance for any help
13-Feb-2006 08:25
by davekw7x Go to last post
6 1,396
by aleminio
hi, i have started learning C today. there is somethnig which is irritating me. i have this little code: (don't laugh 8) ) #include <stdio.h> int main() { char men = "come and buy";
13-Feb-2006 07:50
by WaltP Go to last post
26 3,904
by donaldk
warning C4244: '=' : conversion from 'double' to 'float', possible loss of data e:\ap power\project4.cpp(261) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data e:\ap power\project4.cpp(270) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of...
13-Feb-2006 00:16
by Guidelines Plz Go to last post
5 9,590
by xspacex
Hi, whats up everybody? im new to programming, and new to using ; i got stuck with this project and i am not sure how to get it done. what i need to do is create a program using that can read both a temperature sensor and a "real time" clock. i will need to transmit this data to an LCD as well as...
12-Feb-2006 07:22
by rwehrli Go to last post
3 1,219
by Jelle
Hi, Is there a clrscr() function for 1 character like if I say i want the character X removed from my screen but all the other characters need to stay where they are. Thanx!!
11-Feb-2006 09:58
by WaltP Go to last post
6 1,684
by nami
how do i use a loop to get the sum of the digits in an integer in c++?? this is the code i have so far, but it's not working. while (n > 0) { sum += n % 10; n /= 10; }
10-Feb-2006 19:22
by cable_guy_67 Go to last post
13 2,889
Post New Thread

Display Options Moderators
Showing threads 2001 to 2020 of 3009 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 06:08.

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