ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/18/02:00:25

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Stratis Aftousmis" <lsdguru78 AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <CEpv8.10572$oj5 DOT 381796 AT typhoon DOT austin DOT rr DOT com> <_6sv8.10042$R33 DOT 424752 AT typhoon DOT austin DOT rr DOT com>
Subject: Re: Strange compiler error's
Lines: 100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <T4tv8.10655$R33.434464@typhoon.austin.rr.com>
Date: Thu, 18 Apr 2002 05:46:27 GMT
NNTP-Posting-Host: 24.243.4.160
X-Complaints-To: abuse AT rr DOT com
X-Trace: typhoon.austin.rr.com 1019108787 24.243.4.160 (Thu, 18 Apr 2002 00:46:27 CDT)
NNTP-Posting-Date: Thu, 18 Apr 2002 00:46:27 CDT
Organization: Road Runner - Texas
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Problem not solved, i compiled the program below and got error's one time,
and it compiles fine the next. Iv'e been pulling my hair out thinking i got
really bad at typing even when i would type a program 3 time's in a row to
make sure it was correct. We'll i'm stumped, iv'e been happily using djgpp
for month's now, what happened. Any help would be most appreaciated.
strat




#include <stdio.h>

int main()
{
  int a, b, c;
  a = 5;
  b = 7;
  c = a + b;
  printf("%d + %d = %d\n", a, b, c);
  return 0;
}


At the prompt i type:
c:\djgpp\bin>gcc c:\djgpp\tmp\like.c -o c:\djgpp\wtf\add.exe





--
"I don't have to KNOW people that inspire me, i just have to KNOW that
people that inspire me exsist" Caroline barcher







"Stratis Aftousmis" <lsdguru78 AT hotmail DOT com> wrote in message
news:_6sv8.10042$R33 DOT 424752 AT typhoon DOT austin DOT rr DOT com...
> Nevermind, C IS case sensitive.Problem solved
>
>
> --
> "I don't have to KNOW people that inspire me, i just have to KNOW that
> people that inspire me exsist" Caroline barcher
>
>
>
>
>
>
>
> "Stratis Aftousmis" <lsdguru78 AT hotmail DOT com> wrote in message
> news:CEpv8.10572$oj5 DOT 381796 AT typhoon DOT austin DOT rr DOT com...
> > Hello, i have just started learning a new langauge c. But for some
reason
> i
> > get alot of compile time error's even when there's nothing wrong with
the
> > code, for example this code:
> >
> > #include <stdio.h>
> >
> > int main()
> > {
> >   printf("This is output from my first program!\n");
> >   return 0;
> > }
> >
> > //sometime's it compiles, sometime's not, wonder why.
> >
> > wouldn't compile for a while, then all the sudden it does, i had little
to
> > no problem's with c++, and now that i changed there's problem's although
i
> > can't see how a change in languge would create problem's.
> > I'm confused, help anyone?
> > thank's
> > strat
> >
> >
> > --
> > "I don't have to KNOW people that inspire me, i just have to KNOW that
> > people that inspire me exsist" Caroline barcher
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019