#include <stdio.h> // Diamond braces for sys lib: Standard I/O #include "uart.h" // Quotes for user lib: UART lib
// Subroutines section // MAIN: Mandatory subroutine for a C Program to be executable int main(void) { float side; // room wall meters float area; // size squared meters UART_Init(); // call subroutine to initialize the uart side = 3.0; area = side*side; printf("\nArea of the room with side of %f m is %f sqr m\n",side,area); }
I am getting runtime error R6002 floating point support not loaded.
What should i do??
Sounds like a Microsoft error, where exactly are you seeing this, and what's the context? How does it relate to the source code?
Also please READ the posting instructions when putting source code into a message.