C
In computing, C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.
Application
Any
Platform
Any
License
Any
but i don't have enough time to hire...
i just need the codes.
pls. someone help me....
Good compiler will say: "Code has no effect." on this line.
Hello, the problem is that statement "-b;" does nothing, it is not caught by the compiler because it is a calculation. That means that you will not get an error message for it. You need to make sure...
void main()
{
int b=-1;
-b;
cout
0)
{
destination = source --iSrc;
}
//
// Put terminating zero into destination string
//
destination = 0;
Now, since I did your homework - you have a new one: find out why purple text...
Hey guys am a beginner in C++ and has this as an assignment i really need your help to make my marks.
1. Write a program that will reverse an accepted string and copy it into another string.
2....
: C and C++ both are programming language only with difference that c
: is procedure oriented and C++ is object oriented
I disagree: it is possible to do non-OOP ('procedural') programming in C++...
Do you have a question? Usually people post questions in here.
C and C++ both are programming language only with difference that c is procedure oriented and C++ is object oriented
FILE* f = fopen ("C:\\Temp\\MyTextFile.txt", "rt");
char line ;
if (f)
{
while (fgets (line, sizeof (line), f))
{
if (strchr (line+1, line ))
{
//
// 1st character found on...
If you are using C, you should include and just use the fgetc() and fgets() functions. You can just google them and figure out what they do. In short: fgetc() will return the first unread character...
Hi guys. Im really in need of help here in my take home quiz. I'm so bad in programming I admit it. :( This is about filestreams.
Use the text file given to extract characters. The first character...
Dear Bilderbikkel,
I have encountered precisely the same problem as you, but I don't believe it to be a problem with either GCC or the Boost libraries. In fact, I think I have a solution for you:...
name, "test");
: inputCounter++;
: i--;
: }
: *pv = inputsArray;
: }
:
:
name, "test");
inputCounter++;
i--;
}
}
: :
: #include
: #include
: double pw (double base, int power)
: {
:
: double result=1.;
: int i, nloop = abs (power);
: for (i=0; i= 0) return result;
: return 1...
So this is the code that I entered. I'm still new to programming, so I imagine I have some stuff in here that is needless, but my program builds and runs without problem... except for one thing. The...
#include
#include
pw(double base,int power)
{
double result=1;
int i;
if(powerpower;i--)
{
result*=1/base;
}
}
else//For positive...