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: opening a file from the disk and putting it in a structure

Try this: 1. Get the full path to the program EXE file. In Win32 use GetModuleFileName() function. You get back a string with something like this: "C:\Dir1\Dir2\Dir3\Program.EXE" 2. Cut off...
Forum Post

when does delete[] actually free memory?

hi there i've got the following code to test on, you can try it on your computer aswell int a=0; char* array = new char; int b=0; delete[] array; int c=0; ive placed breakpoints on all...
Forum Post

Re: Need guidance

Once you grasp the basics of C++, you should study commonly used algorithms and data types. Linked lists, binary trees, search & sort algorithms etc. This is useful knowledge no matter what branch of...
Forum Post

Windows hooks in C++

What are the limitations of windows hooks in c++? And up to what extent can c++ control OS events if windows hooks are applied? And finally, what are the controls that c++ can use to control those OS...
Forum Post

Re: How to draw in c++

If you just started Windows programming this will not be easy, but here goes: Create your buttons with Owner Drawn style and then respond to WM_DRAWITEM message in your window procedure for the...
Forum Post

Re: Reading data from serial port and real time plot

First of all, Windows is no RTOS and you can never achieve pure real time on that OS. You can however achieve something close enough. Further, the Windows timer (WM_TIMER) used with SetTimer()...
Forum Post

Re: conio.h problems

Check out the console functions for the Win32 API. Documentation on msdn.com.
Forum Post

Re: VC++/Win32 SDK vs C# for windows programing...

It's not weird :D It's called properties. C# has 'em, too. I program a little of this and a little of that. Well, mostly Win32 but I'm at the very editin a C# console program of mine. I take it...
Forum Post

Re: where/how to use graphics.h?

ok I do not know anything about windows programming. but as per AsmGuru62's advice i downloaded "Microsoft - Programming Windows API 5th" by charles petzold, and i need some time for learnig that....
Forum Post

CUnitWin32 Unit testing framework

Hi all, I've implemented a very simple C/C++ unit testing framework for Windows CUnitWin32. Hope it proves useful to you as well. I'm interested in getting some feedback. Thanks. dushara...
Forum Post

Re: How to print out coloured words in DEV C++??

There is no way to do that in standard C++, you will have to use the console functions from the Windows API. http://msdn.microsoft.com/en-us/library/ms682010(VS.85).aspx
Forum Post

Driver Development using GCC

Hi to all, I have been struggling to get the Microsoft DDK without success,since i whish to develop a windows device driver for a PCI device i built. I just wish to ask it someone has even...
Forum Post

Re: Program bombing at runtime why?

there are no errors or warnings from compiler but every time I build I get windows error report message saying homework8.exe needs to close. I tried cout statements none show up just get windows...
Forum Post

Program bombing at runtime why? it still prints header to output file

there are no errors or warnings from compiler but every time I build I get windows error report message saying homework8.exe needs to close. I tried cout statements none show up just get windows...
Forum Post

Re: The following piece of code works alright but it looks ugly.

: : : Many thanks for your response to my query. I was passing the struct : : to main merely to see if my compiler would groan in anguish and send : : me angry messages in protest. It didn't.:)...
Forum Post

Re: VC vs CB vs DevC vs Borland(?) in windows

: I'll click the links in a bit, but does this represent a compiler : and IDE? How's it handle C (not C++) programs? Console apps? : Type-ins are back! Check : out Cymon's Games. First link...
Forum Post

Re: compiling and running source code

: What type of project do I create? Win32 application or Win32 Console : application? Should I create it as an empty project? Is there : anything else I need to do since it's written in C and not...
Forum Post

Re: compiling and running source code

What type of project do I create? Win32 application or Win32 Console application? Should I create it as an empty project? Is there anything else I need to do since it's written in C and not C++?
Forum Post

Re: Calculating tax

: : I have written this program in order to calcuate the product, and : : add tax in total amount, but something is wrong here. I am very new : : in programming -- my 3rd day. What am I doing...
Forum Post

Re: is there a function like getch in windows for linux

: : i m looking to get input on character basis without enter. so is there any function which can help me taking input directly from the keyboard as and whn any key get pressed. : : : : : Its...
1 2 3 4 5 6 7 8 9 10 11 12 13  Next
 

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.