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

Re: the position after the last element of an array

Thank you for your explanation. However, why it said C guarantees ... a pointer to the position after the last elementelements (beyond array limits) is a valid pointer? We can also say that a...
Forum Post

Re: the position after the last element of an array

Well, not exactly. What it means is that you do not have "array bounds checking" in C. That is to say, you can go on accessing the locations even beyond the logical upper limit of your array, and C...
Forum Post

the position after the last element of an array

Hi, Book told us: C guarantees that, given an array, a pointer to any array element, or to the position after the last element, is a valid pointer. Is this means the position after the last...
Forum Post

Re: Best Book/Resources To Learn C++?

I do not understand your question "in which language compilers are written?". Compilers are EXE files - they can be written in any language. There is no connection between language compiler is...
Forum Post

Need to build common select field in SQL using set operators oracle

Hi all, Required to know how to build common select fields in sql's using Set operator (union or intersect or minus or union all) ex: select a, b, c from table1 union select a,b,c,p,q from...
Forum Post

Best Book/Resources To Learn C++?

Hey friends,I am a complete newbie in programming c++,know a bit of c language just the basics not advance thing.I was just googling and came here. Now I want to learn c++ from scratch to advance...
Forum Post

http download on pos device

seeking help while http downloading a large file as binary on pos device it size get vary every download attempt. in c language
Forum Post

Re: Help with Pointers to Array of Struct in C++

As I recall, you can use cout carMake; dunno which is prefered though... it's been way too long since I coded anything on a regular basis.
Forum Post

Re: Help with reading a file in C, please.

This code will not work. 190 is approximate # of lines in file - not characters per line. And lines will not be the same length, so reading constantly by 190 characters will skip some short lines and...
Forum Post

Microcontroller Programming C

Hello all, Using AVR studio 4 and ATmega16 microcontroller I am trying to set up a program that takes in an input from an ADC (potentiometer) and output it to an LED via PWM. I am doing...
Forum Post

Moving files and directories in C++?

The topic says it all. I don't have time to wait for the official ext4 defrag utility so I am going to write one that I can use temporarily. Basically, I want the user to specify a partition or...
Forum Post

Re: Help with reading a file in C, please.

It's simple. Take a buffer say " char buf[] " and use the function, fread(buf,190,1,fp) here in function "fread()" buf -is where the contents of the file will be stored. 190 -number of...
Forum Post
Forum Post

Re: How can I cuont The number of words in a file ?

I forgot TASM... sorry, but here is some pseudo-code: open file nbytes = get file size token = 0 nwords = 0 repeat 'nbytes' times { c = read one character from file if (c is a word...
Forum Post

Re: Help with reading a file in C, please.

Better way would be to use fgets() to read one line of the file and then use strtok() to parse that line using comma separator.
Forum Post

When attempting netbook repair, you should remember

Mini laptop and netbook both are latest technologies for an ordinary educated personality. But the decision which one to buy while going for shopping, creates confusion for a moment. In case matching...
Forum Post

Help with reading a file in C, please.

I have a file with 190 lines, that goes something like this: Antigua,English,Local dialects Bahamas,English,Creole Barbados,English Belize,English,Spanish,Mayan,Carib Canada,English,French...
Forum Post

Help with Pointers to Array of Struct in C++

First let me start out that saying Pointers are probly my least favorite part of programming. I can get pointers to work with single variables and I think I can as well for single structures, when...
Forum Post
 

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.