Hi Community,
Would you please be so kind and tell what is wrong with this code
snipped :
{
fprintf(stdprn, " 9bB 6dB
3dB 0dB\n");
fprintf(stdprn, " freq dB | |
| | \n");
}
Your help is much appreciated and all comments are welcome.
Kind regards
Al: 3 1587
German English Technical <86*****@googlemail.comwrites:
Hi Community,
Would you please be so kind and tell what is wrong with this code
snipped :
{
fprintf(stdprn, " 9bB 6dB
3dB 0dB\n");
fprintf(stdprn, " freq dB | |
| | \n");
}
Your help is much appreciated and all comments are welcome.
It is not any valid C++.
Perhaps you could try to add a function declaration:
% cat ps.c++ && gcc -c -o ps.o ps.c++ ; echo status = $?
extern "C"{
#include <stdio.h>
}
void printSomething(FILE* stdprn){
fprintf(stdprn, " 9bB 6dB 3dB 0dB\n");
fprintf(stdprn, " freq dB | | | | \n");
}
status = 0
--
__Pascal Bourguignon__
On 1 Sep, 15:01, p...@informatimago.com (Pascal J. Bourguignon) wrote:
German English Technical <8635...@googlemail.comwrites:
Hi Community,
Would you please be so kind and tell what is wrong with this code
snipped :
{
* * fprintf(stdprn, " * * * * * * * * *9bB * * 6dB
3dB * * * * * * * * * * * * 0dB\n");
* * fprintf(stdprn, " freq * *dB * * * *| * * * |
| * * * * * * * * * * * * * | \n");
}
Your help is much appreciated and all comments are welcome.
It is not any valid C++.
Perhaps you could try to add a function declaration:
% cat ps.c++ && gcc -c -o ps.o ps.c++ ; echo status = $?
extern "C"{
#include <stdio.h>
}
void printSomething(FILE* stdprn){
* * fprintf(stdprn, " * * * * * * *9bB * 6dB * 3dB * 0dB\n");
* * fprintf(stdprn, " freq * *dB * *| * * | * * | ** | \n");
}
status = 0
--
__Pascal Bourguignon__
Hi, Good morning:
Thanks for your kind reply and suggested code sample.
What I was trying to do was to fins a workaround without the full
blown Windows 32 API.
Anyhow, thanks so much.
Kind regards
Al:
---
On 2008-09-02 11:40, Technical Services wrote:
On 1 Sep, 15:01, p...@informatimago.com (Pascal J. Bourguignon) wrote:
>German English Technical <8635...@googlemail.comwrites:
Hi Community,
Would you please be so kind and tell what is wrong with this code
snipped :
{
fprintf(stdprn, " 9bB 6dB
3dB 0dB\n");
fprintf(stdprn, " freq dB | |
| | \n");
}
Your help is much appreciated and all comments are welcome.
It is not any valid C++.
Perhaps you could try to add a function declaration:
% cat ps.c++ && gcc -c -o ps.o ps.c++ ; echo status = $?
extern "C"{ #include <stdio.h>
}
void printSomething(FILE* stdprn){ fprintf(stdprn, " 9bB 6dB 3dB 0dB\n"); fprintf(stdprn, " freq dB | | | | \n");
}
status = 0
-- __Pascal Bourguignon__
Hi, Good morning:
Thanks for your kind reply and suggested code sample.
What I was trying to do was to fins a workaround without the full
blown Windows 32 API.
Just to be clear, the above is standard C/C++, and has nothing to do
with the Win32 API.
--
Erik Wikström This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Developwebsites |
last post by:
I have tried out these C++ compilers:
Watcom 11.0c - simply does not work.
now they bundled fortran with c++ but it just
doesnt install on my pc.
digi-mars DOS - good, fast, small.
however, no...
|
by: PCHOME |
last post by:
Hi!
I am looking for a good free IDE C Compiler.
Dose any have experience on using them?
Which is better? Bloodshed C or Miracle C?
Or anyother free IDE C Compiler you like to recomend?
...
|
by: pauldepstein |
last post by:
Just installed dev cpp on Windows XP. When I try to compile programs,
however simple, I always get the message Linker error undefined
reference to cpu_features_init. Could someone please help me...
|
by: Dave -Turner |
last post by:
So I just downloaded Bloodshed devcpp, opened up the Hello example, compiled
it, no problems ..... well, except one - the exe is 474,990 bytes!
What's the secret to compiling small exes?
Thanks
|
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,...
| |
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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...
|
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...
|
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...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |