void carrega_tabela(const char * ficheiro, int deficiente, int dependentes){
int i, j, marcador = 0;
float aux;
float taxa_irs;
float tabela[37][6];
FILE *f;
Type: Posts; User: kovitch
void carrega_tabela(const char * ficheiro, int deficiente, int dependentes){
int i, j, marcador = 0;
float aux;
float taxa_irs;
float tabela[37][6];
FILE *f;
Hi,
I'm programming C in visual studio 2008.
What is the best way to convert/cast from a char* to a float value. atof does not seem to be working. :/
Regards.
Hi,
I have the following 2 structs:
typedef struct _date
{
int day;
int month;
You're right. I could have used the other one, sorry mate.
Hi,
I'm using CreateProcess() to start a new process that is going to record the sound from the sound card, using the following code:
if(CreateProcess("WaveRecorder.exe", // Application...
Accualy that is not the problem, already tried with "w". The application pauses when the _pclose function is called. I have to hit a key to continue the execution of the main application.
Hi,
I am running an application through a pipe. This applcation starts to record sound from the soundcard until I hit Enter.
To start the application I am using the following line:
...
Hi,
I am using Visual Studio 2008 to develop in c++.
The app that I'm developing should use a .exe file to record sound from the sound card, using the function system("WaveRecorder.exe ")....
fedora 6.0, linux basically..
Hi!
I'm making a code that needs to run some functions after a ctrl-c. How can I do that? I can't remember. It's someting to do with signals, right?
Regards
Hi!
I'm trying to print 4 lines with dinamic values without using "\n". Everyting works just fine when I use only one line. And the code is:
while (1){
num1=rand()%100;
num2=rand()%100;...
It seems that you're right. Thanks for the tip ;)
yes, you were right! Now there are no scanfs. It works for the first 4 times, so using:
//Insert Name
add_text("Name",&r,r->name,sizeof(r->name));
//Insert e-mail...
Dear programmers,
I have this problem in getting a user's input. I'll try to explain may problem as good as i can:
- I'm using the struct to store some data:
typedef struct restaurant {...