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
I sincerely do not know... I can guess that separate line of code belongs to code section and initialization on the same line belongs to a data section. I am thinking C/C++ standard has some rules...
: Basically when hello.txt doesn't exist it does what its supposed to,
: however when hello.txt does exist, the program freezes- I mean i
: know its supposed to wait for hello.txt to be created,...
#include
#include
main()
{
int a,b,c;
float x1,x2,D;
printf("Enter the Values of a,b,c:");
scanf("%d%d%d",&a,&b,&c);
D=b*b-4*a*c;
if(D==0)
{
printf("THE EQUATION IS...
switch (grade)
{
case 'A':
acount++;
break;
case 'B':
bcount++;
break;
case 'C':
ccount++;
break;
case 'D':
dcount++;
break;...
Basically when hello.txt doesn't exist it does what its supposed to, however when hello.txt does exist, the program freezes- I mean i know its supposed to wait for hello.txt to be created, but in...
Hi. Good Day.
Is there anybody who can help me with my project in turbo C....
The logic must be like this, THE USER WILL INPUT A QUADRATIC EQUATION AND IT WILL BE DETERMINED IF THE EQUATION IS...
Can u help me about my C++ running program,here is my Proble.
Write a Program that outputs the balance of an account after each succeding year.The input is the initial balance,the interest rate,the...
unsigned sleep(unsigned seconds);
Essays & Dissertations Qualified
South Carolina University
Here I am sharing some of my early experiences in Programming. When we write code for any application, generally we concentrate on Business Logic and different features available to meet the Business...
I'm not sure if this is what you need, but...
% the line goes from (-1, 3, 1) to (0, 0, 0)
a = linspace(-1,0,10);
b = linspace(3,0,10);
c = linspace(1,0,10);
plot3(a, b, c)
I suggest you...
Hi Dude,
Thanks for ur kind reply...
My concern is, the two lines of code may not belongs to any function. In the other hand, it will be treated as global variable and global pointer to that...
1. Try not to do it in separate line:
2. You also do not need a cast if pointer is void*.
int a=10;
void* p = &a;
Separate line of code like this does not belong to any function, on the other...
'int' differs in levels of indirection from 'void *' */
ptr = (void *)&a;
main()
{
//printf("%d \n",*(int *)ptr);
_getch();
}
Could u pls tell me the reason, why am getting an error...
I am running Windows Vista x64 SP2. I have found some code online for a simple password program. I have "copied" and "pasted" the code, with permission of the author, of course, in Dev-C++. I...
Hallo,
I am working on a project to develop a software defined radio.
I am an engineer with very limited programming experience.
My first step is to familiarise with directx, I wanted to write a...
Hello,
I have one question about the scope of char * with c++ object.
For Example :
I have this simple class :
Hello.h~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class Hello
{
public:...
I am a crossed enrolled senior, last semester. At my main school, C++ is the required programming language, but at the crossed enrolled school it is Java. I am now stuck, can someone please help. I...
Hi,
I need help with a project of mine, You must know C inside-out and like Star Trek(proffered, but not needed) because thats what the project revolve around, if you think you can help, drop me a...