by: Prune Tracy |
last post by:
Hi, I can't get this seemingly harmless code to compile with Comeau online.
#include <cmath>
typedef float (*float_func)(float);
typedef double (*double_func)(double);
int main() {...
|
by: pauldepstein |
last post by:
I am writing a program which will use the ceiling and floor of square
roots.
If a positive integer is an exact square (and is not overly huge), does
sqrt return an integer-valued real?
Or...
|
by: Aric |
last post by:
Hi,
I'm a bit new to programming in general, really I've just picked it up
as a hobby, and so I've started by reading "Practical C Programming"
by Steve Oualline. Things have been going fine in...
|
by: LeTubs |
last post by:
Hi
I'm having a bit of problem trying to compile
a program..... which uses math.h
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
double sxy, sxx, syyy;
|
by: joshc |
last post by:
I'm writing some C to be used in an embedded environment and the code
needs to be optimized. I have a question about optimizing compilers in
general. I'm using GCC for the workstation and Diab...
|
by: Vol |
last post by:
Hi, group,
When I compile my code, the error message are:
"error C2668: 'fabs' : ambiguous call to overloaded function"
"error C2668: 'sqrt' : ambiguous call to overloaded function"
I already...
|
by: Michael McNeil Forbes |
last post by:
I would like to write a module that provides some mathematical functions
on top of those defined in math, cmath etc. but I would like to make it
work with "any" type that overloads the math...
|
by: peng.xiaoyu |
last post by:
hello everyone,
why this c code can be compiled and linked without -lm?
#include<math.h>
#include<stdio.h>
int main()
{
printf("%f\n",sqrt(2.0));
return 0;
|
by: copx |
last post by:
I am writing a program which uses sqrt() a lot. A historically very slow
function but I read on CPUs with SSE support this is actually fast. Problem:
C's sqrt() (unlike C++ sqrt()) is defined to...
|
by: Blue sky |
last post by:
Hi ,I think the follow program is right in logical But why the
compiler output :"square:declared identifier"
#include<stdio.h>
#include<math.h>
int main()
{
double x1;
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
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: 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: 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,...
|
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...
|