472,973 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

where does _snprintf goes in tc 3.0

Expand|Select|Wrap|Line Numbers
  1. int main(int argc, char* argv[])
  2. {
  3. char buf[64] = {};
  4. _snprintf(buf, sizeof(buf) - 1, argv[1]);
  5. return printf("%s\n", buf);
  6. }
when the code is compiled under tc 3.0 the _snprintf gives an undefined declration/memeber error.

i failed to understand for the reasons why as _snprintf is defined uder the lib stdio.h but it seems the lib doesn't have a definition of it.

Do i have to update the lib or............please help me out
Jan 15 '08 #1
2 1804
1,764 Expert 1GB
I don't think tc 3.0 has _snprintf.
Why are you using tc at all?
It's ancient..
Jan 15 '08 #2
671 Expert 512MB
I guess the question is already answered.
Jan 15 '08 #3

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

Similar topics

by: Wenming Hu | last post by:
here is my code, as follows: void TString::FormatV(const char *pszFormat, va_list argList) { va_list argListSave = argList; // make a guess at the maximum length of the resulting string size_t...
by: Jack | last post by:
Hi, I am trying to find rows where a memo field in table1 contains the text in table2. Example: table1.memo contains: row 1: This is a long sentence that goes on and on... row 2: This is...
by: noleander | last post by:
Hi. I've got a C++ program written in Visual C++ 2003. The program is trivial, created with the Program-creation wizard: used the .NET "Form" template. The program has a trivial...
by: Jay | last post by:
Hello everyone, I just got done taking a small course in ASP.NET and I'm completely sold. This is amazing compared to original ASP. My question is about the preferred method of coding the asp...
by: academic | last post by:
Does anyone know where in the registry the following goes? WriteProfileString("windows", "Device", DeviceLine) Or where this comes from? GetProfileString("PrinterPorts", vbNullString, "",...
by: clintonG | last post by:
Documentation tells me how but not when, why or where... <%= Clinton Gallagher http://msdn2.microsoft.com/en-us/library/saxz13w4(VS.80).aspx
by: romayankin | last post by:
I'm making some kind of news-board site on PHP (tthat's why I guess it's the right place to post the question here). Each entry would have a small picture (less then 100kb). Taking into...
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
by: sidd | last post by:
In the following code: int i = 5; ---it goes to .data segment int j; ---it goes to bss segment int main() { int c; int i = 5; ---stack
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.