The fact that The windows API is best supported by these two languages kind of forces me to make use of them, and as languages go, they aren't terrible. They may be a little outdated, and I'm having a hard time trying to find good documentation on header files, but they aren't bad languages.
The problem I have with them however, is that I can take the source files from one project, which I know are perfectly valid C code, put them into a project in a different IDE, and they will fail to compile. There's some kind of setting, completely separate from the visible code, which I can't find any documentation for, which means the difference between some valid code compiling or failing to compile.
I really want to program using the Windows API, but the way that compilers and IDEs are set up seems hell bent on preventing me from doing so. What else is needed to compile programs, beyond the .c or .cpp files, the .h files, and the compiler?
Name:
sage2009-08-16 10:04
Win32 API
Name:
Anonymous2009-08-16 10:32
>>1 What else is needed to compile programs, beyond the .c or .cpp files, the .h files, and the compiler?
configure.ac and Makefile.am.
Where can I find documentation on these things an how to use them? I've never seen them mentioned in any of the compilers I use, They never appear in any tutorials or books I've seen on windows programming, and my lecturers never mentioned them when talking about C and C++ programming.
Name:
Anonymous2009-08-16 11:00
Stop relying on IDEs and weird compilers. Use vi and gcc.
The thing is, on MS Windows, every IDE has a different compiler. And I dunno any Windows' compiler which will be standards compliant. That's why your code needs changes every time.
put them into a project in a different IDE, and they will fail to compile.
IF YOU ABIDE THE C(++) STANDARD THIS SHOULDN'T HAPPEN.
IF IT DOES THEN THE IDE IS SHIT.
IF YOU DON'T CARE ABOUT THE STANDARD THEN YOU MAY GO FUCK YOURSELF.
>>16
Sepples is not the standard, it is a standard. Caring about it to the exclusion of all others is retarded. And wanting to use third-party libraries, or OS facilities beyond the primitive file streams it provides, is not a sin.
Name:
Anonymous2009-08-16 13:49
>>17
The standard programming language! Sepples!! SEPPLES IS THE STANDARD!!
>>17
There isn't a single Sepples library out there the use of which requires that you violate the standard.
This sort of bullshit is why people think of Sepples programmers as the nadir of modern programming.
Name:
Anonymous2009-08-16 13:59
You guys keep saying "Sepples" and I have no idea what it is.
Can someone please explain?
I've already tried Google to no avail.
This thread is stupid. You can use any language you want which has a decent FFI with the Win32 API. It uses the __stdcall calling convention on 32bit OSes, and it's not hard to write(or automatically generate) thunks to it if your FFI doesn't support it.
What else is needed to compile programs, beyond the .c or .cpp files, the .h files, and the compiler?
The source and the compiler are the minimum, but you may want a build/make system, optional IDE and/or debugger(s) and others.
Name:
Anonymous2009-08-16 14:57
>>1 I really want to program using the Windows API
Loled.
>>26
You can do it in many other languages besides those. I have trouble thinking of real languages which can't interface with the Win32 API through their FFI.