dev-cpp-users Mailing List for Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(14) |
|
2
(3) |
3
(9) |
4
(11) |
5
(15) |
6
(6) |
7
(6) |
8
(4) |
|
9
(7) |
10
(6) |
11
(11) |
12
(2) |
13
|
14
|
15
(6) |
|
16
(5) |
17
(4) |
18
(2) |
19
(2) |
20
(5) |
21
(7) |
22
(7) |
|
23
(2) |
24
(5) |
25
(2) |
26
(3) |
27
(2) |
28
(8) |
29
(5) |
|
30
(3) |
31
(3) |
|
|
|
|
|
|
From: <mi...@ju...> - 2001-12-30 21:44:03
|
I was wondering if anyone knew of tutorials for writing c programs for pocket viewer handheld computers. I know these toys are more popular in Europe, but I want to start writing programs for them and can't get started. ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/web/. |
|
From: John K. <jki...@po...> - 2001-12-30 16:44:27
|
(Sheepishly) Thanks, Dr. lonestar36 ------------------ Reply Separator -------------------- Originally From: "lonestar36" <lon...@go...> Subject: Re: [Dev-C++] newbie with 'undefined reference to strcopy' only on linking files Date: 12/30/2001 06:56am String copy prototype is: char *strcpy( char *dest, const char *src); You are mis spelling strcopy. lonestar36 ----- Original Message ----- From: "John Kilbourne" <jki...@po...> To: <dev...@li...> Sent: Saturday, December 29, 2001 9:22 PM Subject: [Dev-C++] newbie with 'undefined reference to strcopy' only on linking files |
|
From: John K. <jki...@po...> - 2001-12-30 03:29:34
|
I am using gcc on winNT, working with the CD of C programming
accompanying Bruce Eckels' Thinking in C++.
I have a program with three files. I am not using "make"; I just
compile them directly. All has worked well till now.
I compile my program to an object file ok (gcc -c employ2.c), but
when I try to link it with the file with the main() method, I get
the "undefined reference" error noted above. Here is my dos command
line, showing the successful compilation to the .o file and the error
that results both when trying to use the .o file and when
recompiling everyting from source:
C:\eckels>gcc -c employ2.c
C:\eckels>gcc -olab7 employ2.o lab7.c
employ2.o(.text+0x2a):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0x40):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0x56):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0xfc):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0x123):employ2.c: undefined reference to `strcopy'
employ2.o(.text+0x147):employ2.c: more undefined references to
`strcopy' follow
C:\eckels>gcc -o lab7 employ2.c lab7.c
C:\TEMP\ccCqaaaa.o(.text+0x2a):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0x40):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0x56):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0xfc):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0x123):employ2.c: undefined reference to
`strcopy'
C:\TEMP\ccCqaaaa.o(.text+0x147):employ2.c: more undefined references
to `strcopy' follow
My header includes <string.h>. Here is my code, which is really
eckels' code:
/* employ2.c*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "employ2.h"
struct Employee* createEmployee
(char* last,
char* first,
char* title,
int sal)
{
struct Employee* p =
malloc(sizeof(struct Employee));
if (p != NULL)
{
strcopy(p->last, last);
strcopy(p->first, first);
strcopy(p->title, title);
p->salary = sal;
}
return p;
}
char* getLast(struct Employee* emp)
{
return emp ? emp->last : "";
}
char* getFirst(struct Employee* emp)
{
return emp ? emp->first : "";
}
char* getTitle(struct Employee* emp)
{
return emp ? emp->title : "";
}
int getSalary(struct Employee* emp)
{
return emp->salary;
}
void setLast(struct Employee* emp, char* last)
{
if (emp != NULL)
strcopy(emp->last, last);
}
void setFirst(struct Employee* emp, char* fir)
{
if (emp != NULL)
strcopy(emp->first, fir);
}
void setTitle(struct Employee* emp, char* title)
{
if (emp != NULL)
strcopy(emp->title, title);
}
void setSalary(struct Employee* emp, int sal)
{
if (emp != NULL)
strcopy(emp->salary, sal);
}
void printEmployee(struct Employee* emp)
{
putchar('{');
if (emp != NULL)
printf("%s\n%s\n%s\n%d\n",
emp->last,
emp->first,
emp->title,
emp->salary);
putchar('}');
}
What simple thing am I missing?
|