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,247
 
by kobi_hikri
Hey there and Shabat Shalom to all of you :-) I got some questions and would appreciate any opinion (explained) : 1. Is the result of an explicit cast of integer variable to char variable Identical to assignment of integer variable into char variable ? 2. About handling functions : Is it always...
01-Jul-2005 14:41
by kobi_hikri Go to last post
2 659
Question
by andy_t_roo
In this program that i'm currently writing, a quick performance analysis shows that i'm spending >95% of my time in the following routine - it's a simple routine that compares 2 char arrays (thisGraph and otherGraph) and returns the element that is extra in otherGraph, or -1 if there is more than...
30-Jun-2005 19:12
by andy_t_roo Go to last post
3 1,064
Exclamation
by pavan_ppk
Hi, Is there any C API that gives the domain name of the system user and is compatible with Win2k, 2003, NT. To be more specific, i need to get the "NT AUTHORITY\SYSTEM" which is the domainname\username used by the system for few processes. This domainname\username varies from every language...
30-Jun-2005 08:46
by pavan_ppk Go to last post
0 635
 
by Pr0fess0r
Well recently I've decided to get a head start on then C programming course being taught next year at the school I attend. I've been reading though some tutorials, and in a learning attempt I tried to re-create the MID function from BASIC language. Everything seems to work inside the function,...
29-Jun-2005 00:54
by nkhambal Go to last post
5 479
 
by aliok.tr
Hello.. I'm newbie :oops: Does anybody know the difference between fopen("file.txt","r+") and fopen("file.txt","r +")??? I wasted my 3 hours because of it!!!! :twisted: :twisted:
28-Jun-2005 05:29
by aliok.tr Go to last post
9 899
 
by Extro
So far I have this program: include <stdio.h> int main (){ int open=0, skip; int cnt = 0, skipped=0; printf ("How many mail boxes does he skip?\n");
24-Jun-2005 14:30
by Extro Go to last post
5 681
 
by kobi_hikri
Hey. I want to replace the N'th token found at byte number N with a new token. I wrote the function to find the N'th character and it works just fine. Here is my code : char *nth(FILE *my_file,int n) { long lData_Size = sizeof(char);
24-Jun-2005 03:00
by kobi_hikri Go to last post
2 696
 
by TheDogs
hi guys...im looking for a simple printf statement so that it displays the current system time and date...can anyone help?
22-Jun-2005 08:51
by TheDogs Go to last post
2 743
 
by svhb
Hello, I want to use a console application on linux, but with a more responsive stdin/stdout interface. Like it is now, I can read input (getchar()) and write output (printf("%c",c)), but this only works after a CR. So characters are only read in after I press the 'enter' key of the keyboard....
22-Jun-2005 08:13
by davekw7x Go to last post
10 1,352
 
by Dale
Wuddup, im a newb to C programming but wanna get ahead and learn it before I begin university in october taking computer science and computer game preogramming and design. Im getting a little confused by such things as the difference between "printf()" and "puts()". You guys seem to be gurus at...
13-Jun-2005 08:32
by JdS Go to last post
2 649
Unhappy
by TheLittleOne
Need help badly We were given this project to write a program in Linux C, a n- calendar program wherein the user will input the desired year, month and number of months to be shown. The desired date should be in the very middle of the list of months. example: target year : 2001 target month :...
13-Jun-2005 07:05
by TheLittleOne Go to last post
3 614
Angry
by tjarcoboerkoel
Heay, In builder C i try to copy all content of a array BYTE Data to a Tedit1.text textbox, but what I trie it just won't work :S Can anyone tell me how to copy the content of Data to my textbox??? I would be :banana: Thanx in advance
13-Jun-2005 02:47
by tjarcoboerkoel Go to last post
5 1,903
Question
by MR GOAT
I am new to this forum and have had very little experience with C. In my file, their are two things that I can't figure out: returna = MessageBox(0,LPSTR title,LPSTR boxtitle,box); Dev-C++ says that their is a syntax error in front of "LPSTR" And for the second one:
10-Jun-2005 14:58
by ubergeek Go to last post
3 771
 
by Error
I'm trying to output data using nested for loops to display the content of 2D character arrays as follows void display() { printf("Processing\n"); for(i = 0; i = 20; i++) { for(j=0; j=11; j++) printf("%c", name);
10-Jun-2005 13:38
by maprich Go to last post
6 582
 
by hellhammer
Hello and thanks for reading! I'm having a bit of a problem with writing to a file in a C++ program. Program structure: My "main()" function calls a "Process" function which calls another function "PowerLimit". PowerLimit has 5 member variables and I would like the values of these member...
09-Jun-2005 12:30
by gaoanyu Go to last post
7 994
 
by sure
Tryin to learn c prog on my own at home.... havin a hard time with a few of the review Q's What i need to do: The factorial of a non-negative integer n is written n! (pronounced "n factorial") and is defined as follows: n! = n * (n-1) * (n-2) * ... * 1 (for values of n greater than or equal to...
09-Jun-2005 01:24
by WaltP Go to last post
1 922
 
by Vishy80
Does Anybody Know How I Could Get Current Date (Short Date) In C Programming Language
07-Jun-2005 14:54
by WaltP Go to last post
2 2,652
 
by kobi_hikri
How do I get the current working directory name ? I read about getcwd but I can't use it. The compiler shouts that it can't open <unistd.h> . I'm interested in an ansi-c function that will do the job. Anyone ? Should I write my own function based on argv ? Kobi.
06-Jun-2005 16:07
by kobi_hikri Go to last post
2 5,405
 
by Vishy80
Does anybody know how I could get a string value from a file convert it to integer so I can do calculations and stuff, any help will be greatly appreicated This is the code I got so...
06-Jun-2005 05:14
by aleppos Go to last post
3 804
Unhappy
by amina17
I need to read a matrix..(2D dynamically allocated array ) from file.. display... i'm doing this using fscanf and printing to console... problem arises while trying to store this matrix to array!! could someone please tell me the syntax to directly store elements read from file to array...
03-Jun-2005 13:04
by Dave Sinkula Go to last post
5 1,636
Post New Thread

Recent GIDBlogProblems with the Navy (Chiefs) by crystalattice

Display Options Moderators
Showing threads 2001 to 2020 of 2658 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:33.


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