| |
thread by: surana |
last post Jun 27 '08 by: surana
Find more details about C/C++ such as job oppurtunities, Flowchart
preparation and many more. A one shop website for all your programming
language needs as Java, .Net,
http://www.computenetwork.blogspot.com
http://www.sqlserversoftware.blogspot.com
|
thread by: nembo kid |
last post Jun 27 '08 by: Eligiusz Narutowicz
Which book do you suggest after K&R?
Thanks in advance
|
thread by: Richard Tobin |
last post Jun 27 '08 by: Eric Sosman
7.26.3 Errors <errno.h>
Macros that begin with E and a digit or E and an uppercase letter
may be added to the declarations in the <errno.hheader.
May an implementation define an error macro EOF with a value different
from the EOF in <stdio.h>?
-- Richard
--
:wq
|
thread by: Deniz Dogan |
last post Jun 27 '08 by: vippstar
Hello.
I have a question regarding the st_mode field of the "stat" struct in
sys/stat.h. I'd like to know how to use the S_IRWXU, S_IRWXG and
S_IRWXO flags to mask the mode_t value into human readable form such
as 755, 644, etc. Currently I do something similar to this:
usr_t = (mod & S_IRWXU);
usr_r = (mod & S_IRUSR);
|
thread by: Barry Schwarz |
last post Jun 27 '08 by: Barry Schwarz
On May 9, 6:18*am, mdh <m...@comcast.netwrote:
Unless you initialized the array or assigned some data to its
elements, what you are looking at is residual garbage, what the
standard calls an indeterminate value.
If you want the address of an object, any object, aggregate or scalar,
you use the & operator on that object. &arr, &arr,...
|
thread by: sssulthana1 |
last post Jun 27 '08 by: sssulthana1
hai friends you do this work in house
you will get more salary
Rs- 50,000
see that website
|
thread by: iavian |
last post Jun 27 '08 by: Jack Klein
Hi all ,
I want to set a env variable in a C program? . Not through shell env
variables. Any help?
Thanks
Vijay
|
| |
thread by: Julien Lafaye |
last post Jun 27 '08 by: Willem
Hello,
i callocated a pointer to a user-defined struct. The value of the pointer is
something like 0x0000002aaaaa (can't remember actually, I don't have the
computer running the code with me). Then I perform some stuff on the
allocated structure which must be buggy since after its execution the value
of the pointer is something like...
|
thread by: S. |
last post Jun 27 '08 by: S.
Hi all,
I have the requirement that I must pass-by-reference to my function
addStudent() and getAge() functions where my getAge() function is
within the addStudent() function. I am able to pass-by-reference to
the first function, addStudent() but then I am confused as to how I am
suppose to pass the pointer of 'student' from within the...
|
thread by: chandran.ram28 |
last post Jun 27 '08 by: chandran.ram28
hai friends,
"each dayis a new adventure to dream search and discover"
www.goodhistory5.blogspot.com
|
thread by: Michael.Z |
last post Jun 27 '08 by: Michael.Zhang
Anyone who can help:
Given a Table.h file I am writing a Table.c file.
I keep getting the compile error:
previous declaration of Table was here / conflicting types for
I think the problem was the result of two pieces of code.
First: typedef struct Table; /* in Table.c*/
|
thread by: geese786 |
last post Jun 27 '08 by: Richard Heathfield
my vote for navia.
|
thread by: Nicodemus |
last post Jun 27 '08 by: Nicodemus
Do You Belive?
\
cheapbbc@sina.com wrote in news:aecf26b6-4c75-4d87-b09c-a7380875e0f3
@w34g2000prm.googlegroups.com:
|
thread by: Paul J. Lucas |
last post Jun 27 '08 by: vippstar
Given this:
#define NUM 100
I was to use a CPP macro like:
char *p = MACRO(NUM);
and have MACRO defined such that it would expand to:
|
thread by: V |
last post Jun 27 '08 by: Willem
Hello:
Consider the following nested for loop:
uint64 TABLE;
for (i=0; i<=7; i++)
for (j=1; j<=7; j++)
for (k=1; k<=(1<<j)-1; k++)
TABLE = (TABLE) ^ (TABLE);
|
| |
thread by: jt |
last post Jun 27 '08 by: cr88192
i think i was not clear in my quesiton.
my question actually was how to store a graphics image generated in C.
Eg.
#include<graphics.h>
void main()
{
int gm,gd=DETECT;
initgraph(&gd,&gm,"");
rectangle(50,50,200,300);
|
thread by: swornavidhya.mahadevan |
last post Jun 27 '08 by: Malcolm McLean
Which allocation (Static / Dynamic) is suitable for the situation when
we are trying to allocate for a overloaded memory when the memory is
full and no space to allocate.
What will happen if both the allocation is impossible.
Sworna vidhya
|
thread by: trchandran.ram |
last post Jun 27 '08 by: trchandran.ram
hai dear,
each day is a new adventure to dream search and discover
www.googlehistry5.blogspot.com
|
thread by: deepak |
last post Jun 27 '08 by: Keith Thompson
Hi Experts,
I'm getting this compilation error while trying to access a member in
structure.
at what time we will get this error message?
Thanks,
Deepak
|
thread by: Tameem |
last post Jun 27 '08 by: Morris Dovey
i am a new C programmer. i want to calculate someone's age. my input
would be his birth date. like : Date: 07
Month: 12
Year: 1988
and the program will take the current date from system and calculate
his age,
how can i do that in C. please inform me.
|
thread by: larryl48h |
last post Jun 27 '08 by: larryl48h
What if you could recapture your ex lovers mind, heart and
soul?...Wipe the slate clean? Turn back time? Even if you feel right
now that your situation is too far gone…too screwed up …or just plain
too darn complicated?
You already know how hard it is to just even wake up and roll out of
bed in the morning. You leave your radio off on your...
|
thread by: arnuld |
last post Jun 27 '08 by: Barry Schwarz
I have a function named getword that read every single input from std.
input.
WHAT I WANTED: I want it read the word if it has less than or equal to 30
characters. Anything else beyond that should be discarded and it should
ask the user for new input. Ctrl-D should exit from the program.
WHAT I GOT: It reads anything beyond 30 characters...
|
thread by: Dan |
last post Jun 27 '08 by: Antoninus Twink
What is the correct way to allocate memory that is defined as volatile so
that all standard compilers will not optomise out writes to the memory that
are never read again?
I have some encryption programs that, depending on the
implementation/compiler, part of the code that clears memory at the end of
the program gets optomised away.
|
| |
thread by: pereges |
last post Jun 27 '08 by: Default User
Do you see anything wrong about this method ? For eg. I write a shell
script a.sh containing :
cc -o test file1.c file2.c file3.c
and then execute the shell script ( sh a.sh) to compile and create the
executable. What is the difference between this method and writing a
make file ?
|
thread by: nembo kid |
last post Jun 27 '08 by: nembo kid
I have an issue with a simple function that has to make a linear search
for a key into an array.
If the key is found in the array, the function it has to return 1 to the
caller and pass array index through a out parameter.
The issue is that the out parameter is not being updated.
If I return the position to the caller (instead to use a...
|