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
Computer Science
Remove
Platform
Windows
Remove
License
Any
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...
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...
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...
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...
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...
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()...
Check out the console functions for the Win32 API.
Documentation on msdn.com.
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...
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....
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...
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
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...
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...
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...
:
: : 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.:)...
: 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...
: 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...
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++?
: : 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...
: : 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...