| |
Rating
Thread /
Thread Starter
|
Last Post  |
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...
|
|
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...
|
|
2 |
659 |
|
 |
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...
|
|
3 |
1,064 |
|
 |
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...
|
|
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,...
|
|
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:
|
|
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
|
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);
|
|
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?
|
|
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....
|
|
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
|
2 |
649 |
|
 |
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 :...
|
|
3 |
614 |
|
 |
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
|
|
5 |
1,903 |
|
 |
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:
|
|
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);
|
|
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...
|
|
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
|
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
|
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.
|
|
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...
|
|
3 |
804 |
|
 |
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...
|
|
5 |
1,636 |