for compilation i used the following, is it wrong?
g++ -Wall -D__LINUX_OSS__ -o filename filename.cpp
User Profile
Collapse
-
we i'm using the g++ compiler, and the problem is that it wasnt able to locate the headers such as iostream and ifstream. Any ideas?Leave a comment:
-
Reading data under Linux
I have written a prog to read data from files but it only works under windows.
Can anyone tell me how to read data under Linux?
I would need somehting similar to the following windows code, but that works under Linux:
#include <iostream>
using std::cerr;
using std::cout;
using std::endl;
#include <fstream>
using std::ifstream;
#include <cstdlib> // for... -
Anyone familiar with MCI or FMOD?
Hello everyone,
Is anyone familiar with MCI or the FMOD function? i would like some tips using it
Regards -
Need help getting started with sound synthesis program
I have to write a c++ program for sound synthesis and rather complicated,i don't really know from where to start:
My program is to be used in robotics. It should read an input from an mp3 file. It should also read data values from 2 other files. Using those values, i modify the input and send it back to an output such as headphones(this is done in order to reconstruct a 3D virtual audio system).
The main issue here is that this... -
reading data values
If i have a string containing a definite count of numbers(float would be good) separated by spaces and of variable number of digits, let's say three such as "12.3 45 627.8" is there an easy way to read those numbers, and storing them into some predefined variables?
I was thinking about writing a program that would read the data until a space is encoutered, store it in a predefined variable and then continue, but it seemed rather... -
can u tell me what arguments are used with those functions, i couldnt find info related to it. And please tell me how to extract data from the filesLeave a comment:
-
it's ok if it does not play mp3, just any format, and no problem if it is for linux, just need some source code.Leave a comment:
-
opening files
Can anyone tell me how to open a file in C++ and read data from this file. For example, the file contains a data table and i would like to use those values in my program for some calculations purposes -
Playing sounds
Hello everyone,
I would like if any of you can give me a source code for a (working) c/C++ program that plays a sound file(either wav or mp3).
Thanks alot
No activity results to display
Show More
Leave a comment: