Almost there:
double CalcBMI(double HEIGHT, double WEIGHT, char MEASURE)
{
double bmi; //you declared bmi as int
if (MEASURE == 'm') //you are comparing a char
bmi =...
Type: Posts; User: afisher
Almost there:
double CalcBMI(double HEIGHT, double WEIGHT, char MEASURE)
{
double bmi; //you declared bmi as int
if (MEASURE == 'm') //you are comparing a char
bmi =...
Does anyone know how to record from the "Stereo Mix" line of the soundcard?
Or know another way of combining WaveIn and WaveOut simultaneously?
Thanks,
Adam
Hi all,
What is the best way to get a list of methods that I can call from winmm.dll?
Is reading the mmsystem.h the only way?
Thanks
I didn't think it was an idea that could be made complex enough for a final year project. But as you have pointed out making it more generic introduces loads of new feaures that can be implemented. ...
Hi All,
It's that time... time to choose my final year university project.
I'd like to implement the project using C#.
I thought of writing some type of meeting recorder for skype, i...
Hi all,
I was just wondering if there was any way that I could obtain the hostname or IP address of the machine that my program will be running on?
I have found examples to get the ip address,...
Wow,
Thanks alot Salem, that'll save alot of time and effort in the future!!
You can pass single dimensional arrays around with pointers like:
#include <iostream>
void passing_single_array(int* array_you_passed);
int main(void)
{
int tmp_array[3];
SQL was the type of thing i was looking for. Was a little unsure of libraries etc I needed to make a connection to the db, but i'll have a read.
If anyone could post a url for a good tutorial that...
Hi all,
Does anyone know of any decent C database tutorials? I've been on google for a bit and come across loads of windows ones, no linux tho :confused: .
Thanks in adv
I was recieving a response from a server via sockets. wanted to dispay the responce, then pause, then clear the terminal to restart the program.
Though now I think about it, clearing the response...
I know windows uses the pause system call to wait for a keypress on stdin i.e. system("pause");.
is there an equivelant system call that I can use in linux??
or will I have to use fgetc();?
I am writing client program, using sockets. The client also has to accept responses.
I connect to the server ok, can send requests ok. The problem is when I try to recv().
The main program...