473,385 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Linker error :Undefined symbal _ print in module test.c

Hi,
I am beginer to c language.
When i compile a programe, got an error msg:--
Linker error:Undefined symbal _ print in module test.c

and my programe is like this....
main ( )
{
print ( " Hello, World " );
}

Pls help

thx in advance
Nov 8 '06 #1
1 6497
r035198x
13,262 8TB
Hi,
I am beginer to c language.
When i compile a programe, got an error msg:--
Linker error:Undefined symbal _ print in module test.c

and my programe is like this....
main ( )
{
print ( " Hello, World " );
}

Pls help

thx in advance
Read a tutorial before starting to play around with the compiler otherwise time spent on the compiler is wasted. I would suggest you even get Thinking in C++, It's free. The error is because you did not include the header required for output.
Nov 8 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Fuzzyman | last post by:
I've written a CGI proxy that remotely fetches web pages. I use the urlopen function in CLientCookie which replaces (and ultimately uses) the urlopen function in urllib2. What I'd like to do is...
5
by: hpy_awad | last post by:
I wrote that example from a book and there is en error in the display module that it does not showing all the records are entered in the input module. I traced with some printf statments without...
0
by: Peter Ross | last post by:
Using V1.1 of the framework, I try and compile the following as a module. #using <mscorlib.dll> __gc public class Test : public System::Object { }; $ cl /clr:noAssembly /LD test.cpp...
0
by: Ehsan68 | last post by:
Hello my problem is "Linker Error: Undefined symbol _cga_driver_far in module maze.c " then Go to Options =>Linker =>Libraries This will display a box showing Container Class Turbo...
3
by: Vijay Bajwa | last post by:
I declared a static std::map<string, intin one.cpp at the module level. This is only used inside the file and I did it to avoid global namespace pollution The file one.o goes into the library...
1
by: vsen123 | last post by:
Hi, I wanted to use multiple source files for one program.I created a file "key.h" as follows: #ifndef KEY_H #define KEY_H class Inputk { int hkey; char Kuser; protected: int Key;
3
by: prakash.mirji | last post by:
Hello, I am getting below mention linker error when I tried to link my class test.C I use below command to compile test.C /usr/bin/g++ -g -fpic -fvisibility=default -D_POSIX_SOURCE...
1
by: varun sharma | last post by:
I have an error msg when i try to run my program can anybody help me why this error msg come & what mean by "c0.ASM" I have no file like this & can anybody explain how to find "Linker Error" I mean...
3
by: Rahul | last post by:
Hi Everyone, I have the following polymorphic classes, class Shape { public : virtual void draw() { } virtual void sample();
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.