473,473 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Bug with the library or program?

Hi evr1,

I have a program which im not sure whether the bug is with the program
or the linux printf library....if some one could help me debug
it..it'll be very helpful for me.

the program is at :
http://freeshell.in/~harish/files/printbuffer/tmbo.h..

the whole tar file is at :
http://freeshell.in/~harish/files/pr...tbuffer.tar.gz
(this includes the Readme file..where i've explained about the
bug..also includes the other files with the make file)

Rgds

Harish
P.S: Hoping that atleast someone will give some pointers...

Jul 14 '06 #1
5 1514

Harish Sundararaj wrote:
Hi evr1,

I have a program which im not sure whether the bug is with the program
or the linux printf library....if some one could help me debug
it..it'll be very helpful for me.

the program is at :
http://freeshell.in/~harish/files/printbuffer/tmbo.h..

the whole tar file is at :
http://freeshell.in/~harish/files/pr...tbuffer.tar.gz
(this includes the Readme file..where i've explained about the
bug..also includes the other files with the make file)

Rgds

Harish
P.S: Hoping that atleast someone will give some pointers...

Hi
im sorry there was a small problem with the readme file i have
corrected it now.
link for readme file:
http://freeshell.in/~harish/files/printbuffer/Readme

Regards
Harish

Jul 14 '06 #2
On 14 Jul 2006 08:35:08 -0700, "Harish Sundararaj"
<s.******@gmail.comwrote:
>
Harish Sundararaj wrote:
>Hi evr1,

I have a program which im not sure whether the bug is with the program
or the linux printf library....if some one could help me debug
it..it'll be very helpful for me.
Your code uses non-standard headers and non-standard functions. You
need to ask in a group where these functions and headers are topical,
probably one of the unix programming groups.
Remove del for email
Jul 14 '06 #3
Harish Sundararaj wrote:
Hi evr1,

I have a program which im not sure whether the bug is with the program
or the linux printf library....if some one could help me debug
it..it'll be very helpful for me.
the whole tar file is at :

A far far better idea is for you to reduce it to a small, complete
program that demonstrates the problem, then post it here. There's a
good chance that the process of minimizing it will reveal the problem.

You also need to tell us what this "bug" is, what you expected the
program to do, and what it did instead.


Brian
Jul 14 '06 #4

Harish Sundararaj wrote:
Harish Sundararaj wrote:
Hi evr1,

I have a program which im not sure whether the bug is with the program
or the linux printf library....if some one could help me debug
it..it'll be very helpful for me.

the program is at :
http://freeshell.in/~harish/files/printbuffer/tmbo.h..

the whole tar file is at :
http://freeshell.in/~harish/files/pr...tbuffer.tar.gz
(this includes the Readme file..where i've explained about the
bug..also includes the other files with the make file)

Rgds

Harish
P.S: Hoping that atleast someone will give some pointers...


Hi
im sorry there was a small problem with the readme file i have
corrected it now.
link for readme file:
http://freeshell.in/~harish/files/printbuffer/Readme

Regards
Harish
It would help if you would mention what you think the bug is but I
would suggest that it is unlikely that the problem is in the library.

Jul 14 '06 #5
well.. thanks a lot guys...im droping this plan debugging this code..i
didnt know that i can use a function called setbuf :)...thanks to the
IRC folks...

Jul 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bartlomiej Borowicz | last post by:
of course a read instrucitio and i did everythink, but i still can't use that library :( --- Setting up Dev-C++ to build Allegro Some people prefer to use the Dev-C++ distribution to make...
7
by: TJ | last post by:
In C# how do you achieve pass-by-reference property declarations in the Type Library? I am writing a COM Class Library that must mimick an existing library for which the only information is the...
10
by: mwt | last post by:
So in a further attempt to learn some Python, I've taken the little Library program (http://groups.google.com/group/comp.lang.python/browse_thread/thread/f6a9ccf1bc136f84) I wrote and added...
10
by: Julian | last post by:
I get the following error when i try to link a fortran library to a c++ code in .NET 2005. LINK : fatal error LNK1104: cannot open file 'libc.lib' the code was working fine when built using...
0
by: Herman Jones | last post by:
I'm getting the following error when I build a Class Library project: Embedding manifest... Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It happens with...
1
by: fallleaf | last post by:
i make library, this library function is create circula-queue in shared memory and attach, queue put, queue get, etc... sample program make, 1 sample program use library, test make queue in...
2
by: martoncho | last post by:
Hi all, I am facing what is for me a really complicated situation. I program C but not this advanced (I mean direct hardware access etc). Here is the background: I am using DJGPP. I am...
20
by: Frank-O | last post by:
Hi , Recently I have been commited to the task of "translating" some complex statistical algorithms from Matlab to C++. The goal is to be three times as fast as matlab ( the latest) . I've...
1
by: rich_sposato | last post by:
I released version 2.0 of C++ Unit Test Library. You can download it from SourceForget.Net at http://sourceforge.net/projects/cppunittest/ .. I wrote this unit test library because other unit...
6
by: Even | last post by:
Hi all, As far as I know, relative address will be assigned by program at link time.Right? Ok, here we go. So if we use a static library, it will give the program an relative address(i mean...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.