hello people could anyone help me figure out an algorithm. I'm having trouble with it. I'm supposed to count the number of pules. The pulse counter counts the...
I think I am doing something wrong because the return value ends up being garbage after it leaves the scope of the function. I can't figure out what the...
The problem is with the Str[] array. By default, variables that are declared in functions reside on the stack. When the function returns, the contents of the...
Well people i m working on C++ project and i need a interface or introduction page for my program which should be graphically very good . plz help me send me...
hai can anyone telll me that whether we can use the C graphics programe in vc++ . I copied the graphics.h file into the include folder of vc++ but when i run...
dear all, i need c++ project with atleast 10 classes in it. the project may be of database(e.g banking system or student registration system or anything ...
Hi everybody. What is an include guard and how do I implement it? I wanna include an .h file several times and there are sometimes problems with this. I'm new...
Hi, Include guard prevent the header to be included more then once for each compilation unit (source file). This is how you normally write it: /* MyFile.h -...
could you please please help me! have been running this program a few times and couldnt get it working! hav used different libraries bt stil didnt work! ...
could you please please help me! have been running this program a few times and couldnt get it working! hav used different libraries bt stil didnt work! ...
could you please please help me! have been running this program a few times and couldnt get it working! hav used different libraries bt stil didnt work! ...
could you please please help me! have been running this program a few times and couldnt get it working! hav used different libraries bt stil didnt work! ...
... you should prototype the functions that you use here: int getcs ( int * ); void putcs ( int ); so copy () knows about them. also, the type of the...
AOA HRU ALL WELL I AM HIRA IAM NEW HERE BUT THE PROBLEM IS THAT OUE TEACHER HAS GIVEN US A PROBLEM AND HE NEEDS ITS SOLUTION ON MONDAY BUT IAM V MUCH CONFUSED...
Thank u very much andrew for replying bk! it was very helpful:))))) tanx, farzaneh ... you should prototype the functions that you use here: int getcs ( int *...
hi, Actually I m given an assignment to make a partition Tool Using C Language. It must also contain Formating of Hard Disk. It should be made on "16 Bit"...
#include <stdio.h> #include <stdlib.h> #include <string.h> int nb_of_lines(FILE *f) { int lines; char strg[100];//i ensure there is no line >100 ! do { ...
If you don't find an API for the xls file format, I would highly recommend getting a hex-editor. I use XVI32.exe, which seems to be pretty good for me. I don't...
Heres some problems I can see. I've marked them with multiline comments since you don't use them. ( /* */ ) Hope it helps! ~Slayemin ... posted ... please...
Hi, The problem is with the printf in the function nb_of_lines. anyways the code below works as you expect. with few changes #include <stdio.h> #include...
I would also suggest that you use the value returned by the fets() function to detect the end of the file. You don't need to add it now, because you are...
Hi, I have a problem in a program i cannot make this program. the program is Write a function that makes a integer of 4 digits as its parameter and return that...
Thanks!!! Sincerely The JS Fan ... Hi, Include guard prevent the header to be included more then once for each compilation unit (source file). This is how you...
Conider the following loop: //-------------------------- for (j = 0; j < 20000; j++) { result += (j + 19 * 71 + (j + 35 + 28)) / 87; } ...
Michel.P
michelpetrovic@...
Nov 6, 2003 8:55 am
5276
Hi, The 'UL' suffix tells the compiler to treat the constant number as "unsigned long". Note that suffix is not case sensitive, so you can use 'ul' as well. ...
Hello, I am having problems gettng the program to do the average adn to end when -1 is entered. please help me. Here is what i have so far. #include<iostream>...
Hi, The following program achieves what you expect.. /************************Code*****/ #include <stdio.h> #include <math.h> int intrev(int num) { int temp=0;...
Hi, The foll. program achieves what you expect with few changes.. /**************Code*******/ #include<iostream> #include <iomanip> using std::cout; using...