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.
Forum Post

Re: Pointer typecasting in Global scope..

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...
Forum Post

Re: Problem with multiple fopen() calls

: 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,...
Forum Post

Re: Turbo C Quadratic Equation

#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...
Forum Post

Re: Control Structures switch statement

switch (grade) { case 'A': acount++; break; case 'B': bcount++; break; case 'C': ccount++; break; case 'D': dcount++; break;...
Forum Post

Problem with multiple fopen() calls

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...
Forum Post

Turbo C Quadratic Equation

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...
Forum Post

Re: Question about functions in C

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...
Forum Post

Re: How can I implement our own sleep call in c language?

unsigned sleep(unsigned seconds); Essays & Dissertations Qualified South Carolina University
Forum Post

Data Type in Programming

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...
Forum Post

Re: 3D vector field plotting

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...
Forum Post

Re: Pointer typecasting in Global scope..

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...
Forum Post

Re: Pointer typecasting in Global scope..

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...
Forum Post

Pointer typecasting in Global scope..

'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...
Forum Post

Re: SOurce file not compiled ?

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...
Forum Post

Capturing Mic input from sound card using directsound

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...
Forum Post

char * and object

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:...
Forum Post

Java into C++

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...
Forum Post

Help Needed

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...
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.