--- In c-prog@yahoogroups.com, Titi Anggono [EMAIL PROTECTED] wrote:
Hi all,
For example I want to open and write file in iteration
using fopen. Here is that I've tried before.
#define SIZE 10;
...
int i;
FILE *fp;
for(i=0;iSIZE;i++){
if(i==0){
fp=fopen(file1.dat,w);
--- In c-prog@yahoogroups.com, Indika Bandara [EMAIL PROTECTED]
wrote:
hello,
i want to develop a application layer protocol to send
particular data (a file and some other text). how can
i start with this.
Collect all your requirements, and then define an overhead protocol to
fulfil all
--- In c-prog@yahoogroups.com, Indika Bandara [EMAIL PROTECTED]
wrote:
thank you Ram,
well i would like to ask help related to a problem.
suppose i want to handle key stroke events in the terminal
(using the ncurses library). without explicitly polling for
keys with getch() how can i do
--- In c-prog@yahoogroups.com, tailuo2002 [EMAIL PROTECTED] wrote:
Hi,
How to get notice when a new file created in a directory ?
I want to do some works like a Email Daemon. If I checked the
directory periodly, I think the system would be keeping in
high load .
That depends on the
--- In c-prog@yahoogroups.com, rampavanck [EMAIL PROTECTED] wrote:
Hi ,
How can we execute a dos command from the c program.please
provide syntax deepak
hi deepak,
our frnds already told u that use system() function. nice
u must use system() function which is in dos.h header file.
--- In c-prog@yahoogroups.com, kldan_ng [EMAIL PROTECTED] wrote:
I am working on a Memory Footprint Reduction project. I came
across an idea to disable all printf statements so that less
memory is required. In addition, when there is no single
printf statement, the printf library will not be
--- In c-prog@yahoogroups.com, Indika Bandara [EMAIL PROTECTED]
wrote:
thanks nico,
just for curiosity .. can u tell me how are event handled in
Unix.. by signals ?
in some 3rd party libraries i have found things called
callbacks which come into action when an event occurs. for
example in
--- In c-prog@yahoogroups.com, babu_mallipeddi [EMAIL PROTECTED]
wrote:
Is it possible to Implement following Programs.
If possible please explain to me.
1. write a c program to find whether a given input number is
even or odd without using conditional constructs,loops and
ternary
--- In c-prog@yahoogroups.com, popeye137 [EMAIL PROTECTED] wrote:
if i open it with IE the ideal format below is what i see.
but using notepad or any non-XML tool i see only one line.
snip
One easy way to view XML files in a tool not ready for XML is to use
a reasonable editor; notepad is
--- In c-prog@yahoogroups.com, Brett W. McCoy [EMAIL PROTECTED] wrote:
On 12/20/06, 1512 1521 [EMAIL PROTECTED] wrote:
I need to create a for loop for 10ms, how can I calculate 10 ms?
for (i=0,i??,i++) =10ms
...
...
for (i=0,i??,i++)=10ms
You can't. You should use
--- In c-prog@yahoogroups.com, waqas ahmed [EMAIL PROTECTED] wrote:
What is the output of printf(%d)
What will happen if I say delete this?
Why preincrement operator is faster than postincrement?
What will happen if I allocate memory using new and free
it using free or allocate sing calloc
--- In c-prog@yahoogroups.com, yaso21101975 [EMAIL PROTECTED] wrote:
--- In c-prog@yahoogroups.com, Ray Devore rbdevore2007@ wrote:
thank's ray for your interrest
i am using visual c++ on windos platform
the file size is 10k byte and i have to read the wholl size
the type of this file
--- In c-prog@yahoogroups.com, Victor A. Wagner Jr. [EMAIL PROTECTED] wrote:
WHY THE HECK is everyone so interested in accessing a struct
withOUT using the element names? what the hell did you write
the struct for in the 1st place???
snip
Victor,
I'm pretty sure this is still a standard
--- In c-prog@yahoogroups.com, mohansnayaka [EMAIL PROTECTED] wrote:
Hi all,
We are using strcpy to copy strings in our app. This gave us
problems when the destination buffer is not large enough.
As a workaround, we wanted to replace calls to strcpy with
strncpy. That is, replace calls to
--- In c-prog@yahoogroups.com, Tamas Marki [EMAIL PROTECTED] wrote:
On 12/28/06, Nico Heinze [EMAIL PROTECTED] wrote:
--- In c-prog@yahoogroups.com, waqas ahmed cooolwaqas1@ wrote:
What is the output of printf(%d)
What will happen if I say delete this?
Why preincrement operator
--- In c-prog@yahoogroups.com, sharique.khan [EMAIL PROTECTED] wrote:
Hey I'm a new member of this group. And I have a problem
and I was try to find many solution on internet but I
could't find any solution. So I join this group in this
hope that peoples of this group helps me. And then I
--- In c-prog@yahoogroups.com, Paul Herring [EMAIL PROTECTED] wrote:
On 12/28/06, Nico Heinze [EMAIL PROTECTED] wrote:
4) I know that many people don't trust my words here,
but the result of mixing new/delete with malloc/calloc/free
is compiler and runtime specific; sometimes it works
be wrong... who knows.
--- Nico Heinze [EMAIL PROTECTED] wrote:
--- In c-prog@yahoogroups.com, Paul Herring
pauljherring@ wrote:
On 12/28/06, Nico Heinze grollnar@ wrote:
4) I know that many people don't trust my words here,
but the result of mixing new/delete with
malloc
--- In c-prog@yahoogroups.com, shantibhushan sale [EMAIL PROTECTED]
wrote:
I have a shared library with some name like FTPobex
having function
Func1()
{
printf(First function);
}
And i have my local function where i used sahred lib.
$gcc a.c
--- In c-prog@yahoogroups.com, mano M [EMAIL PROTECTED] wrote:
My prgram returns a junk charater in AIX .
But it works fine in Linux.
Program.c
#includestdio.h
#includestdlib.h
int
main(int argc, char *argv[])
{
char c;
int i;
char *url = http://;;
char *msg = Hello
--- In c-prog@yahoogroups.com, mano M [EMAIL PROTECTED] wrote:
Nico,
yes .Worked ..
i chnaged while ( (c=getopt(argc, argv, gm:u:v)) != EOF ) to
while ( (c=getopt(argc, argv, gm:u:v)) != (char)EOF )
But i have 1 more doubt ,
Why it doesn't give any error
--- In c-prog@yahoogroups.com, jahid32s [EMAIL PROTECTED] wrote:
hi i am jahide i am new i linux. I can not run c/c++
program in linux. can any one help me?
What exactly do you try to do? How? What do you mean with your question?
Regards,
Nico
--- In c-prog@yahoogroups.com, Brett W. McCoy [EMAIL PROTECTED] wrote:
On 1/20/07, Bilal Jan [EMAIL PROTECTED] wrote:
i am a student of comp engg and i have to choose one language
JAVA or VC++ in my next term elective cource. i have heard that
VC++ is more verstile and is also in now a
--- In c-prog@yahoogroups.com, chetan verma [EMAIL PROTECTED]
wrote:
snip
where do i give -o2 option
isn't -o option for giving the output file name
-chetan
Chetan,
you're right, the -o option names the output file.
However, the -o2 option does NOT name the output file to be 2 but
sets the
--- In c-prog@yahoogroups.com, [EMAIL PROTECTED] wrote:
Hi guys,
need a little help from you UNIX experts. I should help a
friend of mine to port a little application from Unix to
Windows. This application reads from three terminals the
user input and writes messages. I googled a bit
--- In c-prog@yahoogroups.com, Sudheer Palaparambil [EMAIL PROTECTED]
wrote:
Hi,
I want to print Hindi language characters in draft
mode to the printer. Can we do it in C or C++.
Sudheer,
what OS and what compiler do you work with? The ways to do what you
need greatly differs depending on
--- In c-prog@yahoogroups.com, Victor A. Wagner Jr. [EMAIL PROTECTED] wrote:
At 16:09 2007-02-01, Nico Heinze wrote:
--- In c-prog@yahoogroups.com, fabio_cabella@ wrote:
Hi guys,
need a little help from you UNIX experts. I should help a
friend of mine to port a little
--- In c-prog@yahoogroups.com, Nigel Duckworth [EMAIL PROTECTED] wrote:
Hello, this is my first post here.
I don't believe you can run a C program without main( ) but either
way... please explain why you would need to?
Regards,
Nigel
subbu680 wrote:
hello frenz
can we run a
--- In c-prog@yahoogroups.com, Paul Herring [EMAIL PROTECTED] wrote:
On 2/10/07, Nico Heinze [EMAIL PROTECTED] wrote:
--- In c-prog@yahoogroups.com, Nigel Duckworth ntype@ wrote:
I don't believe you can run a C program without main( ) but
either way... please explain why you would
--- In c-prog@yahoogroups.com, Hermann [EMAIL PROTECTED] wrote:
My Code below won't work,
I would like to split strings delimited by commas and put them into
arrays;
Anyone can fix my code?
Thank you.
#include stdio.h
#include string.h
int main()
{
char *mywords;
unsigned int
--- In c-prog@yahoogroups.com, Thomas Hruska [EMAIL PROTECTED] wrote:
snip
Sigh. That's what I get for making _assumptions_ based on
observations. I did say I was _assuming_ a lot. And thusly
this thread quickly wandered off topic. Not that it was really
on-topic to begin with.
So if I may
Hi all,
currently I'm working on a project which is supposed to run without
any changes to the code base on Windows and on various Unix
derivatives (such as Linux); recompiling the same source code has to
suffice in order to make the code work on all platforms.
In order to achieve this
--- In c-prog@yahoogroups.com, shirish2006cool [EMAIL PROTECTED]
wrote:
hi friends
i am shirish bari
Actually in regard to my project i want that i should write
some data on cd with the help of c program . actually i am
not getting how to start... Can anybody help me?
Why do you want /
--- In c-prog@yahoogroups.com, glogic_1 [EMAIL PROTECTED] wrote:
Hey all
Im having a problem writing to text files. I am able to read
from them no problem but just cant write to it.
struct sScore {
char cName[40];
int score;
}TopTen[SCORES];
fstream OutFile;
--- In c-prog@yahoogroups.com, SMD [EMAIL PROTECTED] wrote:
On Tuesday 13 March 2007 14:23, kose_senol wrote:
Could someone advice me a good book or a good site(wwwcom)
about using C++ codes for SQL, e.g, retrieving information
from databases using C++ CLASSES OR functions ,changing
--- In c-prog@yahoogroups.com, Amin [EMAIL PROTECTED] wrote:
hi
i am amin. i am working as data acquisition engineer. I am given a DOS
based system to operate that uses single board computer(PC104)and
custom made i/o cards.its good for serial testing but now i need to
observe three lines
--- In c-prog@yahoogroups.com, Thomas Hruska [EMAIL PROTECTED] wrote:
Nico Heinze wrote:
--- In c-prog@yahoogroups.com, SMD chat@ wrote:
On Tuesday 13 March 2007 14:23, kose_senol wrote:
Could someone advice me a good book or a good site(wwwcom)
about using C++ codes for SQL, e.g
--- In c-prog@yahoogroups.com, Bruno Herrera [EMAIL PROTECTED] wrote:
Hello!
Istead of system why dont try some of the exec family functions?
http://mkssoftware.com/docs/man3/execl.3.asp
snip
Because the exec() family overloads the text segment of the
currently running process with the
--- In c-prog@yahoogroups.com, puupy_puc [EMAIL PROTECTED] wrote:
i have just started doing c prog from yashvant kanetkar's book
and i'm having problem with these progs
if a 5 digit no is i/p through the keyboard, write a program
to calculate the sum of its digits
also
--- In c-prog@yahoogroups.com, pushkar raj [EMAIL PROTECTED] wrote:
Hi everybody,
I have two text files. One of them contains a sequence of
character terminated by newline. File 1 for eg.
gnlase#5678940
gnlase#3421667
. and
--- In c-prog@yahoogroups.com, Thomas Hruska [EMAIL PROTECTED] wrote:
pushkar raj wrote:
I am dire straits regarding performance issue...But my
project constraints are such that I must solve this
problem only through c language.
Read in the first file in its entirety.
Extract each
--- In c-prog@yahoogroups.com, glogic_1 [EMAIL PROTECTED] wrote:
Hey all
snip
String filename;
string FileCompare = {};
filename=InputBox(FileOpen,
Enter name of file to Open,);
ifstream file;
file.open(AsteroidsSave.txt);
if(!file)
{
Form1-Canvas-TextOutA(20,300,UNABLE TO
--- In c-prog@yahoogroups.com, Thomas Hruska [EMAIL PROTECTED] wrote:
sanofsans wrote:
Hi folks, check this out!
I wrote a C++ program in which a dialog box with an OK button
appears. This part works! When I click on OK, a perl
script is invoked, and the result of that script should
--- In c-prog@yahoogroups.com, harshal54321 [EMAIL PROTECTED] wrote:
hello friends,
I am stuck at some problems,here are these:
1)Write a program in 'c' language to merge the contents of
two binary search trees into one.
Depends on how you stored those binary trees. What code do you have
--- In c-prog@yahoogroups.com, Mickey Mathieson [EMAIL PROTECTED] wrote:
--- Brett W. McCoy [EMAIL PROTECTED] wrote:
On 04 Apr 2007 07:21:53 -0700, Tamas Marki
[EMAIL PROTECTED] wrote:
On 04 Apr 2007 07:07:35 -0700, sanofsans
[EMAIL PROTECTED] wrote:
The command line is
--- In c-prog@yahoogroups.com, k sudha [EMAIL PROTECTED] wrote:
plz solve this qs for me
Write a program in C++ that transforms an extended name
into its initial form, for example
Sudhansh Kumar Sharma to S. K. Sharma.
snip
First:
why should we. Show us what YOU have done so far, then we
snip
size_t x, y;
BString Name(Sudhansh Kumar Sharma);
BlockBString SplitData;
Name.Explode(SplitData, ' ');
y = SplitData.GetSize();
if (y)
{
y--;
for (x = 0; x y; x++)
SplitData[x] = SplitData[x].Left(1) + .;
}
Name = BString::Implode(SplitData, ' ');
printf(%s\n,
--- In c-prog@yahoogroups.com, Rick [EMAIL PROTECTED] wrote:
I have a program I'm trying to write and can't figure out
how to do it the way I want.
snip
Can someone show me the proper way to reference the char arrays
within a function? Do I actually need to de-reference them?
Here is what
--- In c-prog@yahoogroups.com, secretosamani [EMAIL PROTECTED] wrote:
// Program Name: Strings
// Program #: 6
// Preprocessor Directives
#include stdio.h
#include stdlib.h
#include math.h
#include prog06_stuff.h
Bad idea for two reasons:
1) stdio.h and stdlib.h are standard headers;
--- In c-prog@yahoogroups.com, santhosh m [EMAIL PROTECTED] wrote:
hi ..
How can i use 256 colours in Turbo C++ 3.0
I tried to use IBM-8514 GRAPHICS mode ..
but didnt work
Only in VGA 320*200 mode. Nothing else will work with this ancient
compiler. Except if you're willing to write
--- In c-prog@yahoogroups.com, Rick [EMAIL PROTECTED] wrote:
snip
Thanks! That is exactly what I needed to do. (Thanks, also, Nico).
Here is what works:
#include stdio.h
#include stdlib.h
#define COLCNT 32
#define ROWCNT 256
extern void loadcArray(char [][COLCNT], int);
--- In c-prog@yahoogroups.com, Thomas Hruska [EMAIL PROTECTED] wrote:
snip
Someone woke up too early this morning...on the wrong side
of the bed and hit c-prog before their morning coffee. grin
Thomas, do you mean me? Then I have to correct you:
- I did not wake up too early;
- I did not wake
--- In [EMAIL PROTECTED], Babu Keelapudi [EMAIL PROTECTED]
wrote:
snip
when i compile this get an error
sockaddr_in not declared
You have to use struct sockaddr_in, not sockaddr_in alone.
2. I want to use SO_REUSEADDR option and SO_SNDBUF option
i don't know how and where to
--- In c-prog@yahoogroups.com, Thomas Hruska [EMAIL PROTECTED] wrote:
Nico Heinze wrote:
--- In c-prog@yahoogroups.com, Thomas Hruska thruska@ wrote:
snip
Someone woke up too early this morning...on the wrong side
of the bed and hit c-prog before their morning coffee. grin
Thomas
--- In c-prog@yahoogroups.com, Knowledge Seeker
[EMAIL PROTECTED] wrote:
Thomas
you are pretty fast man !!
Do wait for others reply .
I wanted to answer it . hmmm you are one of the more
experienced guy, so correct others reply; rather than
taking an initiative to reply
--- In c-prog@yahoogroups.com, ajinkyakale_86 [EMAIL PROTECTED]
wrote:
Hello all,
I am selected for doing my final year project in a mnc
company...
Thay have asked me if i have any good project proposal.
I have to do my project in SYSTEMS. Can any of you experts
out there help me and
--- In c-prog@yahoogroups.com, Chetan Nanda [EMAIL PROTECTED] wrote:
Doubt clear, sorry for that silly question.
snip
Chetan,
this was NOT a silly question! To me your question showed that you try
to understand what's going on beyond beginner's level knowledge of
C/C++. And this is a good
--- In c-prog@yahoogroups.com, Mickey Mathieson [EMAIL PROTECTED] wrote:
--- Ajinkya Kale [EMAIL PROTECTED] wrote:
hi all,
Project should be of a duration of 6 months(ie it
should be that complicated)
Prefarably in Linux OS...or some more secure and
efficient file system
--- In c-prog@yahoogroups.com, glogic_1 [EMAIL PROTECTED] wrote:
Nevermind figured it out. i do b stuck on something for days
and as soon as i post here for help it comes to me! sorry
for wasting ur time
thanks
gav
--- In c-prog@yahoogroups.com, glogic_1 glogic@ wrote:
hey all
This
--- In c-prog@yahoogroups.com, GLOGIC 20 [EMAIL PROTECTED] wrote:
Hey Nico.. i dont know what u mean by threads ive only
being only fumbling through tutorials on the net the
last couple of months.
snip
What I mean is the following:
In older and easier operating systems every process is a
--- In c-prog@yahoogroups.com, GLOGIC 20 [EMAIL PROTECTED] wrote:
Damn you were too quick for me i had just figured out what
i was doing wrong and was writing the email when i got urs!
thanks
gav
snip
And what was the final solution?
I think the problem was that your reading loop terminated
--- In c-prog@yahoogroups.com, Rajesh sekhawat [EMAIL PROTECTED] wrote:
Hi All
Can anyone write one programme in C language to merge the
contents of two binary search tree into one. you also need
to calculate the time and space complexities of programme ?.
Of course many people on this
--- In c-prog@yahoogroups.com, Kayo Hisatomi [EMAIL PROTECTED] wrote:
Hi Roberto,
The problem is in this line in the main() function:
char *s0 =bye 1 ;
You are not allocating memory for the string, but just for
the pointer. So, try this:
char s0[] =bye 1 ;
And the
--- In c-prog@yahoogroups.com, bags joni [EMAIL PROTECTED] wrote:
I wanted to know whether its possible to imprement a
proprietary management information base (MIB) using C
language and whether there tool currently available to
surpport this using the simple network management protocal
--- In c-prog@yahoogroups.com, Kayo Hisatomi [EMAIL PROTECTED] wrote:
Hi Nico,
As far as I know this is not necessarily correct.
It might well happen that the string bye 1 is
stored in a read-only part of memory during process
initialisation.
I thought on this too, but I could
--- In [EMAIL PROTECTED], suchat_cs2007 [EMAIL PROTECTED] wrote:
help me please, i have to cut string.
Ex1: 1,000413,185019 -
x[0]=1
x[1]=000413
x[2]=185019
Ex2. 1,4123,4123421,73948473,3243847 -
x[0]=1
x[1]=4123
x[2]=4123421
x[3]=73948473
x[4]=3243847
snip
Show us your
--- In [EMAIL PROTECTED], kathir resh [EMAIL PROTECTED] wrote:
The range of int is -32767 to +32768 but for long it
varies. whenever the input to be used is of big in range
(int type) long type is used
snip
Sorry for being so pernickety, but the correct numbers for the usual
widespread 2's
--- In [EMAIL PROTECTED], Knowledge Seeker
[EMAIL PROTECTED] wrote:
this is no SMS please use descriptive english language.
take a string with 1, 413, 185019 and use strtok()
of string.h.
Read MSDN for the same they have a very simple example.
snip
But, as Thomas already has pointed
--- In [EMAIL PROTECTED], Paul Herring [EMAIL PROTECTED] wrote:
On 12 Apr 2007 07:33:29 -0700, Nico Heinze [EMAIL PROTECTED] wrote:
--- In [EMAIL PROTECTED], kathir resh resh_personal@ wrote:
The range of int is -32767 to +32768 but for long it
varies. whenever the input to be used
--- In [EMAIL PROTECTED], Thomas Hruska [EMAIL PROTECTED] wrote:
snip
Besides, I'm kind of partial to C++/Safe C++ now.
I did mention the empty field issue. Figured the info I
gave would be enough to go on. And someone recently
complained about me giving complete solutions. I can't win.
--- In c-prog@yahoogroups.com, malaram kumhar [EMAIL PROTECTED] wrote:
Hexadecimal to Decimal
void Hex2Dec()
{
char hex[N];
int i,j,n[N],l;
long double dec=0;
printf(Enter the hexadecimal number and find it's decimal
equivalent\n);
gets(hex);
l=strlen(hex);
--- In c-prog@yahoogroups.com, Yutaka OKAIE [EMAIL PROTECTED] wrote:
FYI for my practice...
Here's the code that accommodates the comments of Nico's,
the old know-it-all :), and uses array instead of switch.
Is this a complete sample for this problem?
- beginning of code -
--- In c-prog@yahoogroups.com, Robert Ryan [EMAIL PROTECTED] wrote:
I have wondered if it was possible to have a case statement
with more than 4 or 5 items and change it into a for loop.
So, I see that it is possible, although it does take some
understanding
thanks
bob ryan
snip
--- In c-prog@yahoogroups.com, aammrr46 [EMAIL PROTECTED] wrote:
what is wrong with that code
it is not working
it is simple but it ..
it take 10 numbers get max and min value and sum ang average
but
First it takes 3 (in words: THREE) numbers, not 10 (in words: TEN).
#include
--- In c-prog@yahoogroups.com, Faisal Saleem [EMAIL PROTECTED] wrote:
Dear group member ,
kindly help me again in these questions.
Q.1
Write a C/C++ program which contain four user define
functions mul(), readmat1(), readmat2(),and Display()
readmat1 () function read first
--- In c-prog@yahoogroups.com, Shanthi Shetty [EMAIL PROTECTED]
wrote:
Hi All,
In one of my applications while running the makefile
it gives error saying,
*Undefined first referenced*
* symbol in file*
*__RT_CLASS::__vtbl
--- In c-prog@yahoogroups.com, You Can Ask me. [EMAIL PROTECTED] wrote:
hello guys,
i m ketan..i m gonna to learn c programming after 2 days.
so guys plzz giv me information abt C. tis course of
2 months from seed infotech. pune. After that i want to
do software testing course.
Ketan,
the
--- In c-prog@yahoogroups.com, Mohammad Nabil [EMAIL PROTECTED] wrote:
I think that's not undefined behavior
the compiler translates as follows:
the first operation:
the compiler sees 2 ++ prefixes and so it translates
them making x = 11 so the answer is 33
the second operation is exactly
--- In c-prog@yahoogroups.com, Ketan D. Sonar [EMAIL PROTECTED] wrote:
hey thx nico..
i m begineer in programming...
If you're a complete newbie to programming, I strongly suggest against
C and C++; some Java basics _may_ be o.k., but Java is a fairly
complex world in itself.
The best
--- In c-prog@yahoogroups.com, Indika Bandara [EMAIL PROTECTED]
wrote:
yes, but the original question was to how to create a
function pointer which can hold any number of arguments
for example;
typedef void (*foo)(int, ...);
void func1(int, ...);
void func2(int, float);
foo f1 =
--- In c-prog@yahoogroups.com, MoHaMmAd [EMAIL PROTECTED] wrote:
I think that's not undefined behavior the compiler
translates as follows:
...
Unfortunately it IS explicitly undefined
behavior. Reality doesn't care what you believe.
he said I THINK not I BELIEVEso please
--- In c-prog@yahoogroups.com, saurabh jain [EMAIL PROTECTED] wrote:
Hi,
Is there a way I can read what is being dumped
on the terminal by someway attaching the stdout
to my program (only in C++)?
I tried
freopen(dummy_file. w, stdout);
cout test;
fclose(stdout);
cout Back to
--- In c-prog@yahoogroups.com, svijayavargia [EMAIL PROTECTED] wrote:
Can someone pls tell me the program for the Fibonnaci series in C?
Many people can. But why should we? What have YOU done so far? We are
not here to do your homework; you will learn to program only by
programming yourself. If
--- In c-prog@yahoogroups.com, Vivek [EMAIL PROTECTED] wrote:
Setting precision in input/output mode is fine but what
about if I want to set precision for any double or float
say upto n significant digits only? so that even
compiler, during its computations will consider as if
the number had
--- In c-prog@yahoogroups.com, ajinkyakale_86 [EMAIL PROTECTED]
wrote:
Hi all,
I want to make to C programs execute simultaneously
One instruction by one program and next by other.
I basically want to swap continuously bet the programs...
I dont have any knowledge of concurrent
--- In c-prog@yahoogroups.com, Ajinkya Kale [EMAIL PROTECTED] wrote:
Actually I am developing a software for college competition
(Just like Core War ..if you know)
In this competition two participants will have there own
code for the next moves of a game(eg: battleship or Othelo
or may be
--- In c-prog@yahoogroups.com, Pedro von Wald [EMAIL PROTECTED] wrote:
Hello,
I know that other languages would instructions such as
locate(10,22) in order position elements on the screw,
but it seems as if everything in C goes as a flow.
I wrote a table in ascii, and like to be able to
--- In c-prog@yahoogroups.com, suchismit mahapatra [EMAIL PROTECTED] wrote:
Hi,
I am new to this group and this is my first mail to
this group. I work with a leading MNC developing
quality software meeting standards.
Even though generally we all are able to write code
which is pretty much
--- In c-prog@yahoogroups.com, anand abraham [EMAIL PROTECTED] wrote:
hi my name is anand, doing btech in computer science;
as a part of out mini project we took up the task of
visitor information system; a make over from pc -pc
chat; where the visitors will be entering at gate of
an
--- In c-prog@yahoogroups.com, suchismit mahapatra [EMAIL PROTECTED] wrote:
Hi Nico,
It's an honour sir to be talking to you.
As it is for me to talk to you.
Just wanted to say Thank You for the points you made.
You're very welcome, I'm happy for every feedback (in particular when
people
--- In c-prog@yahoogroups.com, sunil_h_v [EMAIL PROTECTED] wrote:
Hello Everybody,
I came across a topic in my books called as decompilers,
i am curious to know more about it.
the book had information such that a decompiler is a piece
of code which converts from the machine level or
--- In c-prog@yahoogroups.com, Victor A. Wagner Jr. [EMAIL PROTECTED] wrote:
At 00:47 2007-05-03, Senthil Kumar wrote:
I think , this may be the suitable way
main()
{
struct name {
int a;
int c;
char b;
float d;
};
struct name
--- In c-prog@yahoogroups.com, noname [EMAIL PROTECTED] wrote:
Hi,
Which of ther following code fragment has the better memory
utilization and how.
char *s2[2]={cse 101, cse 102};
cahr s1[2][20]={cse 101,cse 102};
What do you mean by better
--- In c-prog@yahoogroups.com, SUMAN [EMAIL PROTECTED] wrote:
hi,
what is an incomplete data type in c?
consider the example:
typedef int TYPE[];
TYPE t = {1,2,3};
printf(%d,sizeof(t));
*// acceptable. necessary information about it is known.*
This definition of variable t allocates a
--- In c-prog@yahoogroups.com, Vishal Rakhecha [EMAIL PROTECTED] wrote:
hello this is my first mail to this program
i have a problem in my project
i want to validate date weather given date is valid or not
means i want to check date is in right formate
i am storing date in adate
--- In c-prog@yahoogroups.com, Mahesh Menase [EMAIL PROTECTED] wrote:
Hi All,
Thanks for the suggestion...but the problem is..
I have a large array of size say around 1 lakh elements.
so using a bubble sort is the worst option in it...I want
to use Quicksort standard library function or
--- In c-prog@yahoogroups.com, Vishal Rakhecha [EMAIL PROTECTED] wrote:
sir i have that logic which u tell but i m take it as
a integer .so when i am pressing enter key without
giving any date so it will skip that step program
control goes to next statement..
so could u tell me how to solve
--- In c-prog@yahoogroups.com, sunil_h_v [EMAIL PROTECTED] wrote:
Hi,
I came to know that there is an algorithm called as
double bubble sort, or something like that, the logic
of which is something like the array is sorted from
two directions at once. i.e; from both ends at once.
I was
--- In c-prog@yahoogroups.com, ajinkyakale_86 [EMAIL PROTECTED]
wrote:
snip
How about dividing the arrays and using merge sort?
Ajinkya
Not a bad idea. Mergesort is for sure a good algorithm.
But in the end I don't care whether the standard qsort() uses a
shell sort, a merge sort, a heap
--- In c-prog@yahoogroups.com, Srikanth M R [EMAIL PROTECTED] wrote:
Thanks a lot. It was great to know such things exist
at all.
But, what about the learning curve invovled?
--- Annamalai Gurusami [EMAIL PROTECTED]
wrote:
Will wxWidgets satisfy your needs?
1 - 100 of 206 matches
Mail list logo